Bug 447891

Summary: regular expression error within hardware plugin
Product: Red Hat Enterprise Linux 4 Reporter: Adam Stokes <astokes>
Component: sosAssignee: Adam Stokes <astokes>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.8CC: agk, azelinka, bmr
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
* the hardware plugin contained a malformed regular expression that meant that the plugin would not always output a full set of keywords. The regular expression in the plugin is now properly constructed and works as expected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-18 20:23:35 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: 447890    
Bug Blocks: 467444    

Description Adam Stokes 2008-05-22 10:57:06 UTC
+++ This bug was initially created as a clone of Bug #447890 +++

Description of problem:
--- snip ---
# FIXME: what is this for?
tmpreg = ""
for hwmodule in commands.getoutput('cat /lib/modules/$(uname -r)/modules.pcimap
| cut -d " " -f 1 | grep "[:alpha:]" | sort -u').split("n"):
--- snip ---

Form "[:alpha:]" outputs keywords which contain only "a", "l", "p", "h", "a" and
":".
If hardware.py output keywords which contain alphabet, form should be "[[:alpha:]]".

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

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 RHEL Program Management 2008-09-05 17:14:59 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 4 Ruediger Landmann 2009-01-29 06:19:15 UTC
Release note added. If any revisions are required, please set the 
"requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

New Contents:
* the hardware plugin contained a malformed regular expression that meant that the plugin would not always output a full set of keywords. The regular expression in the plugin is now properly constructed and works as expected.

Comment 7 errata-xmlrpc 2009-05-18 20:23:35 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-2009-0994.html