Bug 453797 - sosreport fails to generate fdisk -l
sosreport fails to generate fdisk -l
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: sos (Show other bugs)
5.3
All Linux
urgent Severity low
: rc
: ---
Assigned To: Adam Stokes
: ZStream
Depends On: 453792
Blocks: 455725
  Show dependency treegraph
 
Reported: 2008-07-02 11:19 EDT by Robert Jackson
Modified: 2015-02-24 17:56 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-01-20 16:41:45 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:0171 normal SHIPPED_LIVE sosreport bug fix and enhancement update 2009-01-20 11:05:38 EST

  None (edit)
Description Robert Jackson 2008-07-02 11:19:53 EDT
+++ This bug was initially created as a clone of Bug #453792 +++

Description of problem:
sosreport fails to generate fdisk -l unless a raid is present

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


How reproducible:
always

Steps to Reproduce:
1.run sosreport without a RAID present 
2.verify that fdisk -l is not being generated.
3.
  
Actual results:
fdisk -l is not being generated

Expected results:
fdisk -l is generated

Additional info: The cluster plugin also caused this to generated.
Comment 1 Robert Jackson 2008-07-02 11:20:29 EDT
Following patch clears it up:

--- /usr/lib/python2.4/site-packages/sos/plugins/filesys.py     2008-07-02
11:13:33.000000000 -0400
+++ /usr/lib/python2.4/site-packages/sos/plugins/filesys.py2    2008-07-02
11:13:41.000000000 -0400
@@ -28,6 +28,7 @@
         self.addCopySpec("/etc/mdadm.conf")

         self.collectExtOutput("/bin/df -al", root_symlink = "df")
+        self.collectExtOutput("/sbin/fdisk -l", root_symlink = "fdisk_l")
         self.collectExtOutput("/usr/sbin/lsof -b +M -n -l", root_symlink = "lsof")
         self.collectExtOutput("/bin/mount -l", root_symlink = "mount")
         self.collectExtOutput("/sbin/blkid")
Comment 2 RHEL Product and Program Management 2008-07-02 12:40:52 EDT
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 11 errata-xmlrpc 2009-01-20 16:41:45 EST
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-0171.html

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