Bug 1190394

Summary: kernel-headers package does not install kernel headers
Product: [Fedora] Fedora Reporter: Jeffrey Walton <noloader>
Component: kernelAssignee: Orphan Owner <extras-orphan>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: extras-orphan, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, mchehab, noloader
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Other   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-10 16:01:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jeffrey Walton 2015-02-07 22:25:37 UTC
Description of problem:

    The kernel-headers package does not install the kernel headers.

Version-Release number of selected component (if applicable):

    3.18.5-201.fc21.x86_64


How reproducible:

    Always (at least for this particular issue)

    sudo yum install kernel-headers-`uname -r`


Actual results:

    sudo yum install kernel-headers-`uname -r`
    Package kernel-headers-3.18.5-201.fc21.x86_64 already installed and latest version

    But:

    $ ls /usr/src/
    debug  kernels
    $ ls /usr/src/kernels/
    $

Expected results:

    I expected kernel headers to be located at /usr/src/kernels/

Additional info:

    VMware install

Comment 1 Jeffrey Walton 2015-02-07 22:45:25 UTC
My apologies for the 'kernel' component if its wrong. The only kernel-headers package I could find listed was arm-kernel-headers, and I'm fairly certain that's wrong. In the absence of other kernel-header packages, I used the vanilla 'kernel' component.

Comment 2 Josh Boyer 2015-02-10 16:01:30 UTC
kernel-headers doesn't install to /usr/src/.  It installs to /usr/include/.  You can see this by running `rpm -ql kernel-headers`.  It is a system-wide package used for building other things (like glibc/gcc) against the userspace sanitized headers exported by the Linux kernel buildsystem.

You may be looking for the kernel-devel package instead.