We have a large number of cPanel servers that we control and we try our best to keep all of the servers configurations the same between all of these systems, including yum configuration.
We have /etc/yum.conf chattr'd +ai to avoid any applications modifying this file; we also have the kernel package excluded from this file as we install our own custom kernels via RPM directly, not through yum.
However, cPanel 11.36 upgrade fails because it cannot write to /etc/yum.conf. I remove the immutable bits on this file, cPanel upgrade is allowed to proceed. During this, the kernel exclusion is removed and as a result, during a yum update run, the latest kernel from the CentOS repos are installed.
Why is upcp doing this? There should be no reason that I am aware of why this would be needed. This will cause us to add an extra step of re-installing the proper kernels on these systems.
We have /etc/yum.conf chattr'd +ai to avoid any applications modifying this file; we also have the kernel package excluded from this file as we install our own custom kernels via RPM directly, not through yum.
However, cPanel 11.36 upgrade fails because it cannot write to /etc/yum.conf. I remove the immutable bits on this file, cPanel upgrade is allowed to proceed. During this, the kernel exclusion is removed and as a result, during a yum update run, the latest kernel from the CentOS repos are installed.
Why is upcp doing this? There should be no reason that I am aware of why this would be needed. This will cause us to add an extra step of re-installing the proper kernels on these systems.