ML
    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups

    Odd Reboot Command in DNF-Automatic Discovered

    IT Discussion
    fedora fedora 32 dnf dnf-automatic
    4
    7
    547
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmiller
      scottalanmiller last edited by

      We found this line added to the systemd file of a dnf-automatic today (F32.)

      [Service]
      ExecStartPost=/bin/sh -ec "if systemctl status --no-pager --lines=100 dnf-automatic-install.service| grep -q ===========$$; then shutdown -r +5 rebooting after applying package updates; fi"
      

      This doesn't appear normal and was rebooting the system every day with prejudice. We've removed it, obviously, but we don't recognize it and wondering if anyone knows what the source of this might be. It doesn't feel malicious, just misguided. But we have no idea where it came from.

      JaredBusch 1 Reply Last reply Reply Quote 0
      • Obsolesce
        Obsolesce last edited by

        If it's open source, can't you review the code to find it?

        DustinB3403 scottalanmiller 2 Replies Last reply Reply Quote -1
        • DustinB3403
          DustinB3403 @Obsolesce last edited by

          @Obsolesce said in Odd Reboot Command in DNF-Automatic Discovered:

          If it's open source, can't you review the code to find it?

          The question is more "does anyone know where this dnf-automatic change might have come from?"

          Of course he can look at the code,doesn't mean it'll be easy to track down.

          1 Reply Last reply Reply Quote -1
          • JaredBusch
            JaredBusch @scottalanmiller last edited by

            @scottalanmiller What file specifically?I've not had any system experience unplanned reboots.

            1 Reply Last reply Reply Quote 0
            • JaredBusch
              JaredBusch last edited by JaredBusch

              @scottalanmiller said in Odd Reboot Command in DNF-Automatic Discovered:

              ExecStartPost

              The file dates are the same across multiple systems. June 2 and March 31, and that text is not found
              56927808-3dff-4d45-ac41-ff9f45e2698d-image.png

              scottalanmiller 1 Reply Last reply Reply Quote 0
              • scottalanmiller
                scottalanmiller @Obsolesce last edited by

                @Obsolesce said in Odd Reboot Command in DNF-Automatic Discovered:

                If it's open source, can't you review the code to find it?

                We did. We found it. How can you tell where it came from from that? I posted it, so obviously found it. 😉

                1 Reply Last reply Reply Quote 0
                • scottalanmiller
                  scottalanmiller @JaredBusch last edited by

                  @JaredBusch said in Odd Reboot Command in DNF-Automatic Discovered:

                  @scottalanmiller said in Odd Reboot Command in DNF-Automatic Discovered:

                  ExecStartPost

                  The file dates are the same across multiple systems. June 2 and March 31, and that text is not found
                  56927808-3dff-4d45-ac41-ff9f45e2698d-image.png

                  Yeah. We have never seen it before.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post