Bug 847338
Summary: | logrotate ignores create mode | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Daniel Crisman <fixing-stuff-d-f-crisman-redhat-bugzilla> |
Component: | logrotate | Assignee: | Jan Kaluža <jkaluza> |
Status: | CLOSED ERRATA | QA Contact: | Tomas Dolezal <todoleza> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3 | CC: | azelinka, jorton, mooney, SCHAKRAB |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | logrotate-3.7.8-17.el6 | Doc Type: | Bug Fix |
Doc Text: |
Cause: Setting the ACL on rotated log overwrote the previously set mode of the log file.
Consequence: "create" directive was ignored.
Fix: When "create" directive is used, ACL are not copied from old log file and mode defined using "create" directive is used instead.
Result: "create" mode works like before and is not ignored.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-07-18 09:35:05 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Daniel Crisman
2012-08-10 15:25:33 UTC
Thanks for the report. I think patch I've just committed into logrotate repository should fix this issue. I have also added two tests to test the fix. https://fedorahosted.org/logrotate/changeset/382 This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux. We are being impacted by this issue too and would like to see the fix included in a logrotate release before RHEL 6.4. 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-1095.html |