Bug 2124793
| Summary: | automatic reboot in dnf-automatic in RHEL 9 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Anand <niramali> |
| Component: | dnf | Assignee: | Evan Goode <egoode> |
| Status: | CLOSED ERRATA | QA Contact: | swm-qe |
| Severity: | unspecified | Docs Contact: | Mariya Pershina <mpershin> |
| Priority: | medium | ||
| Version: | 9.0 | CC: | chhuang, egoode, james.antill, jcastran, jwright, klaas, mbanas, mpershin, nsella, peacepenguin, web |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | dnf-4.14.0-6.el9 | Doc Type: | Enhancement |
| Doc Text: |
.New DNF Automatic `reboot` option for an automatic reboot after an upgrade
With this enhancement, you can use the DNF Automatic `reboot` option to set your system to automatically reboot to apply the changes after an upgrade.
The `reboot` option supports the following settings:
* `never` does not reboot the system. This is the current behavior.
* `when-changed` triggers a reboot after any upgrade.
* `when-needed` triggers a reboot only when rebooting is required to apply changes, for example, when systemd or the kernel is upgraded.
You can use the `reboot_command` option to customize the command used to reboot. The default reboot command is `shutdown -r`.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-11-07 08:54:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Anand
2022-09-07 06:38:08 UTC
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? Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (dnf bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:6645 |