Bug 79936
| Summary: | 'olddir' handling is broken | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Raw Hide | Reporter: | Enrico Scholz <rh-bugzilla> | ||||
| Component: | logrotate | Assignee: | Elliot Lee <sopwith> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Jay Turner <jturner> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 1.0 | CC: | alden, srevivo | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2003-01-14 18:26:56 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: | 79579 | ||||||
| Attachments: |
|
||||||
Created attachment 88905 [details]
Patch against logrotate-3.6.6 fixing olddir-behavior
The attached patch fixes the following issues:
* the check if olddir is an absolute or relative path was broken
* the check if olddir and logfile are on the same device happened too early
*** Bug 80062 has been marked as a duplicate of this bug. *** Applied, thanks. |
Description of problem: logrotate creates error-messages like: | error: amd:4 error verifying olddir path /var/log//var/log/.old: No such file or directory 'olddir' is set by /etc/logrotate.d/00options: | olddir /var/log/.old /etc/logrotate.d/apm does not contain an 'olddir' specification Version-Release number of selected component (if applicable): logrotate-3.6.6-1 How reproducible: 100%