Enabling soft-reboot in MicroOS
Hi, systemd v254 introduced a new reboot method: systemctl soft-reboot. A soft-reboot is similar to a regular reboot, except it affects user-space only. This command does: * Shutdown of all running services and other units * Switch to a new root file-system * Re-exec systemd * Start all systemd services again The advantage of this method is a pretty fast reboot: * No hardware, firmware and bootloader * No kernel * No initrd For MicroOS this means: in most cases the reboot time after using transactional-update will see a huge speed up and the downtime will be reduced significantly depending on your hardware. While the functionality is already there, it's currently still disabled in transactional-update. But we will change this in the next days. There is a blog, which contains more details, especially how to enable it already now or disable it later, configure and adjust this for your system: https://microos.opensuse.org/blog/2024-06-13-soft-reboot/ While it works on our production machines for some time, we cannot test all possible workloads. So if you see issues, please report them in Bugzilla. If you have trouble with soft-reboot, a hard reboot will fix them. If the hard reboot does not help, it's not an issue with soft-reboot and the reason is somewhere else. Regards, Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect, Future Technologies SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nuernberg, Germany Managing Director: Ivo Totev, Andrew McDonald, Werner Knoblich (HRB 36809, AG Nürnberg)
participants (1)
-
Thorsten Kukuk