Bug 781243

Summary: v7 info fails to capture modules tainted for multiple signs
Product: [Retired] Red Hat Hardware Certification Program Reporter: Guangze Bai <gbai>
Component: Test Suite (tests)Assignee: Greg Nichols <gnichols>
Status: CLOSED ERRATA QA Contact: Guangze Bai <gbai>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.5CC: czhang, rlandry, yshao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-05 21:36:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 767775, 773757    
Attachments:
Description Flags
info test patch to parse tainted modules with multiple signs none

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