Bug 162308 - dkms should Require: kernel-devel package
dkms should Require: kernel-devel package
Product: Fedora
Classification: Fedora
Component: dkms (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tom "spot" Callaway
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2005-07-02 05:27 EDT by Alex Lancaster
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-12 14:20:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Alex Lancaster 2005-07-02 05:27:09 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Galeon/1.3.21

Description of problem:
In Fedora Core 4 the headers and Makefiles have been split out of the main "kernel "package into a separate "kernel-devel" package, which may not necessarily be installed.  dkms cannot rebuild modules upon reboot into a new kernel without those headers, so dkms should have "Require: kernel-devel" in it's spec file to enable correct functioning.

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

How reproducible:

Steps to Reproduce:
1. Remove kernel-devel package if installed on FC4 system (yum remove kernel-devel).
2. Install dkms.
3. Add a new package which uses dkms such as kernel_ppp_mppe.
4. Reboot.

Actual Results:  dkms cannot build the kernel module on the fly at reboot because it can't find /lib/modules/2.6.11-1.1369_FC4/build directory

Expected Results:  When dkms was yum installed it should have also installed kernel-devel.

Additional info:
Comment 1 Alex Lancaster 2005-07-02 05:30:15 EDT
The kernel_ppp_mppe package comes from:

Comment 2 Alex Lancaster 2005-07-02 05:35:07 EDT
In fact the page mentioned above, had to add a note to explicitly install
kernel-devel when it really should have been installed automatically upon dkms

"2005-07-02 Added requirement for kernel-devel package, thanks to Ted Rule, Paul
Howarth, and epsilon."

If kernel-smp is also installed then kernel-devel-smp should also be installed,
but I don't know how you would clue the spec file into that.
Comment 3 Alex Lancaster 2005-09-12 14:07:22 EDT
Just pinging to see whether this bug has been seen at all.  The latest dkms
(built Sep 05, 2005) has not addressed this issue.
Comment 4 Tom "spot" Callaway 2005-09-12 14:20:35 EDT
kernel-smp-devel actually provides:
kernel-devel = 2.6.13-1.1549_FC5smp

So, I think kernel-devel is enough of a Requires.

Fixed in 2.0.6-2

Note You need to log in before you can comment on or make changes to this bug.