[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

Jonathan Marsden 387189 at bugs.launchpad.net
Sun Jan 30 01:46:45 UTC 2011


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 :)


** Patch added: "Patch to postrotate script within /etc/logrotate.d/apache2"
   https://bugs.launchpad.net/ubuntu/+source/logrotate/+bug/387189/+attachment/1816129/+files/logrotate-apache2.diff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.
https://bugs.launchpad.net/bugs/387189

Title:
  /dev/null corrupted (/dev/null.1)



More information about the Ubuntu-server-bugs mailing list