Red Hat Bugzilla – Bug 477093
kernel did not used the latest modules when have multi kmod-xenpv installation
Last modified: 2009-05-12 17:29:56 EDT
Created attachment 327400 [details]
Patch for this issue
Description of problem:
Install more than one kmod-xenpv packages in the same os, found kernel did not
loaded the right modules, for example, install below kmod-xenpv:
kernel try to loaded 0.1-9.el5 modules when needed but not 0.1-9.0.1.el5
checked kmod-xenpv scriptlet and found any kmod-xenpv installation will add
weak-modules directly and do not check if have any conflict with new installation,
depmod rules could not deal with this condition very well and always use the
However, we thought use the latest version as weak-module is a good policy.
Attached the patch for above idea, please review.
This is a bug in the weak-modules script, but kmodtool is not where this should be changed. By changing kmodtool, you would only "fix" this for the initial install, and not for subsequent updates, which will use the weak-modules script - that's where the logic should be kept in an ideal world.
It's too late to look at this for RHEL5.3, but I assume you might want an async update prior to RHEL5.4 going out?
Agree add something to weak-modules :-)
I think fix it at 5.4 is OK if 5.4 is not too late ;)
*** This bug has been marked as a duplicate of bug 404311 ***