Comment 28 for bug 387189

Revision history for this message
Jonathan Marsden (jmarsden) wrote : Re: /dev/null corrupted (/dev/null.1)

It seems to me a patch to /etc/logrotate.d/apache2 is the simplest solution.

The attached diff tries to solve the issue and also be more readable,
breaking the one complex line involving backticks into three shorter
simpler lines, no backticks needed.

There are a lot of cases to test this with, and I doubt I have yet tested all of them...
with and without a full apache2 installation, with and without apache running,
with and without making changes to the envvars file to put the PID file elsewhere...

Anyway, here is a patch that looks sane to me. Comments welcomed, testing
even more welcomed :)