Joost Roeleveld wrote:
>> 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

I tried needrestart but didn't like it.  I might add, checkrestart would
show things needing to be restarted that needrestart missed, and I know
those packages was upgraded.  I don't like scripts that do things like
restart services myself.  I like to do that manually just in case I
might have something running that I do not want to be restarted. 

As far as I know, checkrestart is maintained.  It just depends on what
you want a tool to do and which is best for you.  For me, needrestart
does way to much and checkrestart does just what I need by default.  My
use case may be different from yours tho.  It does seem that others are
using it to tho, based on other replies. 

Just use the tool that works best for you.  Just thought I would mention
that it is a option and where to get it since it was in a overlay. 

Hope you get things like you want tho, whatever tool you end up using. 

Dale

:-)  :-) 

Reply via email to