Description of problem: Customer is asking for an enhanced feature in RHEL 9 / RHEL 8 with following options, 1) reboot on any changes occurred 2) reboot when dnf needs-restarting suggests to reboot 3) do not reboot (current behavior) Version-Release number of selected component (if applicable): dnf
Sale force case # 03303685 Customer has requested for enhanced feature currently dnf-automatic does not support an automatic reboot after applying upgrades. Please implement this. There is a BZ for this already that is against fedora https://bugzilla.redhat.com/show_bug.cgi?id=1491190 please open one against rhel 8/9 and make a note of customer interest in this. options I would like to have: 1) reboot on any changes 2) reboot when dnf needs-restarting suggests to reboot 3) do not reboot (current behaviour)
I've started work on this feature here: https://github.com/rpm-software-management/dnf/pull/1879.
https://github.com/rpm-software-management/dnf/pull/1879 has been merged! See the docs for the `reboot` and `reboot_command` options in https://github.com/rpm-software-management/dnf/blob/master/doc/automatic.rst.
Looks like the needed feature has been merged to the repo, and docs too. Can we update this bug with an expected target version of arrival in RHEL, maybe/hopefully 9.2?
tests: https://github.com/rpm-software-management/ci-dnf-stack/pull/1210