Bug 79936 - 'olddir' handling is broken
'olddir' handling is broken
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: logrotate (Show other bugs)
1.0
All Linux
medium Severity high
: ---
: ---
Assigned To: Elliot Lee
Jay Turner
:
: 80062 (view as bug list)
Depends On:
Blocks: 79579
  Show dependency treegraph
 
Reported: 2002-12-17 23:06 EST by Enrico Scholz
Modified: 2015-01-07 19:02 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-01-14 13:26:56 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch against logrotate-3.6.6 fixing olddir-behavior (1.23 KB, patch)
2002-12-25 13:59 EST, Enrico Scholz
no flags Details | Diff

  None (edit)
Description Enrico Scholz 2002-12-17 23:06:12 EST
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%
Comment 1 Enrico Scholz 2002-12-25 13:59:22 EST
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
Comment 2 Elliot Lee 2003-01-14 13:25:06 EST
*** Bug 80062 has been marked as a duplicate of this bug. ***
Comment 3 Elliot Lee 2003-01-14 13:26:56 EST
Applied, thanks.

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