Bug 453797 - sosreport fails to generate fdisk -l
sosreport fails to generate fdisk -l
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: sos (Show other bugs)
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:
Last Closed: 2009-01-20 16:41:45 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  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:

Steps to Reproduce:
1.run sosreport without a RAID present 
2.verify that fdisk -l is not being generated.
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.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")
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
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.


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