Bug 683537

Summary: [RFE] Do not use log rotation for /var/log/boot.log
Product: Red Hat Enterprise Linux 6 Reporter: J.H.M. Dassen (Ray) <rdassen>
Component: rsyslogAssignee: Tomas Heinrich <theinric>
Status: CLOSED ERRATA QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: ebenes, jkodak, jose.p.oliveira.oss, ksrot, pvrabec, rbinkhor, sandro.bonazzola, spurrier
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 745093 860991 (view as bug list) Environment:
Last Closed: 2011-12-06 16:51:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 607248, 703208    

Description J.H.M. Dassen (Ray) 2011-03-09 16:39:54 UTC
2. What is the nature and description of the request?

rsyslog includes /var/log/boot.log in the /etc/logrotate.d/syslog file. Since
the boot.log file is only written to during boot up, it doesn't need to be
rotated on a schedule. 

3. Why does the customer need this? (List the business requirements here)

Currently, the rotation is causing a new boot.log file to get created with zero
length while the old one gets a date appended to it. Eventually, when enough
rotations occur, the boot.log data gets lost.

4. How would the customer like to achieve this? (List the functional
requirements here)

Customer is requesting to change the default behaviour so syslog will not
include boot.log in logrotate.d file.

5. For each functional requirement listed in question 4, specify how Red Hat
and the customer can test to confirm the requirement is successfully
implemented.

Test in lab environment. 

6. Is there already an existing RFE upstream or in Red Hat bugzilla?

No.

7. How quickly does this need resolved? (desired target release)

RHEL 6.2 is the desired release.  

8. Does this request meet the RHEL Inclusion criteria (please review)

Yes.  

9. List the affected packages

rsyslog

Comment 3 Sandro Bonazzola 2011-06-27 09:22:08 UTC
Present in Fedora 15 also.
After the boot,/var/log/boot.log is empty.
The log of the boot are in var/log/boot.log-<today>

rpm -qf /etc/logrotate.d/syslog 
rsyslog-5.7.9-3.fc15.i686

Comment 7 errata-xmlrpc 2011-12-06 16:51:34 UTC
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/RHBA-2011-1673.html

Comment 8 Jose Pedro Oliveira 2011-12-14 20:41:21 UTC
(In reply to comment #0)
> 
> 9. List the affected packages
> 
> rsyslog

And syslog-ng from EPEL (as all syslog daemons packages in RedHat/Fedora must ship the same logrotate file to avoid file conflicts).

File conflicts caused by this update in #767761.

/jpo