Bug 1284935

Summary: weak-module, when adding a module, should collect the symbols from external modules of destination kernel
Product: Red Hat Enterprise Linux 6 Reporter: Renaud Marigny <rmarigny>
Component: module-init-toolsAssignee: Tony Camuso <tcamuso>
Status: CLOSED ERRATA QA Contact: Robin Hack <rhack>
Severity: medium Docs Contact: Mark Flitter <mflitter>
Priority: medium    
Version: 6.7CC: arozansk, bhu, ccui, jshortt, lpol, rhack, rmarigny, sbueno, skozina, srandhaw, tgummels, woodard, ykaliuta
Target Milestone: rc   
Target Release: 6.9   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The weak-modules function now checks external symbols before failing a module as not compatible When adding a module with a different version number to the current kernel, weak-modules checks for exported symbols in that kernel. In some cases, the symbols required are provided by other modules. This fix ensures that the symbols provided by other modules are checked before marking the new module as incompatible.
Story Points: ---
Clone Of:
: 1296465 (view as bug list) Environment:
Last Closed: 2017-03-21 11:42:06 UTC Type: Bug
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: 1269194, 1296465, 1318711, 1346447, 1400664, 1405173    
Attachments:
Description Flags
proposed patch none

Comment 1 Renaud Marigny 2015-11-24 13:56:11 UTC
Created attachment 1098208 [details]
proposed patch

Comment 3 Samantha N. Bueno 2016-01-14 15:26:55 UTC
This came in a bit late for 6.8, especially considering that module-init-tools is not on the approved component list. I'm deferring this to 6.9, and we will take a look at it during that time.

Thanks for the patch, as well.

Comment 10 Tony Camuso 2016-10-21 10:31:08 UTC
Patch set has been developed and tested here at Red Hat.

Comment 11 Tony Camuso 2016-10-25 16:47:04 UTC
Test rpm available at :
http://people.redhat.com/tcamuso/module-init-tools/module-init-tools-3.9-26.el6.x86_64.rpm

Please let us know if this fixes the problem.

Comment 12 Tony Camuso 2016-10-26 18:50:29 UTC
Please ignore the test rpm listed in comment #11

I'm working on a new one now.

Comment 13 Tony Camuso 2016-10-26 19:25:42 UTC
rpm, src.rpm, and debug rpm for testing.

http://people.redhat.com/tcamuso/module-init-tools/

Comment 17 errata-xmlrpc 2017-03-21 11:42:06 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.

https://rhn.redhat.com/errata/RHBA-2017-0772.html