Red Hat Bugzilla – Bug 56393
kernel-headers rpm puts some files in a bad place
Last modified: 2007-04-18 12:38:19 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.2.14-5.0 i686)
Description of problem:
The redhat 7.2 kernel-headers rpm puts 'asm' and 'linux' directories
directly under /usr/include, instead of making them symbolic links to
/usr/src/linux/include/asm and /usr/src/linux/include/linux as was the case
with redhat 6.*. This can lead to incompatibilities between the header
files and the installed kernel source, if a new kernel is installed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install redhat 7.2
2. Look at /usr/include/asm, /usr/include/linux and /usr/src/linux
The /usr/include/asm and /usr/include/linux headers are the USERSPACE headers
which glibc is compiled with. They have NOTHING to do with the actually running
kernel and are also NOT for use with the kernel (for, say, compiling modules).
This has been so as of Red Hat Linux 7.0 based on the official Linux Filesystem
standards and based on requests from the major kernel hackers like Linus Torvalds.