Skip to navigation

Bug Fix Advisory sos bug fix and enhancement update

Advisory: RHBA-2011:1028-1
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2011-07-21
Last updated on: 2011-07-21
Affected Products: Red Hat Enterprise Linux (v. 5 server)
Red Hat Enterprise Linux Desktop (v. 5 client)

Details

An updated sos package that fixes several bugs and adds various enhancements is
now available for Red Hat Enterprise Linux 5.

The sos package contains a set of tools that gather information from system
hardware, logs and configuration files. The information can then be used for
diagnostic purposes and debugging.

This updated sos package provides fixes for the following bugs:

* The sos utility did not include the rsyslog.conf file in sos reports. This
update adds the rsyslog plug-in, which adds rsyslog.conf to the reports.
(BZ#548616)

* The hardware.py plug-in of the up2date client used an incorrect path to the
hardware.py script. This update corrects the path. (BZ#572353)

* The rhn plug-in failed to include the squid logs from RHN proxy servers. This
occurred because the plug-in failed to identify such servers. This update adapts
the underlying code and the squid logs from RHN proxy servers are included in
sos reports as expected. (BZ#590389)

* Prior to this update, sos reports did not include the log files defined in the
syslog and rsyslog configuration files. This happened because the utility did
not search the files for log file definitions. This update adds the respective
code and sos collects all user-defined log files specified in rsyslog.conf or
syslog.conf. (BZ#596970)

* The Certificate system plug-in did not collect logs from Red Hat Certificate
System 8.0. With this update, dogtag.py for Red Hat Certificate System 8.0 has
been added and sos collects logs from Red Hat Certificate System 8.0, as
expected. (BZ#635966)

* On IBM S/390 architecture, outputs from the parted and dumpe2fs utilities were
not included in sos reports. This bug has been fixed and data retrieved from
both utilities are now included in sos reports. (BZ#645507)

* The selinux plug-in did not gather the /etc/sysconfig/selinux file. This is
now fixed and the file is included in the reports of the selinux plug-in.
(BZ#674717)

* The rhelVersion() function did not work correctly in Red Hat Enterprise Linux
5 and not all plug-ins consistently used the interface. This problem impacted a
number of sos plug-ins (cluster, general, s390, and yum). With this update, the
function now always returns the correct value and all the aforementioned
plug-ins have been converted to use it. (BZ#710567)

In addition, this updated package provides the following enhancements:

* Prior to this update, the user could not change the target location for
storing sos reports. Due to this, sos reports were not collected if the /tmp/
directory was full. This update adds the "--tmp-dir" option to the sosreport
utility to allow the user to specify the target directory. (BZ#562283)

* Prior to this update, the user sometimes had to run several tools to diagnose
issues on high-availability clusters. This update adds several enhancements to
the cluster plug-in to provide more detailed information. (BZ#584060)

* Prior to this update, sosreport excluded files larger than 15 MB. With this
update, such files are truncated to 15 MB so as to include the latest events and
saved in the /sosreport/sos_commands/ directory. (BZ#636472)

* With this update, sos supports next-generation X.509 entitlement certificates.
These certificates are captured and included in sos reports. (BZ#678666)

* With this update, sos reports include the content of the /etc/rhsm/ directory.
(BZ#714296)

All users are advised to upgrade to this updated sos package, which fixes these
bugs and adds these enhancements.


Solution

Before applying this update, make sure that all previously-released errata
relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use the Red Hat
Network to apply this update are available at
https://access.redhat.com/kb/docs/DOC-11259

Updated packages

Red Hat Enterprise Linux (v. 5 server)

SRPMS:
sos-1.7-9.54.el5.src.rpm
File outdated by:  RHBA-2013:1356
    MD5: 21f1ce964ed9846a3ac33e37b4ed6916
SHA-256: 0f33b9916fe303cbb622c61225a30e54a6b41d0713c25a78785b26417212c97a
 
IA-32:
sos-1.7-9.54.el5.noarch.rpm
File outdated by:  RHBA-2013:1356
    MD5: 3ba3ddb39bb431a60a1625e53569007f
SHA-256: 293e2876c10d9a0e6b9366b6f0711776c86743add580b2fad4ccb3ef0afdc485
 
IA-64:
sos-1.7-9.54.el5.noarch.rpm
File outdated by:  RHBA-2013:1356
    MD5: 3ba3ddb39bb431a60a1625e53569007f
SHA-256: 293e2876c10d9a0e6b9366b6f0711776c86743add580b2fad4ccb3ef0afdc485
 
PPC:
sos-1.7-9.54.el5.noarch.rpm
File outdated by:  RHBA-2013:1356
    MD5: 3ba3ddb39bb431a60a1625e53569007f
SHA-256: 293e2876c10d9a0e6b9366b6f0711776c86743add580b2fad4ccb3ef0afdc485
 
s390x:
sos-1.7-9.54.el5.noarch.rpm
File outdated by:  RHBA-2013:1356
    MD5: 3ba3ddb39bb431a60a1625e53569007f
SHA-256: 293e2876c10d9a0e6b9366b6f0711776c86743add580b2fad4ccb3ef0afdc485
 
x86_64:
sos-1.7-9.54.el5.noarch.rpm
File outdated by:  RHBA-2013:1356
    MD5: 3ba3ddb39bb431a60a1625e53569007f
SHA-256: 293e2876c10d9a0e6b9366b6f0711776c86743add580b2fad4ccb3ef0afdc485
 
Red Hat Enterprise Linux Desktop (v. 5 client)

SRPMS:
sos-1.7-9.54.el5.src.rpm
File outdated by:  RHBA-2013:1356
    MD5: 21f1ce964ed9846a3ac33e37b4ed6916
SHA-256: 0f33b9916fe303cbb622c61225a30e54a6b41d0713c25a78785b26417212c97a
 
IA-32:
sos-1.7-9.54.el5.noarch.rpm
File outdated by:  RHBA-2013:1356
    MD5: 3ba3ddb39bb431a60a1625e53569007f
SHA-256: 293e2876c10d9a0e6b9366b6f0711776c86743add580b2fad4ccb3ef0afdc485
 
x86_64:
sos-1.7-9.54.el5.noarch.rpm
File outdated by:  RHBA-2013:1356
    MD5: 3ba3ddb39bb431a60a1625e53569007f
SHA-256: 293e2876c10d9a0e6b9366b6f0711776c86743add580b2fad4ccb3ef0afdc485
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

548616 - include rsyslog.conf in sosreport
572353 - path is wrong for hardware.py plugin
584060 - [RFE] Create sos plugin for cluster components
590389 - sosreport does not gather RHN Proxy squid logs
596970 - capture non standard log files via syslog
635966 - SOS plugin to collect info. for Red Hat certificate system-8.0
674717 - sosreport not collecting /etc/sysconfig/selinux file
710567 - rhel version checks broken on RHEL5.7



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/