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

    Odd Reboot Command in DNF-Automatic Discovered

    IT Discussion
    fedora fedora 32 dnf dnf-automatic
    4
    8
    1.4k
    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.
    • scottalanmillerS
      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.

      JaredBuschJ 1 Reply Last reply Reply Quote 0
      • ObsolesceO
        Obsolesce
        last edited by

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

        DustinB3403D scottalanmillerS 2 Replies Last reply Reply Quote -1
        • DustinB3403D
          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 0
          • JaredBuschJ
            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
            • JaredBuschJ
              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

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                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
                • scottalanmillerS
                  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
                  • JaredBuschJ
                    JaredBusch
                    last edited by JaredBusch

                    I was setting up dnf-automatic on a new system today and recalled this post. I changed the reboot option and it made the systemd file as noted, which is what you report. So are you sure someone did not change your config from never to when-changed?

                    b4aef492-0dfb-4496-a1b4-23aaafa0299f-image.png

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