Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 452705 - Add /root/anaconda-ks-cfg to sosreport archive
Summary: Add /root/anaconda-ks-cfg to sosreport archive
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: sos
Version: 5.3
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Adam Stokes
QA Contact:
Depends On:
Blocks: 455296 459576
TreeView+ depends on / blocked
Reported: 2008-06-24 15:21 UTC by Joe Wrigley
Modified: 2009-01-20 21:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2009-01-20 21:42:06 UTC
Target Upstream Version:

Attachments (Terms of Use)
Adds collection of anaconda-ks.cfg to the general plugin. (deleted)
2008-07-03 03:52 UTC, Robert Jackson
no flags Details | Diff
Adds collection of anaconda-ks.cfg (deleted)
2008-07-14 18:37 UTC, Robert Jackson
no flags Details | Diff

System 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 16:05:38 UTC

Description Joe Wrigley 2008-06-24 15:21:33 UTC
Description of problem:
It would be useful to techsupport engineers to have the kickstart file that
anaconda creates after installation included in an sosreport.

Comment 1 Robert Jackson 2008-07-03 03:50:55 UTC
The following path should add this functionality to the general plugin:

--- /usr/lib/python2.4/site-packages/sos/plugins/     2008-07-02
23:43:14.000000000 -0400
+++ /usr/lib/python2.4/site-packages/sos/plugins/general.py2    2008-07-02
23:47:39.000000000 -0400
@@ -12,6 +12,7 @@
 ## along with this program; if not, write to the Free Software
 ## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

+import os
 import sos.plugintools
 import glob

@@ -37,7 +38,9 @@
         self.collectExtOutput("/bin/hostname", root_symlink = "hostname")
         self.collectExtOutput("/bin/date", root_symlink = "date")
         self.collectExtOutput("/usr/bin/uptime", root_symlink = "uptime")
-        return
+        if os.path.exists('/root/anaconda-ks.cfg'):
+               self.addCopySpec("/root/anaconda-ks.cfg")
+       return

     def postproc(self):
r"(\s*proxyPassword\s*=\s*)\S+", r"\1***")

Comment 2 Robert Jackson 2008-07-03 03:52:09 UTC
Created attachment 310877 [details]
Adds collection of anaconda-ks.cfg to the general plugin.

Comment 3 Robert Jackson 2008-07-14 18:37:33 UTC
Created attachment 311746 [details]
Adds collection of anaconda-ks.cfg

Comment 4 RHEL Product and Program Management 2008-07-14 18:51:36 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

Comment 10 errata-xmlrpc 2009-01-20 21:42:06 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.

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