Bug 1321980

Summary: Logrotate doesn't rotate logs if /var/lib/logrotate.status is corrupted
Product: Red Hat Enterprise Linux 7 Reporter: Tomas Dolezal <todoleza>
Component: logrotateAssignee: Kamil Dudka <kdudka>
Status: CLOSED WONTFIX QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: low    
Version: 7.2CC: ajb, jkaluza, mkoci, mmalik, rvokal, thozza, toracat, tsmetana
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Needless to document.
Story Points: ---
Clone Of: 447022 Environment:
Last Closed: 2016-07-11 11:45:58 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: 447022    

Comment 5 Kamil Dudka 2016-06-28 14:21:46 UTC
This is caused by the following upstream commit:

https://github.com/logrotate/logrotate/commit/r3-8-5~20

... which intentionally reverted the original fix:

https://github.com/logrotate/logrotate/commit/r3-7-8~11

Should we revert the revert to get this fixed?

Comment 6 Kamil Dudka 2016-06-30 11:25:08 UTC
Honza is fine with reverting the revert for RHEL-7.  There is still a question how to solve this properly in upstream.  We also need to discover why the file gets corrupted.

Comment 10 Kamil Dudka 2016-07-11 10:36:01 UTC
The fix for this bug causes a regression: bug #1354203 comment #15

I will revert the fix and remove this bug from the RHEL-7.3 erratum.

Comment 12 Kamil Dudka 2016-07-11 11:45:58 UTC
The fix for this bug introduces a change in behavior, which we try to avoid in RHEL.  Additionally, it already caused a regression (bug #1354203 comment #15).  I am closing this bug as WONTFIX.  Feel free to reopen if you have a business justification for it.