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

    Using dnf-automatic to keep Fedora up to date

    IT Discussion
    fedora dnf updates dnf-automatic fedora 26 systemd systemd timers
    10
    36
    5.8k
    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.
    • JaredBuschJ
      JaredBusch @Dashrender
      last edited by

      @Dashrender said in Using dnf-automatic to keep Fedora up to date:

      Now I'm ready for your impending /FFS

      :face_with_stuck-out_tongue:

      @Dashrender said in Using dnf-automatic to keep Fedora up to date:

      In this day and age - I more expect things to autoupdate themselves for consumers... of course Fedora... so it is really a consumer thing?

      I just said there was something installed by default on Desktop. Not this, but something.

      @Dashrender said in Using dnf-automatic to keep Fedora up to date:

      Is there a difference between client and server? I think we've had that conversation before.. though I don't recall the exact output.

      There is no difference. It is all in the initial install choices you make. The desktop ISO has a different installer I believe. But that doesn't change the underpinning.

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

        @Dashrender now to address auto updates for server.

        That also comes down to how you install.

        I always, 100% of the time, start from the NetInstall ISO and choose the Minimal option during install.

        That means there isn't jack shit setup by default.

        I honestly have no idea what any of the other options install.

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

          @JaredBusch said in Using dnf-automatic to keep Fedora up to date:

          @Dashrender now to address auto updates for server.

          That also comes down to how you install.

          I always, 100% of the time, start from the NetInstall ISO and choose the Minimal option during install.

          That means there isn't jack shit setup by default.

          I honestly have no idea what any of the other options install.

          I wouldn't expect you to auto install updates on Server...

          and my expectation is only for workstations.. and since Linux OSes don't really truly have a difference, then I guess a default type setting on it is not likely... of course, as you said - it could be one of the options you mentioned..

          JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch @Dashrender
            last edited by JaredBusch

            @Dashrender said in Using dnf-automatic to keep Fedora up to date:

            @JaredBusch said in Using dnf-automatic to keep Fedora up to date:

            @Dashrender now to address auto updates for server.

            That also comes down to how you install.

            I always, 100% of the time, start from the NetInstall ISO and choose the Minimal option during install.

            That means there isn't jack shit setup by default.

            I honestly have no idea what any of the other options install.

            I wouldn't expect you to auto install updates on Server...

            and my expectation is only for workstations.. and since Linux OSes don't really truly have a difference, then I guess a default type setting on it is not likely... of course, as you said - it could be one of the options you mentioned..

            FFS The Cinnamon desktop install DOES.. I said this many times...

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

              @JaredBusch said in Using dnf-automatic to keep Fedora up to date:

              @Dashrender said in Using dnf-automatic to keep Fedora up to date:

              @JaredBusch said in Using dnf-automatic to keep Fedora up to date:

              @Dashrender now to address auto updates for server.

              That also comes down to how you install.

              I always, 100% of the time, start from the NetInstall ISO and choose the Minimal option during install.

              That means there isn't jack shit setup by default.

              I honestly have no idea what any of the other options install.

              I wouldn't expect you to auto install updates on Server...

              and my expectation is only for workstations.. and since Linux OSes don't really truly have a difference, then I guess a default type setting on it is not likely... of course, as you said - it could be one of the options you mentioned..

              FFS The Cinnamon desktop install DOES.. I said this many times...

              I think you mentioned it gives you a GUI, nothing about it automatically setups up auto updates.

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

                @Dashrender said in Using dnf-automatic to keep Fedora up to date:

                @JaredBusch said in Using dnf-automatic to keep Fedora up to date:

                @Dashrender now to address auto updates for server.

                That also comes down to how you install.

                I always, 100% of the time, start from the NetInstall ISO and choose the Minimal option during install.

                That means there isn't jack shit setup by default.

                I honestly have no idea what any of the other options install.

                I wouldn't expect you to auto install updates on Server...

                What? Why not? I sure would. You'd need a pretty good reason to avoid updates at their most critical spot.

                DustinB3403D JaredBuschJ 2 Replies Last reply Reply Quote 2
                • DustinB3403D
                  DustinB3403 @scottalanmiller
                  last edited by

                  @scottalanmiller said in Using dnf-automatic to keep Fedora up to date:

                  @Dashrender said in Using dnf-automatic to keep Fedora up to date:

                  @JaredBusch said in Using dnf-automatic to keep Fedora up to date:

                  @Dashrender now to address auto updates for server.

                  That also comes down to how you install.

                  I always, 100% of the time, start from the NetInstall ISO and choose the Minimal option during install.

                  That means there isn't jack shit setup by default.

                  I honestly have no idea what any of the other options install.

                  I wouldn't expect you to auto install updates on Server...

                  What? Why not? I sure would. You'd need a pretty good reason to avoid updates at their most critical spot.

                  because we use Windows isn't a good reason?

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

                    @scottalanmiller said in Using dnf-automatic to keep Fedora up to date:

                    @Dashrender said in Using dnf-automatic to keep Fedora up to date:

                    @JaredBusch said in Using dnf-automatic to keep Fedora up to date:

                    @Dashrender now to address auto updates for server.

                    That also comes down to how you install.

                    I always, 100% of the time, start from the NetInstall ISO and choose the Minimal option during install.

                    That means there isn't jack shit setup by default.

                    I honestly have no idea what any of the other options install.

                    I wouldn't expect you to auto install updates on Server...

                    What? Why not? I sure would. You'd need a pretty good reason to avoid updates at their most critical spot.

                    Exactly. All my systems have dnf-automatic or yum-crom. All of them.

                    1 Reply Last reply Reply Quote 2
                    • wrx7mW
                      wrx7m
                      last edited by

                      @JaredBusch said in Using dnf-automatic to keep Fedora up to date:

                      /etc/dnf/automatic.conf

                      Does this use a built-in smtp server to send emails? What if I want to have it log into an office 365 account to send messages?

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

                        @wrx7m said in Using dnf-automatic to keep Fedora up to date:

                        @JaredBusch said in Using dnf-automatic to keep Fedora up to date:

                        /etc/dnf/automatic.conf

                        Does this use a built-in smtp server to send emails? What if I want to have it log into an office 365 account to send messages?

                        That's what the SMTP Server (aka an MTA) would be for. The SMTP server is literally the thing that logs into O365 or Gmail or whatever.

                        wrx7mW 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          So, for example, if you are using Postfix, you would configure Postfix to log into O365 when sending emails.

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

                            @scottalanmiller said in Using dnf-automatic to keep Fedora up to date:

                            @wrx7m said in Using dnf-automatic to keep Fedora up to date:

                            @JaredBusch said in Using dnf-automatic to keep Fedora up to date:

                            /etc/dnf/automatic.conf

                            Does this use a built-in smtp server to send emails? What if I want to have it log into an office 365 account to send messages?

                            That's what the SMTP Server (aka an MTA) would be for. The SMTP server is literally the thing that logs into O365 or Gmail or whatever.

                            I understand that, I wanted to know if there was another config file somewhere for dnf-automatic to specify this information.

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

                              @wrx7m said in Using dnf-automatic to keep Fedora up to date:

                              @scottalanmiller said in Using dnf-automatic to keep Fedora up to date:

                              @wrx7m said in Using dnf-automatic to keep Fedora up to date:

                              @JaredBusch said in Using dnf-automatic to keep Fedora up to date:

                              /etc/dnf/automatic.conf

                              Does this use a built-in smtp server to send emails? What if I want to have it log into an office 365 account to send messages?

                              That's what the SMTP Server (aka an MTA) would be for. The SMTP server is literally the thing that logs into O365 or Gmail or whatever.

                              I understand that, I wanted to know if there was another config file somewhere for dnf-automatic to specify this information.

                              I don't believe so, I think that the SMTP config is the only place.

                              wrx7mW 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller
                                last edited by

                                I just did a search on this topic, and ML was the top hit 😉

                                https://mangolassi.it/topic/15902/how-does-dnf-automatic-send-emails

                                1 Reply Last reply Reply Quote 1
                                • wrx7mW
                                  wrx7m @scottalanmiller
                                  last edited by

                                  @scottalanmiller said in Using dnf-automatic to keep Fedora up to date:

                                  @wrx7m said in Using dnf-automatic to keep Fedora up to date:

                                  @scottalanmiller said in Using dnf-automatic to keep Fedora up to date:

                                  @wrx7m said in Using dnf-automatic to keep Fedora up to date:

                                  @JaredBusch said in Using dnf-automatic to keep Fedora up to date:

                                  /etc/dnf/automatic.conf

                                  Does this use a built-in smtp server to send emails? What if I want to have it log into an office 365 account to send messages?

                                  That's what the SMTP Server (aka an MTA) would be for. The SMTP server is literally the thing that logs into O365 or Gmail or whatever.

                                  I understand that, I wanted to know if there was another config file somewhere for dnf-automatic to specify this information.

                                  I don't believe so, I think that the SMTP config is the only place.

                                  OK. So, since I most likely need to install a mail server to accomplish this, is postfix the best one for this?

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

                                    @wrx7m said in Using dnf-automatic to keep Fedora up to date:

                                    @scottalanmiller said in Using dnf-automatic to keep Fedora up to date:

                                    @wrx7m said in Using dnf-automatic to keep Fedora up to date:

                                    @scottalanmiller said in Using dnf-automatic to keep Fedora up to date:

                                    @wrx7m said in Using dnf-automatic to keep Fedora up to date:

                                    @JaredBusch said in Using dnf-automatic to keep Fedora up to date:

                                    /etc/dnf/automatic.conf

                                    Does this use a built-in smtp server to send emails? What if I want to have it log into an office 365 account to send messages?

                                    That's what the SMTP Server (aka an MTA) would be for. The SMTP server is literally the thing that logs into O365 or Gmail or whatever.

                                    I understand that, I wanted to know if there was another config file somewhere for dnf-automatic to specify this information.

                                    I don't believe so, I think that the SMTP config is the only place.

                                    OK. So, since I most likely need to install a mail server to accomplish this, is postfix the best one for this?

                                    Yes, definitely. It's well known, easy to configure, and the default on most all systems (and definitely all that use DNF.)

                                    wrx7mW 1 Reply Last reply Reply Quote 1
                                    • wrx7mW
                                      wrx7m @scottalanmiller
                                      last edited by

                                      @scottalanmiller said in Using dnf-automatic to keep Fedora up to date:

                                      @wrx7m said in Using dnf-automatic to keep Fedora up to date:

                                      @scottalanmiller said in Using dnf-automatic to keep Fedora up to date:

                                      @wrx7m said in Using dnf-automatic to keep Fedora up to date:

                                      @scottalanmiller said in Using dnf-automatic to keep Fedora up to date:

                                      @wrx7m said in Using dnf-automatic to keep Fedora up to date:

                                      @JaredBusch said in Using dnf-automatic to keep Fedora up to date:

                                      /etc/dnf/automatic.conf

                                      Does this use a built-in smtp server to send emails? What if I want to have it log into an office 365 account to send messages?

                                      That's what the SMTP Server (aka an MTA) would be for. The SMTP server is literally the thing that logs into O365 or Gmail or whatever.

                                      I understand that, I wanted to know if there was another config file somewhere for dnf-automatic to specify this information.

                                      I don't believe so, I think that the SMTP config is the only place.

                                      OK. So, since I most likely need to install a mail server to accomplish this, is postfix the best one for this?

                                      Yes, definitely. It's well known, easy to configure, and the default on most all systems (and definitely all that use DNF.)

                                      Down the rabbit hole I go. Needed a squid proxy server. Then needed fail2ban, then dnf-automatic, now postfix.

                                      IRJI 1 Reply Last reply Reply Quote 0
                                      • IRJI
                                        IRJ @wrx7m
                                        last edited by

                                        @wrx7m said in Using dnf-automatic to keep Fedora up to date:

                                        @scottalanmiller said in Using dnf-automatic to keep Fedora up to date:

                                        @wrx7m said in Using dnf-automatic to keep Fedora up to date:

                                        @scottalanmiller said in Using dnf-automatic to keep Fedora up to date:

                                        @wrx7m said in Using dnf-automatic to keep Fedora up to date:

                                        @scottalanmiller said in Using dnf-automatic to keep Fedora up to date:

                                        @wrx7m said in Using dnf-automatic to keep Fedora up to date:

                                        @JaredBusch said in Using dnf-automatic to keep Fedora up to date:

                                        /etc/dnf/automatic.conf

                                        Does this use a built-in smtp server to send emails? What if I want to have it log into an office 365 account to send messages?

                                        That's what the SMTP Server (aka an MTA) would be for. The SMTP server is literally the thing that logs into O365 or Gmail or whatever.

                                        I understand that, I wanted to know if there was another config file somewhere for dnf-automatic to specify this information.

                                        I don't believe so, I think that the SMTP config is the only place.

                                        OK. So, since I most likely need to install a mail server to accomplish this, is postfix the best one for this?

                                        Yes, definitely. It's well known, easy to configure, and the default on most all systems (and definitely all that use DNF.)

                                        Down the rabbit hole I go. Needed a squid proxy server. Then needed fail2ban, then dnf-automatic, now postfix.

                                        https://4.bp.blogspot.com/-XkI6DeF0RNg/UOpXi9jup7I/AAAAAAAAAYM/tc-3EuFD0PE/s1600/thug-life-meme-glasses.jpeg

                                        1 Reply Last reply Reply Quote 1
                                        • wrx7mW
                                          wrx7m
                                          last edited by

                                          To set the dnf-automatic timer to run every day at 1AM:

                                          nano /usr/lib/systemd/system/dnf-automatic.timer
                                          
                                          [Unit]
                                          Description=dnf-automatic timer
                                          # See comment in dnf-makecache.service
                                          ConditionPathExists=!/run/ostree-booted
                                          Wants=network-online.target
                                          
                                          [Timer]
                                          OnCalendar=*-*-* 01:00:00
                                          
                                          [Install]
                                          WantedBy=multi-user.target
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • FATeknollogeeF
                                            FATeknollogee
                                            last edited by

                                            There really need to be a setting for this in the Workstation GUI.

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