Restart RL version 10 without rebooting & interrupting a task

Dear Linux Rockers,

I did an upgrade (dnf upgrade ) and rebooted but newer smaller updates still requires me to reboot RL. Is there a way to reboot without restarting the system (which will initiate some software changes) please? I have some tasks thus i would rather not stop for a few hours.

Apologise i couldn’t find a similar post.

Tried: systemctl soft-reboot

Cheers :folded_hands::+1::oncoming_fist:

The basics are:

  • Program and libraries are loaded to RAM when process starts
  • Update of package is a “remove old version, install new version” and such replacement of files does not affect what is already running (in RAM)
  • Update of some service (package) may include “restart service” to remove old and load new to RAM
  • Some “core libraries and services” are loaded so early and used by so many other processes that reloading them is easiest with a reboot

Red Hat writes about that in Identify packages that will require a system reboot after an update - Red Hat Customer Portal

1 Like

I have a short script that lists all of the open but deleted files and filters out the junk. Run (with root privileges) it shows what processes need to be restarted. I might need to use systemctl to restart affected services, or perhaps I just need to log out (from my non-root ID) and log back in again.

lsof | grep -i ’ del’ | grep -Ev ’ /SYSV[[:xdigit:]]{8}$|/gvfs-metadata| /drm mm| /dev/| /tmp/| /memfd:| /usr/share/icons/| /run| /home| /root/bin/delfiles’

Parsing of that grep command is left as an exercise for the reader. Some adjustment might be needed on your system. Try it without that filter and see the mess that needs to be ignored.

1 Like

Cheers will test that…:oncoming_fist: