Bug 477643 - Module Vendor and Build Host checking is done on kernel RPM modules
Summary: Module Vendor and Build Host checking is done on kernel RPM modules
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Test Suite (tests)
Version: 5.3
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Greg Nichols
QA Contact: Lawrence Lim
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-22 16:50 UTC by Greg Nichols
Modified: 2014-03-26 00:55 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-02-27 18:14:25 UTC
Embargoed:


Attachments (Terms of Use)
info.py patch (2.77 KB, patch)
2008-12-22 16:55 UTC, Greg Nichols
no flags Details | Diff

Description Greg Nichols 2008-12-22 16:50:13 UTC
Description of problem:

Vendor and Build Host checks of driver modules are run on modules from
the kernel RPM.  These checks are only necessary for modules that are
not from the kernel RPM.


Version-Release number of selected component (if applicable):

HTS 5.3 R11

Comment 1 Greg Nichols 2008-12-22 16:55:26 UTC
Created attachment 327672 [details]
info.py patch 


This patch changes the vendor and build host check so that there are only done on
modules that do not come from the kernel RPM.    The logic is that if a module is found in /proc/modules that does not come from the kernel RPM, the following tests are performed:

- if the OS being certified is RHEL 4, it fails
- otherwise, the ABI whitelist is checked.  If the module does not conform, it fails
- otherwise, the vendor and build host are checked.  If these tests indicate the module was not built be Red Hat, it fails.


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