Comment 29 for bug 387189

Revision history for this message
Stefan Fritsch (sf-sfritsch) wrote : Re: /dev/null corrupted (/dev/null.1)

This is a logrotate issue and happens if the specified logfile directory (in this case /var/log/apache2) does not exist and the postrotate script contains a closing '}'. Therefore I don't think Jonathan's patch would fix the issue completely.

The full info is at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571033 and https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/392532

The patch is included in logrotate 3.7.8-5 and newer.