A common misconception on linux systems is that reboots aren't needed after an update. However, over time it has become apparent that they indeed, are needed. This message as a result should be removed or changed, and should recommend a reboot anytime a .so is changed or removed.
|
zypper.out().info( _("No core libraries or services have been updated since the last system boot.") ); |
A more in depth discussion is https://fedoramagazine.org/offline-updates-and-fedora-35/ - effectively the issue comes down to the fact that when an application is running if you swap out the .so underneath it, it can cause that application to crash or misbehave. No library is too small to be exempt from this, as it's difficult for most people to find "what is using X.so as a running process right now, and what would I need to restart to adapt to that?".
So the messaging that a reboot isn't needed is misleading - in fact a reboot is the easiest way to ensure that all the libraries are correctly reloaded on your system.
Thus, why the messaging here in zypper should be adjusted to recommend a reboot when any library changes.
A common misconception on linux systems is that reboots aren't needed after an update. However, over time it has become apparent that they indeed, are needed. This message as a result should be removed or changed, and should recommend a reboot anytime a .so is changed or removed.
zypper/src/commands/needs-rebooting.cc
Line 44 in b2f63e7
A more in depth discussion is https://fedoramagazine.org/offline-updates-and-fedora-35/ - effectively the issue comes down to the fact that when an application is running if you swap out the .so underneath it, it can cause that application to crash or misbehave. No library is too small to be exempt from this, as it's difficult for most people to find "what is using X.so as a running process right now, and what would I need to restart to adapt to that?".
So the messaging that a reboot isn't needed is misleading - in fact a reboot is the easiest way to ensure that all the libraries are correctly reloaded on your system.
Thus, why the messaging here in zypper should be adjusted to recommend a reboot when any library changes.