Red Hat Bugzilla – Bug 155924
package requirement mismatch between cman-kernel and cman-kernel-smp
Last modified: 2007-11-30 17:11:04 EST
Description of problem:
rpm -q --requires cman-kernel-22.214.171.124-20050420.112235.FC4.0
kernel = 2.6.11-1.1253_FC4
rpm -q --requires cman-kernel-smp-126.96.36.199-20050420.112235.FC4.0
does cman-kernel-smp need a versioned requires of kernel-smp?
do you need to add a requirement on /lib/modules/X.Y.Z-A.B
like dlm-kernel-smp has to make sure the right kernel is installed?
rpm -q --requires dlm-kernel-smp-188.8.131.52-20050420.131626.FC4.0
There is a mistmatch between how dlm-kernel, dlm-kernel-smp, cman-kernel and
cman-kernel-smp are attempted to deal with kernel requirements. Not sure which
technical solution is right, but certaintly seems all the kernel module packages
should be doing the same thing with require to requirement handling.
-jef"next stop.. gnbd-kernel"spaleta
Fixed. Both packages now require /lib/modules as well as kernel (or kernel-smp).
Since there is no gnbd or gnbd-kernel bugzilla component.. i'll mention it here.
the gnbd-kernel-* packages have similar requires problems that need to be
examined. Same sort of /lib/modules stuff and there is no requires linking gnbd
and gnbd-kernel packages.
Actually come to think of it i dont see requires link cman to cman-kernel.
Shouldn't there be some sort of requires link one way or the other?
So when you install the userspace component the kernel part gets pulled in or
you install the kernel component the user space gets pulled in.
I see dlm requires dlm-kernel so it seems cman should require cman-kernel and
gnbd should require gnbd-kernel.
I've added that requirement for cman, as well has fixed up the gnbd-kernel packages.
Sadly I can't test the fixes. Today's kernel module packages in rawhide
are built against a kernel that wasn't released to the public rawhide tree.
cman-kernel is built against 2.6.11-1.1262_FC4 which was never released.
2.6.11-1.1261_FC4 hit the public tree april 23th
2.6.11-1.1267_FC4 hit the public tree today, april 26th
daily rawhide reports to -devel-list confirm.
You'll have to do a rebuild of the cman,dlm and gnbd kernel modules against
1267, in order for me to fully test the fixes. On a brighter note, the
versioned requirements on the new packages keep yum from updating this packages
since the required kernel is not available.
Is there any easy way to tell if a kernel was released to the rawhide tree?
I've rebuild the kernel packages against 1267 now.
rawhide trees are just pulled from the latest packages as of about 5AM.
There are buildsystem notifications you can subscribe to to be notified of new