RebootManager is a dbus service to execute a controlled reboot after updates in a defined maintenance window.
If you updated a system with e.g. transactional updates or a kernel update was applied, you can tell rebootmgrd with rebootmgrctl, that the machine should be reboot at the next possible time. This can either be immediately or during a defined maintenance window or.
rebootmgr supports different strategies, when a reboot should be done:
instantly
- reboot immediately when the signal arrives.maint-window
- reboot only during a specified maintenance window. If no window is specified, reboot immediately.best-effort
- this is the default. If a maintenance window is specified, usemaint-window
. If no maintenance window is specified, reboot immediately (instantly
).off
- rebootmgr continues to run, but ignores all signals to reboot. Setting the strategy tooff
does not clear the maintenance window. If rebootmgr is enabled again, it will continue to use the old specified maintenance window.
File /etc/rebootmgr.conf
[rebootmgr]
window-start=3:30
window-duration=1h30m
strategy=best-effort
$ sudo rebootmgrctl status
Status: Reboot not requested