Symptoms
When running Security Advisor, you are prompted that the server needs to be rebooted due to the system's core libraries or services having been updated.
Description
When a core system or library file is updated, Linux often needs to reboot to utilize the new library or module installed. Rebooting allows these updated services or modules to be used.
Workaround
To verify why the server needs to be restarted run one of the following:
needs-restarting
whmapi1 system_needs_reboot
If it's due to a kernel, add -r.
needs-restarting -r ; echo $?
If it's service related:
needs-restarting -s ; echo $?
If you are running KernelCare and receive a warning, check the kernel currently running:
kcare-uname -r
And verify if the installed kernel has a patch available from KernelCare:
rpm -qa |grep kernel
kernel-3.10.0-1127.13.1.el7.x86_64
kernel-3.10.0-1127.10.1.el7.x86_64