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 980481 - Rotate /var/log/messages on rhev-h.
Summary: Rotate /var/log/messages on rhev-h.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ovirt-node
Version: 6.5
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: rc
: ---
Assignee: Mike Burns
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 975518
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-02 13:58 UTC by Idith Tal-Kohen
Modified: 2013-11-28 00:08 UTC (History)
19 users (show)

Fixed In Version: ovirt-node-2.5.0-17.el6_4.6
Doc Type: Bug Fix
Doc Text:
The log rotation configuration stored in the /etc/logrotate.d/syslog file was not correctly set up to rotate the /var/log/messages file. As a result the /var/log/messages file was deleted instead of rotated when the log rotation cron job ran. The /etc/logrotate.d/syslog file has been updated to correctly configure log rotation for the /var/log/messages file.
Clone Of:
Environment:
Last Closed: 2013-07-16 15:30:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1077 0 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update 2013-07-16 19:29:13 UTC

Description Idith Tal-Kohen 2013-07-02 13:58:25 UTC
This bug has been copied from bug #975518 and has been proposed
to be backported to 6.4 z-stream (EUS).

Comment 5 wanghui 2013-07-03 08:38:36 UTC
This bug has been fixed in ovirt-node-2.5.0-17.el6_4.6.noarch(rhev-hypervisor6-6.4-20130702.0.el6_4.noarch.rpm).

Test steps:
1. Clean install rhev-hypervisor6-6.4-20130702.0.el6_4.
2. Check the /etc/cron.d/ovirt-logrotate file and the output as follows.
   */10 * * * * root /usr/sbin/logrotate /etc/logrotate.conf
3. Run for a while.
4. Change the system date to one week later.
5. Reboot the host.
6. Check in /var/log.

Results:
After step6, there is another rotated messages file in /var/log.

So the bug is fixed in this build. Change the status from ON_QA to VERIFIED.

Comment 7 errata-xmlrpc 2013-07-16 15:30:04 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-2013-1077.html


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