On 03.07.22 02:14, David C. Rankin wrote:
On 7/2/22 01:41, Bob Williams wrote:
:~> sudo systemctl daemon-reload
Is all that is required to reload the daemon as in restarting it. zypper ps isn't the brightest bulb in the room. Many systemd implementation automatically hook "systemctl daemon-reload" on systemd upgrade (I haven't looked at the openSUSE .spec file for it, but I would be surprised if it didn't)
After I run the daemon-reload, if zypper ps is still unhappy, I ignore it. It's not windows, no need to reboot except for kernel updates. (or unexplained Plasma or Gnome issues....)
Well, daemon-reload does only reconfigure systemd (for example it activates new/changed service files IIUC). If you have updated libraries that are in use by systemd, you need to restart it, which is what "daemon-reexec" does. And even if there is no strict need to do this, I personally like to do that to get rid of the disk space pinned by the deleted-but-still-in-use libraries. AND strange things *can* happen if you don't but they are pretty obscure usually so not much to worry for the "normal" user. -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman