Red Hat Bugzilla – Bug 82808
olddir directive broken (or changed?)
Last modified: 2015-01-07 19:03:11 EST
Description of problem:
The "olddir" directive appears to be broken. Specifically, the olddir option
now seems to be interpreted relative to the directory which contains the logfile
being processed. (The previous behavior was that olddir specified an absolute
If this is an intentional change, then please update the documentation (i.e.,
the man page) to reflect the change.
Version-Release number of selected component (if applicable):
Replace the contents of /etc/logrotate.d/rpm with this:
/usr/sbin/logrotate --debug=100 /etc/logrotate.conf
error: rpm:9 error verifying olddir path /var/log//var/log/OLD: No such file or
Logrotate puts the rotated log files in /var/log/OLD.
What logrotate version are you running (logrotate, not logwatch)?
Argh... I apologize for my inability to differentiate LOGWATCH from LOGROTATE.
(This isn't the first time...)
$ rpm -qa | grep -i ^log | sort
I grabbed logrotate-3.6.8-1 from Rawhide, and this bug is fixed; the olddir
directive is correctly interpreted as an absolute path (the same as previous
versions). Danke; I'm closing this report.