Bug 781243 - v7 info fails to capture modules tainted for multiple signs
Summary: v7 info fails to capture modules tainted for multiple signs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Test Suite (tests)
Version: 1.5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Greg Nichols
QA Contact: Guangze Bai
URL:
Whiteboard:
Depends On:
Blocks: 767775 773757
TreeView+ depends on / blocked
 
Reported: 2012-01-13 03:37 UTC by Guangze Bai
Modified: 2015-02-08 21:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
An enhancement has been added to v7 1.5 that `info` test is now able to capture modules which have multiple tainted signs.
Clone Of:
Environment:
Last Closed: 2012-06-05 21:36:52 UTC


Attachments (Terms of Use)
info test patch to parse tainted modules with multiple signs (1.74 KB, patch)
2012-03-27 14:33 UTC, Greg Nichols
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0711 0 normal SHIPPED_LIVE v7 bug fix and enhancement update 2012-06-06 01:26:37 UTC

Description Guangze Bai 2012-01-13 03:37:41 UTC
Description of problem:

Run v7 info with specifically built module which is a non GPL, unsigned module.

# modprobe non_gpl_mod
# cat /proc/sys/kernel/tainted
65
# cat /proc/modules | grep non_gpl_mod
non_gpl_mod 34688 0 - Live 0xffffffff88a23000 (PU)

# v7 run -t info
<snip>

Subtest: Kernel - Check OS kernel build, version
+ rpm -ql kernel-2.6.18-303.el5
Error: Please remove the non-GPL modules.
Error: could not determine if kernel is tainted
Boot Parameters: ro root=LABEL=/ rhgb quiet crashkernel=129M@32M
FAIL

</snip>

It is confusing that v7 says it cannot determine if kernel tainted.
  
Version-Release number of selected component (if applicable):
v7-1.4-38

Comment 5 Greg Nichols 2012-03-27 14:33:12 UTC
Created attachment 573083 [details]
info test patch to parse tainted modules with multiple signs

Comment 9 Caspar Zhang 2012-06-04 07:39:36 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
An enhancement has been added to v7 1.5 that `info` test is now able to capture modules which have multiple tainted signs.

Comment 11 errata-xmlrpc 2012-06-05 21:36:52 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-2012-0711.html


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