[LU-3770] lustre-client-modules rpm 'Requires: kernel' dependency always satisified by kernel-debug via YUM Created: 16/Aug/13 Updated: 01/Aug/23 Resolved: 01/Aug/23 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Scott Nolin | Assignee: | WC Triage |
| Resolution: | Incomplete | Votes: | 1 |
| Labels: | None | ||
| Environment: |
RHEL 6.4 |
||
| Severity: | 1 |
| Rank (Obsolete): | 9711 |
| Description |
|
lustre-client-modules-2.4.0-2.6.32_358.6.2.el6.x86_64_gd3f91c4.x86_64.rpm has a kernel requirement - Requires: kernel = 2.6.32-358.6.2.el6 If installed via yum, yum always resolves the dependency with the debug kernel. lustre-client-modules-2.4.0-2.6.32_358.6.2.el6.x86_64_gd3f91c4.x86_64 requires: kernel = 2.6.32-358.6.2.el6 This is a bug in yum or rpm I think. I made a simple rpm package that just requires a kernel and it does the same thing. I played with the spec file but couldn't figure out a way to work around this with an rpm. It is not a huge deal, but we have to work around it for automated installs. |
| Comments |
| Comment by Brian Murrell (Inactive) [ 16/Aug/13 ] |
|
Yes, I believe this to be a RH bug/quirk also. It might be good to get this reported upstream. If somebody reports it, please post the upstream bug number here. |
| Comment by Dmitry Eremin (Inactive) [ 16/Aug/13 ] |
|
Could you show the list of already installed kernel packages by using following command "rpm -qa | grep kernel"? |
| Comment by Scott Nolin [ 16/Aug/13 ] |
kernel-2.6.32-358.14.1.el6.x86_64 kernel-2.6.32-358.11.1.el6.x86_64 (omitted kernel-devel and headers packages) Scott |
| Comment by Scott Nolin [ 08/Oct/13 ] |
|
I think, but am not certain, that this is because linux treats all kernels, include kernel-debug, kernel-devel, and so on as the 'kernel' package with the -debug string being a revision. So more than one kernel can satisfy the version dependency. I do not think this is something that can be reported or fixed by RedHat upstream.. The workaround is to change the lustre-client-modules spec file to require not the package 'kernel' as it's too ambiguous, but a file with the version name in it, for example: /boot/vmlinuz-2.6.32-358.6.2.el6.x86_64 -the debug kernel contains vmlinuz-2.6.32-358.6.2.el6.x86_64.debug Scott |
| Comment by Keith Mannthey (Inactive) [ 08/Oct/13 ] |
|
I have seen this same thing with a Luster 2.3 kernel. kernel*.debug.rpm was installed and yum installed did not correctly pull down the standard kenrel. The correct kernel had to be installed manually. |