Red Hat Bugzilla – Bug 867803
rhui-debug.py should not collect /var/log/httpd
Last modified: 2013-02-27 11:59:51 EST
Description of problem:
The rhui-debug.py script is intended to be called from sosreport to gather rhui-specific diagnostic data from systems.
The current version collects the /var/log/httpd directory:
Copying contents of directory [/var/log/httpd/] to [/tmp/rhui-debug-2012-08-03-T11-26-40/var/log/httpd/]
This duplicates the functionality of the sos httpd module - this will automatically collect these logs when the package is installed meaning that we will have two copies of a potentially large directory in the resulting archive.
We should remove this in a future update to ensure to keep the tarball size down to a minimum.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run "python /usr/share/rh-rhua/rhui-debug.py"
2. Note paths collected
Paths include /var/log/httpd
Paths only include rhui-specific files
Author: Sayli Karmarkar <email@example.com>
Date: Thu Oct 18 12:35:45 2012 -0700
867803 - removing collection of files under /var/log/httpd from rhui-debug script since sosreport collects it by default when httpd is installed
Moving over to 2.1.1, so we pick this up during the planned release cycle.
[root@rhua ~]# rpm -q rh-rhui-tools
[root@rhua ~]# python /usr/share/rh-rhua/rhui-debug.py | grep '/var/log/httpd/' | wc -l
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.