Red Hat Bugzilla – Bug 162308
dkms should Require: kernel-devel package
Last modified: 2007-11-30 17:11:09 EST
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):
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.
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.
The kernel_ppp_mppe package comes from:
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.
Just pinging to see whether this bug has been seen at all. The latest dkms
(built Sep 05, 2005) has not addressed this issue.
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