marjwyatt

Well-Known Member
Jun 23, 2014
51
6
58
cPanel Access Level
Reseller Owner
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?
 

marjwyatt

Well-Known Member
Jun 23, 2014
51
6
58
cPanel Access Level
Reseller Owner
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.


Code:
Using username "root".
[email protected] [~]# /usr/local/cpanel/bin/needs-restarting-cpanel
1 : /usr/lib/systemd/systemd --switched-root --system --deserialize 21
[email protected] [~]#
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,274
1,292
313
Houston
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.

Code:
rpm -qa |grep kernel