forwarded 419992 http://trac.lighttpd.net/trac/ticket/1160
thanks

On Sun, Jul 29, 2007 at 03:00:17PM +0200, Olaf van der Spek wrote:
>  > After a lot of trial and error it seems that the addition of 2>&1 to
>  > both lines in the /etc/logrotate.d/lighttpd solves this problem:
>
> That'd be a work around, not a solution.

indeed.

> Maybe Lighttpd closes stdout but not stderr and stderr gets inherited by 
> the PHP process?

  it's likely, and lighttpd should be fixed for that, but the workaround
is faster, and it'll work the same (as lighty would have to open
/dev/null and dup2 it onto file descriptor 2, which is completely the
same as 2>&1 in that case.

  I don't like dirty workarounds, but this one is benign.

  FWIW it's likely it is upstream bug 1160...

-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org

Attachment: pgpIhxBClboj7.pgp
Description: PGP signature

Reply via email to