Bug 572353

Summary: path is wrong for hardware.py plugin
Product: Red Hat Enterprise Linux 5 Reporter: david.garvey
Component: sosAssignee: Bryn M. Reeves <bmr>
Status: CLOSED ERRATA QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: low Docs Contact:
Priority: low    
Version: 5.6CC: agk, bmr, dkutalek, gavin, prc
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sos-1.7-9.52.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 736718 (view as bug list) Environment:
Last Closed: 2011-07-21 07:59:39 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:    
Bug Blocks: 736718    

Description david.garvey 2010-03-10 23:19:46 UTC
Description of problem:/usr/share/rhn/up2dateclient/hardware.py path is incorrect.


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


How reproducible:
[root@sc208-test plugins]# grep up2dateclient /usr/lib/python2.4/site-packages/sos/plugins/hardware.py
        self.collectExtOutput("/usr/share/rhn/up2dateclient/hardware.py")


Steps to Reproduce:
[root@sc208-test plugins]# diff -u /tmp/hardware.py /usr/lib/python2.4/site-packages/sos/plugins/hardware.py
--- /tmp/hardware.py	2010-03-10 14:20:01.000000000 -0800
+++ /usr/lib/python2.4/site-packages/sos/plugins/hardware.py	2008-11-12 03:17:49.000000000 -0800
@@ -35,7 +35,7 @@
         self.addCopySpec("/proc/chandev")
         self.addCopySpec("/proc/dasd")
         self.addCopySpec("/proc/s390dbf/tape")
-        self.collectExtOutput("/usr/share/rhn/up2date_client/hardware.py")
+        self.collectExtOutput("/usr/share/rhn/up2dateclient/hardware.py")
         self.collectExtOutput("""/bin/echo "lspci:" ; /bin/echo ; /sbin/lspci ; /bin/echo ; /bin/echo "lspci -nvv:" ; /bin/echo ; /sbin/lspci -nvv""", suggest_filename = "lspci", root_symlink = "lspci")
 
         self.collectExtOutput("/usr/sbin/dmidecode", root_symlink = "dmidecode")
[root@sc208-test plugins]# ls /usr/share/rhn/up2date_client/hardware.py
/usr/share/rhn/up2date_client/hardware.py
[root@sc208-test plugins]# 
  
Actual results:


Expected results:


Additional info:

Comment 1 Adam Stokes 2010-03-11 13:50:06 UTC
Hey David,

Thanks for the report. Unfortunately 5.5 is due out soon and the bug still exists, however, I'll make sure it gets fixed in the next update release.

Thanks,
Adam

Comment 5 Bryn M. Reeves 2011-01-14 17:08:28 UTC
Probably an easy fix (did that '_' get added in a new version?); either way should be fixed with a glob.

Comment 6 Pierre Carrier 2011-02-11 15:37:11 UTC
Fixed upstream through https://fedorahosted.org/sos/changeset/1081

Comment 10 errata-xmlrpc 2011-07-21 07:59:39 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-2011-1028.html