Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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