You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To further enhance the yum check, report back the number of process that have a dependency on an updated package, so it is more visible why the reboot is required. Make it an optional check as it could be quite lengthy and make it cover all the various flavours of centos/rhel.
This should be achievable using "needs-restarting" but will vary on it's use between OS flavour.
The text was updated successfully, but these errors were encountered:
needs-restarting is not installed by default on many systems. This would need to be a check to see if the command exists first, then run if available.
Running the command on several our our RHEL servers did result in a very long wait time, so this may not be faesible anyway, as it would either timeout or take too long to report back. Without any switches the "needs-restarting" command will search through all smaps for file descriptors - which could potentially take hours. https://serverfault.com/questions/1044448/needs-restarting-hangs-on-rhel7
using --reboothint might work ok to get a faster response but only a higher level overview to add to the reported service output
To further enhance the yum check, report back the number of process that have a dependency on an updated package, so it is more visible why the reboot is required. Make it an optional check as it could be quite lengthy and make it cover all the various flavours of centos/rhel.
This should be achievable using "needs-restarting" but will vary on it's use between OS flavour.
The text was updated successfully, but these errors were encountered: