Public bug reported:
- Install logrotate
- Run "/etc/cron.daily/logrotate" ## The first logrotate run will generate the
- Modify "/var/lib/logrotate/status" by removing the first line in order to
corrupt the file
- Re-run "/etc/cron.daily/logrotate" and you will get something like this
"error: bad top line in state file /var/lib/logrotate/status" every time you
logrotate never recovers if the statefile is corrupted unless you remove
it or fix the corruption by hand.
System will eventually run out of disk space and crash.
** Affects: logrotate (Ubuntu)
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
logrotate never recovers if the statefile is corrupted
To manage notifications about this bug go to:
ubuntu-bugs mailing list