Red Hat Bugzilla – Bug 683404
autofs plugin does not collect chkconfig autofs status as intended
Last modified: 2016-07-03 21:33:30 EDT
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
This is a regression against RHEL5, where it was working.
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
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.
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