Control: tags -1 moreinfo
Hi,
with the appended configuration I am getting the following error messages:
$ logrotate -f /etc/logrotate.d/test
logrotate_script: 2: logrotate_script: eho: not found
error: error running non-shared prerotate script for
/var/log/test/old.testlog of '/var/log/test/old.testlog '
Are you able to reproduce any non-informative error messages, like the
mentioned "Unrecognized command", from logrotate in version 3.14.0-2
and up?
Best regards
Christian Göttsche
/var/log/test/old.testlog {
olddir rotated
rotate 0
dateext
dateformat
daily
missingok
notifempty
nocreate
nocompress
nosharedscripts
prerotate
eho $1
exit 1
endscript
}