CentOS LTS Kernels recommendations

General support questions
Post Reply
faramirza
Posts: 10
Joined: 2019/03/19 12:13:28

CentOS LTS Kernels recommendations

Post by faramirza » 2020/05/22 07:25:55

I was wondering if there is a roadmap for the Centos 7 kernels and how the features of the the Centos 7 kernel compares to the feature set of the equivalent kernel from kernel.org. I'm specifically thinking of the Base OS kernels (3.10.0) and the kernels from CentOS LTS Kernel (5.4.28). Would there be features missing in the 3.10.0 kernel or would some of the improvements made in 5.4.28 eventually be patched into 3.10.0?

Would these kernels ever receive patches not found in the original versions from kernel.org that is not Bug fixes, Security fixes or Errata? I'm thinking how Centos/RHEL supports packages by patching a newer release, fixes into older supported Centos packages like php and apache. Does this apply to the Centos built kernel too? For instance, would Wireguard ever be patched into Centos 7 kernels. That would add a new feature or would kernels ever only receive Security patches for the 3.10.0 kernel and new features are never added to the kernel.

As the newer CentOS LTS Kernel is 5.4.28, won't it be recommend to migrate all Centos 7 production servers to use the more recent LTS kernel?
Last edited by faramirza on 2020/05/22 09:39:08, edited 1 time in total.

User avatar
TrevorH
Forum Moderator
Posts: 28560
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS LTS Kernels recommendations

Post by TrevorH » 2020/05/22 08:14:17

The CentSO 7 kernel is and always will be 3.10.0. There is no LTS 5.4.28 kernel from CentOS.

And yes, there are features in the 5.4.x series of kernels that are not in the 3.10.0 CentOS ones. There may also be features in the 3.10.0 distro kernel that haven't made it into the mainline kernel. The same story applies to bugs though all security related fixes ought to be backported by Red Hat. And since the kernel is a rebuild of the RHEL one, CentOS doesn't get to decide what goes into them, Red Hat do that for RHEL.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

faramirza
Posts: 10
Joined: 2019/03/19 12:13:28

Re: CentOS LTS Kernels recommendations

Post by faramirza » 2020/05/22 10:18:07

Hi,

I saw the new repo and enabled it on a test server. You can get the Centos 7 LTS kernel from here if the new repo was not added for you:

[centos-kernel]
name=CentOS LTS Kernels for $basearch
mirrorlist=http://mirrorlist.centos.org/?release=$ ... fra=$infra
#baseurl=http://mirror.centos.org/altarch/7/kernel/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

User avatar
TrevorH
Forum Moderator
Posts: 28560
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS LTS Kernels recommendations

Post by TrevorH » 2020/05/22 10:24:14

Those are not recommended for production use.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

faramirza
Posts: 10
Joined: 2019/03/19 12:13:28

Re: CentOS LTS Kernels recommendations

Post by faramirza » 2020/05/22 10:36:44

TrevorH wrote:
2020/05/22 08:14:17
And yes, there are features in the 5.4.x series of kernels that are not in the 3.10.0 CentOS ones. There may also be features in the 3.10.0 distro kernel that haven't made it into the mainline kernel. The same story applies to bugs though all security related fixes ought to be backported by Red Hat. And since the kernel is a rebuild of the RHEL one, CentOS doesn't get to decide what goes into them, Red Hat do that for RHEL.
Thanks for the clarification. Do you know if any resource exist that can show what customisation RHEL has added?

Post Reply

Return to “CentOS 7 - General Support”