Bug 516551 - sosreport -k general.syslogsize=15 doesn't work
Summary: sosreport -k general.syslogsize=15 doesn't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: sos
Version: 5.5
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Adam Stokes
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-10 12:27 UTC by Issue Tracker
Modified: 2018-10-27 15:53 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-30 08:07:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0201 0 normal SHIPPED_LIVE sosreport bug fix and enhancement update 2010-03-29 12:26:44 UTC

Comment 2 James G. Brown III 2009-08-25 15:39:46 UTC
Only messages.* and secure.* adhere to a size limit when running an sosreport. messages and secure themselves or any other /var/log/ file are not as the output of sosreport -l suggests with the general.syslogsize option

general.syslogsize    15 max size (MiB) to collect per syslog file

This is leading to huge sosreports and wasted space in /tmp

Comment 4 joshua 2009-10-28 20:56:35 UTC
Not wasted space in /tmp... it is worse than that.  The issue is that if there isn't so much space available in /tmp, and we have a 5+gig /var/log/messages file, sosreport will never complete.  It fills up /tmp, and dies.

As I understand it, this is because the limits are applied to /var/log/messages.*, not to /var/log/messages itself!  Should take about, what, 10 minutes to fix?

Comment 9 Chris Ward 2010-02-11 10:12:13 UTC
~~ Attention Customers and Partners - RHEL 5.5 Beta is now available on RHN ~~

RHEL 5.5 Beta has been released! There should be a fix present in this 
release that addresses your request. Please test and report back results 
here, by March 3rd 2010 (2010-03-03) or sooner.

Upon successful verification of this request, post your results and update 
the Verified field in Bugzilla with the appropriate value.

If you encounter any issues while testing, please describe them and set 
this bug into NEED_INFO. If you encounter new defects or have additional 
patch(es) to request for inclusion, please clone this bug per each request
and escalate through your support representative.

Comment 13 errata-xmlrpc 2010-03-30 08:07:27 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2010-0201.html


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