SOLVED hardened kernel installed? not reported by server after reboot.

tss

Member
Aug 22, 2011
16
4
53
After following the procedure outlined here:
How to Harden Your cPanel System's Kernel - cPanel Knowledge Base - cPanel Documentation
I don't think that the server is utilizing kernel-2.6.32-642.11.199.cpanel6.x86_64.
Here's why.

# uname -r
2.6.32-642.11.1.el6.x86_64

I tried this after using yum for the original update and rebooting twice.

# rpm -ivh kernel-2.6.32-642.11.199.cpanel6.x86_64.rpm
Preparing... ########################################### [100%]
package kernel-2.6.32-642.11.199.cpanel6.x86_64 is already installed

Hmmm. More info:
# cat /etc/redhat-release
CentOS release 6.8 (Final)
# rpm -qa|grep kernel
dracut-kernel-004-409.el6_8.2.noarch
kernel-2.6.32-642.11.1.el6.x86_64
kernel-headers-2.6.32-642.11.199.cpanel6.x86_64
kernel-2.6.32-642.11.199.cpanel6.x86_64
kernel-2.6.32-642.3.1.el6.x86_64
kernel-2.6.32-642.6.2.el6.x86_64
libreport-plugin-kerneloops-2.0.9-32.el6.centos.x86_64
kernel-2.6.32-642.6.1.el6.x86_64
kernel-firmware-2.6.32-642.11.199.cpanel6.x86_64
abrt-addon-kerneloops-2.0.8-40.el6.centos.x86_64
# cat /var/cpanel/envtype
hyper-v

Do I (somehow) need to replace kernel-2.6.32-642.11.1.el6.x86_64 with 2.6.32-642.11.199.cpanel6.x86_64.rpm? Is there a way to do that without using yum or rpm?
 

tss

Member
Aug 22, 2011
16
4
53
Did you miss this?

  • The cPanel-provided kernel update will not work for OpenVZ®, Virtuozzo®, LXC, or other container-based systems.
"​
No, I sent a large part of the description, including this text, to the data center techs who told me that I could go ahead and install it and it wouldn't be a problem. I guess they were right - it's not a problem, it just doesn't get used.
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

There's no mechanism that will prevent your system from downloading the cPKernel YUM repo file, but as mentioned, it isn't supported for OpenVZ®, Virtuozzo®, LXC, or other container-based systems.

Let us know if we can help answer any additional questions.

Thanks!