Red Hat Bugzilla – Bug 392701
module-init-tools fails to process directories named "weak-updates"
Last modified: 2008-07-24 15:48:43 EDT
Description of problem:
A bug exists in the is_update() logic present within the module-init-tools
module processing source code, which will result in any kernel module directory
containing the word "updates" being ignored, unless it is called exactly
"updates". This (old, now gone) upstream behavior is sufficient in RHEL4,
because, normally, modules are never in directories so named.
In the case of xenpv drivers, these are contained within a directory called
"weak-updates", which needs to be parsed. A simple check is sufficient in order
to ensure that such a directory is not ignored during parsing of all of the
modules present on a given system for symbol versioning and the generation of
the modules.dep file(s).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install driver updates on RHEL4 system
2. Drivers in weak-updates are ignored
Xen PV drivers are not added to module database
Xen PV drivers ARE added to module database
A fix has been tested, patch is attached.
Created attachment 265111 [details]
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.