RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 683404 - autofs plugin does not collect chkconfig autofs status as intended
Summary: autofs plugin does not collect chkconfig autofs status as intended
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sos
Version: 6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Keith Robertson
QA Contact: David Kutálek
URL:
Whiteboard:
Depends On:
Blocks:
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:
Environment:
Last Closed: 2011-12-06 18:10:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1536 0 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
sos-2.2-6.el6.noarch

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

sos-2.2-6.el6.noarch

How reproducible:

Always

Steps to Reproduce:
1. As shown above
2.
3.
  
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:
https://fedorahosted.org/sos/changeset/1072

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.

-- 
Pierre

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.

http://rhn.redhat.com/errata/RHSA-2011-1536.html


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