Joost Roeleveld wrote:
Hi all,

After upgrading my system, I always run "needrestart".
This works, mostly, fine. But sometimes I don't pay enough attention
and accidentally allow a critical service to be restarted, causing the
server to become unstable.

One of this is "multipathd", which is required for the filesystems.
Another is "xenstored" (which has obvious issues with all the VMs
running)

I am unable to find any config files, but am hoping I can add services
like this to some exclude-list somewhere.
Can someone point me in the right direction?

Many thanks,

---
Joost

I don't know if this will help or not. I use checkrestart to find
services or programs that need to be restarted after updates.  This is
the needed info if you want to try it.  It's in a overlay.

I used to use checkrestart until it was removed from the gentoo-tree (due to lack of maintenance/updates)
I then switched to needrestart and actually prefer this.
It actually checks the processes instead of what was updated.

Which means the part you showed doesn't actually trigger restart requirements as reinstalling the same version won't mark processes as running outdated versions.

It also shows me if there is a new kernel or microcode (CPU)

needrestart doesn't restart by default either. It asks, setting the default to Y or N depending on if a service can cause run-time issues. My problem is, the "possible issues" list doesn't seem to be configurable. Or if it is, I can't find it.

--
Joost


Reply via email to