If you are like me, you are notified of both email and syslog errors from your Linux hosts. If you aren’t, you don’t know what’s wrong with your computers. But if you are, you sometimes have to deal with noise, like this totally useless message:
From: AnacronTo: root@host.example.com Subject: Anacron job 'cron.daily' on host /etc/cron.daily/logrotate: gzip: stdin: file size changed while zipping
This is caused by a logrotate definition using “compress” without “delaycompress”. The error message is especially unhelpful because it doesn’t contain the filename causing the problem, due to the way logrotate invokes gzip as a pipeline.
Recent Comments