Ask Your Question

Revision history [back]

dnf-automatic / enable install, disable restart

Hi everyone!

I am trying to figure out how to properly configure automatic updates on Fedora 29 so that updates will be downloaded and installed, but the machine not getting restarted.

Within Cockpit, I only have the option between automatic updates being disabled or enabled "... and restart the machine automatically." The configuration file for dnf-automatic also provides either "download only" or "install as well", which seems to again cause a restart.

To be honest, I could not figure out wheter it is dnf-automatic restarting the machine or the installation of some package (for instance the kernel) which is causing the restart, but this is a major issue, as the server is full disk encrypted an cannot restart without user intervention (as the passphrase has to be entered).

Any idea on how to download and apply updates but _not_ restart the machine (I am aware that this will not activate updates the required a reboot)?