From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003
Description of problem:
olddir basicvally only works when specifying an absolute path.
I'd like to sepcify olddir as an relative path in which case the directory of
the logfile name is prepensded to it to form the actual
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. example logrotate.conf:
2. run logrotate
3. you get an error message and logrotate quits
error: /etc/logrotate.conf:14 error verifying olddir path oldlogs: No such file
Expected Results: It shoudl prepend '/root/' to olddir and use that als the
resulting olddir value.
I've a patch ready for this
Created attachment 86244 [details]
diff to alood relative paths for olddir
I've put something along these lines into CVS. Seems to pass 'make test', good enough for
Thanks for the patch!