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)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to