4 ms·
Reboots aren't that uncommon once you hit stuff like updating the kernel, kernel modules, systemd itself and etc. I never got that notion that Linux doesn't req
by shmerl 11y ago
Reboots aren't that uncommon once you hit stuff like updating the kernel, kernel modules, systemd itself and etc. I never got that notion that Linux doesn't require rebooting with updates. It's not always necessary, but with certain updates it always happens. May be in the future there will be a way to do it all dynamically without rebooting, but it didn't happen yet.
- gizmo686 11y agoLinux supports replacing the kernel without a reboot (see kexec), but I doubt we will ever see a time where the benefits of doing so outweigh the complexity and risk of error in the general case.
- vezzy-fnord 11y agoIt can certainly be done properly, even on relatively static systems like Unix. See Cristiano Giuffrida's Ph.D. thesis on "Safe and Automatic Live Update" [1], or, if you don't want to skim through 197 pages, the significantly shorter master's thesis "Safe and Automatic Live Update for Unix Applications" [2] by Calin Iorgulescu. The research has been supervised by AST and since incorporated into MINIX 3. [1] http://www.minix3.org/theses/Cristiano_Giuffrida_PhD_thesis.pdf http://www.minix3.org/theses/Cristiano_Giuffrida_PhD_thesis.... [2] http://www.minix3.org/theses/Calin_Iorgulescu_Master_Thesis.pdf http://www.minix3.org/theses/Calin_Iorgulescu_Master_Thesis....
- heinrich5991 11y agoAs I understand it, it still has to bring down the whole system (I mean all processes) in order to do that – isn't that functionally equivalent to a reboot?
- icebraining 11y agokexec does, but Ksplice and kpatch don't, they just pause the processes momentarily.
- deleted 11y ago[deleted]
- tremon 11y agoDebian has always managed to restart individual services, not systems (even a glibc update would only restart certain services). Before systemd and dbus, Debian systems only needed a restart when updating the kernel. Systemd seems to handle updates fine. My only complaint is that it spams 1000+ lines to syslog when updating because every little change seems to cause it to (very verbosely) reinitialize its dependency tree.
- deleted 11y ago[deleted]