Bug 708458 - Dangling symlinks upon installation of kmod-kvm on RHEL 5.6
Summary: Dangling symlinks upon installation of kmod-kvm on RHEL 5.6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: module-init-tools
Version: 5.6
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: David Shea
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 921048 928849
TreeView+ depends on / blocked
 
Reported: 2011-05-27 17:34 UTC by Akemi Yagi
Modified: 2013-10-01 00:40 UTC (History)
7 users (show)

Fixed In Version: module-init-tools-3.3-0.pre3.1.62.el5
Doc Type: Bug Fix
Doc Text:
Updating kmod-kvm after a kernel update had been performed caused a broken symbolic link to the kvm.ko module due to the link pointing to the old kernel's kvm.ko module. Now, the new version of kmod-kvm is updated, and broken symbolic links no longer occur in the described scenario.
Clone Of:
Environment:
Last Closed: 2013-10-01 00:40:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1359 0 normal SHIPPED_LIVE module-init-tools bug fix update 2013-09-30 21:12:27 UTC

Description Akemi Yagi 2011-05-27 17:34:21 UTC
Description of problem:
The latest kmod-kvm creates broken symbolic links on RHEL 5.6.

Version-Release number of selected component (if applicable):
module-init-tools-3.3-0.pre3.1.60.el5_5.1
kmod-kvm-83-224.el5_6.1

How reproducible:
Always

Steps to Reproduce:
1. Install kmod-kvm-83-224.el5
2. Update the kernel to 238.9.1
3. Update kmod-kvm to 83-224.el5_6.1
  
Actual results:
lrwxrwxrwx 1 root root      49 Apr 12 18:12  /lib/modules/2.6.18-238.9.1.el5/weak-updates/kmod-kvm/kvm.ko -> /lib/modules/2.6.18-237.el5/extra/kmod-kvm/kvm.ko

The target is non-existing. This is a broken link.

Expected results:
It should link to /lib/modules/2.6.18-238.9.1/extra/kmod-kvm/kvm.ko

Additional info:

This issue can be reproduced by the following procedure:

Have 2 versions of kernel (A and B) ready.
Have a kmod package with two different kversions ready.

(1) Install the kmod-kversion1 on kernel-A.
(2) Update the kernel to the newer kernel-B.
(3) Update the kmod to kmod-kversion2

When the version of kernel-B matches exactly with the kversion of the new kmod, kernel-B gets a dangling symlink. (This happened with kmod-kvm)

This does not impose a problem function-wise as far as 'extra' has precedence over weak-updates (default).

Comment 1 Akemi Yagi 2012-01-22 08:45:32 UTC
Jon,

Did you have a chance to look at this bug? Any chance you can fix this in the next release of module-init-tools?

Comment 8 errata-xmlrpc 2013-10-01 00:40:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1359.html


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