Bug 392701

Summary: module-init-tools fails to process directories named "weak-updates"
Product: Red Hat Enterprise Linux 4 Reporter: Jon Masters <jcm>
Component: module-init-toolsAssignee: Jon Masters <jcm>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: urgent    
Version: 4.6CC: benl, mjenner
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: GSSApproved
Fixed In Version: RHBA-2008-0756 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-24 19:48:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 411991    
Attachments:
Description Flags
module-init-tools-limited-weak-updates.patch none

Description Jon Masters 2007-11-20 16:53:28 UTC
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):

3.1-0.pre5.3.4

How reproducible:

Every time.

Steps to Reproduce:
1. Install driver updates on RHEL4 system
2. Drivers in weak-updates are ignored
3.
  
Actual results:

Xen PV drivers are not added to module database

Expected results:

Xen PV drivers ARE added to module database

Additional info:

A fix has been tested, patch is attached.

Comment 1 Jon Masters 2007-11-20 16:53:28 UTC
Created attachment 265111 [details]
module-init-tools-limited-weak-updates.patch

Comment 12 errata-xmlrpc 2008-07-24 19:48:43 UTC
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.

http://rhn.redhat.com/errata/RHBA-2008-0756.html