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 1325458 - logrotate-3.8.6-7: error renaming temp state file /var/lib/logrotate.status.tmp
Summary: logrotate-3.8.6-7: error renaming temp state file /var/lib/logrotate.status.tmp
Keywords:
Status: CLOSED DUPLICATE of bug 1272236
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: logrotate
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Kamil Dudka
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-08 21:25 UTC by Douglas Schilling Landgraf
Modified: 2016-09-02 13:37 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-02 11:15:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Douglas Schilling Landgraf 2016-04-08 21:25:08 UTC
Description of problem:

# cat /etc/redhat-release 
Red Hat Enterprise Virtualization Hypervisor release 7.2 (20160407.0.el7ev)

# rpm -qa | grep -i logrotate
logrotate-3.8.6-7.el7_2.x86_64

# /usr/sbin/logrotate /etc/vdsm/logrotate/vdsm
error: error renaming temp state file /var/lib/logrotate.status.tmp

Version-Release number of selected component (if applicable):
logrotate-3.8.6-7.el7_2.x86_64

Additional info:

- audit logs or setenforce 0 doesn't help
- filesystem in rw doesn't help
- If I use --state /var/lib/logrotate.status-alt 
- Looks like it needs a backport from: https://bugzilla.redhat.com/show_bug.cgi?id=1127415 and https://bugzilla.redhat.com/show_bug.cgi?id=1228531 and a fix into rwtab (for /var/lib).

Comment 2 Kamil Dudka 2016-07-01 09:20:47 UTC
Sorry for the late reply on this.  I am a new maintainer of logrotate.  Could you please provide some steps to reproduce it on a fresh RHEL-7 installation?

Comment 4 Kamil Dudka 2016-09-02 11:15:57 UTC
As I understand this bug report, it is a duplicate of bug #1272236.

*** This bug has been marked as a duplicate of bug 1272236 ***

Comment 5 Douglas Schilling Landgraf 2016-09-02 13:37:30 UTC
(In reply to Kamil Dudka from comment #4)
> As I understand this bug report, it is a duplicate of bug #1272236.
> 
> *** This bug has been marked as a duplicate of bug 1272236 ***

Yes, looks like the same, thanks for fixing.


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