Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Quote:
we're on a newer version.
For your information : The 'kernel-headers' package, /usr/include/{ asm/*, drm/*, linux/* etc.}
... is used only for compiling applications.
And : These ~665 headers are the headers that were used to compile your glibc.
So they must follow the default glibc version.
I.e. no alien update of the package 'kernel-headers' should be done !
My current development machine is Rhel 5.11, kernel 3.10
I'm a developer, my end goal is building software and helping other devs to build software. We have a variety of rhel 5&6 machines with various kernels. Our sysadmins update the kernel, but never update the kernel headers. I am trying to understand why, as it impedes me using newer kernel features. They're not forthcoming with reasons, just saying that redhat doesn't update the headers.
I guess one reason may be that they are trying to prevent binaries for an OS depending on a newer kernel than the lowest common denominator.
My question is effectively this : if you manually update a kernel for RHEL, what other packages should you update, as best practise?
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #7.
Quote:
if you manually update a kernel for RHEL,
what other packages should you update
None. There aren't any packages related to the kernel.
But : If you exclude "kernel*" in /etc/yum.conf,
then you will have no updates of the glibc related package 'kernel-headers'(-2.6.xx-xxx)
Must then be manually handled. E.g. by temporarily disabling the line exclude=kernel*
Generally about updates :
Just do # yum update ,,, whenever there are (other) updates.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.