Red Hat Bugzilla – Bug 163725
Logrotate Fails and doesn't give enough info
Last modified: 2007-11-30 17:11:10 EST
Description of problem:
If logrotate fails running a postrotate script, it doesn't indicate in the
output which failed.
Steps to Reproduce:
1. Create or Edit a Logrotate entry
2. Add a postrotate script that will fail. something like /bin/false
3. Wait for logrotate to run and get the error message below
error: error running postrotate script
error: error running postrotate script for /var/log/messages
Presumably it will fail on a prerotate script too, but I haven't tested that.