dnf-plugins-core icon indicating copy to clipboard operation
dnf-plugins-core copied to clipboard

`dnf offline-upgrade --poweroff reboot` causes a post-upgrade reboot instead of the intended shutdown

Open mattipulkkinen opened this issue 1 year ago • 1 comments

I originally asked about this on the Fedora forums, where Chris Williams explains the cause of the problem in one of his posts in that thread. The short version is that after the upgrade has finished, systemd kills dnf-system-upgrade.service with SIGTERM, which is interpreted as a failure because it is a oneshot type service. This failure then triggers a reboot instead of the expected shutdown.

I'm on Fedora 39 and dnf-plugins-core version 4.5.0.

mattipulkkinen avatar Mar 09 '24 19:03 mattipulkkinen

Hi, thanks for the report and for the link to the discussion. It seems the same problem as reported in https://bugzilla.redhat.com/show_bug.cgi?id=2211844.

jan-kolarik avatar Mar 11 '24 11:03 jan-kolarik