Language and Page Formatting Options
An updated sos package that fixes several bugs and adds various enhancements is now available for Red Hat Enterprise Linux 6.
The sos package contains a set of utilities that gather information from system hardware, logs, and configuration files. The information can then be used for diagnostic purposes and debugging.
- Depending on site-local configuration, large quantities of System Activity Reporter (SAR) data could be present on systems. Previous versions of the sos utility attempted to collect all data present, potentially leading to very large report sizes and slow data collection. This update applies a size limit to both binary and text data captured by the SAR module, and SAR data in the report are now limited to 20 MB by default. In addition, a new "all_sar" option has been added to the module to request the old behavior.
- The sos utility makes use of the Red Hat Network Client Tools hardware module to obtain information on the hardware present in the system. However, due to the way in which the module was invoked by sos, a change in the Red Hat Network component caused errors when running the sosreport command. The sos hardware plug-in now imports the Red Hat Network module directly and stores the resulting output in the report, thus fixing the bug. Now, exceptions or other errors are no longer displayed during report processing.
- Previous versions of the sos utility failed to correctly handle file system exceptions resulting from out-of-space conditions. As a consequence, running the sosreport utility with insufficient space could lead to thousands of logged errors and creation of an unusable report tarball. With this update, all I/O paths in sosreport correctly handle out-of-space and other fatal file system exceptions. Now, attempting to run sos with insufficient space results in an immediate descriptive error and the tool no longer attempts to create a report archive.
- Previous versions of the sos utility did not omit passwords or password hashes in the grub.conf bootloader configuration file. Consequently, passwords or password hashes contained in these files could be disclosed to the recipient of an sos report archive. The sos utility now removes passwords and password hashes from grub.conf, and the generated report archive no longer contains password material.
In addition, this update adds the following
- With this update, the sos package includes support for the Samba Clustered Trivial Database (CTDB), clustered implementation of the TDB used by Samba. Users can now require information on the CTDB state and configuration to diagnose problems in clustered Samba deployments.
- Depending on system configuration and fault state, some commands can become blocked indefinitely causing the sos utility to appear unresponsive. With this update, the sosreport utility applies a timeout when running all external commands, so that commands that become blocked for an excessive period now terminate with a timeout and no longer cause the main sos process to hang.
- Previous versions of the sos utility did not capture diagnostic data for OpenShift Node and Broker installations. With this update, configuration and state information is collected on applicable systems.
- Previously, information related to failed upgrades was not collected by the sosreport command. With this update, attempted upgrades leave diagnostic data in the host file system that can assist in determining the cause of the upgrade problem.
Users of sos are advised to upgrade to this updated package, which fixes these bugs and adds these enhancements.