Bug 683404 - autofs plugin does not collect chkconfig autofs status as intended
Summary: autofs plugin does not collect chkconfig autofs status as intended
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sos
Version: 6.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Keith Robertson
QA Contact: David Kutálek
Depends On:
TreeView+ depends on / blocked
Reported: 2011-03-09 11:10 UTC by David Kutálek
Modified: 2016-07-04 01:33 UTC (History)
6 users (show)

Fixed In Version: 2.2-9.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2011-12-06 18:10:39 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1536 normal SHIPPED_LIVE Low: sos security, bug fix, and enhancement update 2011-12-06 01:02:03 UTC

Description David Kutálek 2011-03-09 11:10:40 UTC
Description of problem:

One more LC_ALL=C issue remaining in sos code, making autofs plugin not to collect chkconfig settings for autofs:

$ grep -H /sbin/chkconfig /usr/lib/python2.6/site-packages/sos/plugins/*.py
/usr/lib/python2.6/site-packages/sos/plugins/autofs.py:        self.collectExtOutput("LC_ALL=C /sbin/chkconfig --list autofs")
/usr/lib/python2.6/site-packages/sos/plugins/startup.py:        self.collectExtOutput("/sbin/chkconfig --list", root_symlink = "chkconfig")

$ grep -H LC_ALL /usr/lib/python2.6/site-packages/sos/plugins/*.py
/usr/lib/python2.6/site-packages/sos/plugins/autofs.py:        self.collectExtOutput("LC_ALL=C /sbin/chkconfig --list autofs")

$ rpm -q sos

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


How reproducible:


Steps to Reproduce:
1. As shown above
Actual results:

One last LC_ALL=C occurrence in sos code

Expected results:

No such an occurrence

Additional info:

Easy one-line fix

Comment 1 David Kutálek 2011-03-09 11:51:19 UTC
This is a regression against RHEL5, where it was working.

Comment 2 Pierre Carrier 2011-03-10 10:28:54 UTC
We removed the entire collectExtOutput() upstream:

The information already being available in the complete chkconfig, this is one of the few duplicates I've been trying to get rid of in trunk.


Comment 3 RHEL Program Management 2011-04-04 02:02:17 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 6 errata-xmlrpc 2011-12-06 18:10:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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