What Kernel Updates are pending?
When there is a big gold button saying that a server must be rebooted to apply kernel updates, is the a way to find out what those updates are before rebooting?
-
It is probably a kernel update. Kernel updates are not active until the server is restarted. If you use Kernelcare, there is no need to reboot. 0 -
Thanks, @vacancy. I know it is a kernel update. This VPS does not use Kernelcare. I'm trying to find out if there is a command I can run to determine what kernel updates are pending. This is what I got back from the command line and it tells me nothing. Using username "root". root@vps2 [~]# /usr/local/cpanel/bin/needs-restarting-cpanel 1 : /usr/lib/systemd/systemd --switched-root --system --deserialize 21 root@vps2 [~]#0 -
So for kernel specific updates, this occurs when your system has downloaded and installed a new kernel package, there aren't any "updates" that are done to the kernel itself without a new package being installed, so running that command isn't going to get you anything useful. The warning you get is for the system to boot into the kernel, in order to do this you need to reboot. If you're wanting to understand what kernel update you're installing when you reboot you can look at the kernel packages on the system. rpm -qa |grep kernel0
Please sign in to leave a comment.
Comments
3 comments