CPanel doesn't update the kernel?

quanin

Well-Known Member
Aug 18, 2011
127
7
68
cPanel Access Level
Root Administrator
I have it set to install system packages automatically during nightly maintenance. I always figured the kernel was considered a system package, and yet CPanel doesn't update that with everything else. Is that by design? And, if yes, is there a way I can work around that? There's no exclude for it in yum.conf, and it'll let me update the kernel manually, which is the only reason I'm asking.
 

quietFinn

Well-Known Member
Feb 4, 2006
1,850
433
438
Finland
cPanel Access Level
Root Administrator
It's also possible you already have newer kernel(s) in /boot. In that case you need to reboot the server to start using the new(est) kernel.
 

quanin

Well-Known Member
Aug 18, 2011
127
7
68
cPanel Access Level
Root Administrator
I don't have newer kernel(s) in /boot aside from the one I'm already using. That's why I asked. I just figured, you know, when you tell CPanel to update your software, it would include updating the kernel. Apparently not. Or am I missing something?
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
Updating the OS kernel is a high-risk activity. We intentionally exclude the kernel from automatic updates due to this.
 

PenguinInternet

Well-Known Member
PartnerNOC
Jun 20, 2007
194
26
78
Cardiff, UK
cPanel Access Level
DataCenter Provider
Twitter
I quite agree - that's most definitely one thing you want to be updating manually, especially as you also have to reboot the server to make the kernel take effect and I'm sure you don't want to be doing that unattended

If you want automatic kernel updates though, KSplice is a great solution which will patch the kernel in memory and provide on the fly automatic kernel updates without needing to reboot.
 

NixTree

Well-Known Member
Aug 19, 2010
413
5
143
Gods Own Country
cPanel Access Level
Root Administrator
Twitter