Control: tags -1 moreinfo unreproducible
Hi,
I ran your configuration with version 3.14.0-2 and the result looks sane.
Are you able to reproduce your issue with version 3.14.0-2?
Best regards
Christian Göttsche
$ logrotate -v -f /etc/logrotate.d/test
reading config file /etc/logrotate.d/test
olddir is now rotated
Reading state from file: /var/lib/logrotate/status
Allocating hash table for state file, size 64 entries
Creating new state
Creating new state
Creating new state
Creating new state
Handling 2 logs
rotating pattern: /var/log/test/*.log forced from command line (2 rotations)
empty log files are not rotated, old logs mailed to root
considering log /var/log/test/*.log
error: stat of /var/log/test/*.log failed: No such file or directory
rotating pattern: /var/log/test/old.testlog forced from command line
(no old logs will be kept)
olddir is rotated, empty log files are not rotated, old logs are removed
considering log /var/log/test/old.testlog
Now: 2018-08-22 22:05
Last rotated at 2018-08-22 22:04
log needs rotating
rotating log /var/log/test/old.testlog, log->rotateCount is 0
Converted '' -> ''
dateext suffix ''
glob pattern ''
glob finding old rotated logs failed
running prerotate script
/var/log/test/old.testlog
error: error running non-shared prerotate script for
/var/log/test/old.testlog of '/var/log/test/old.testlog '