[pkg-lighttpd] Bug#419992: Bug#419992: (no subject)

Pierre Habouzit madcoder at debian.org
Sun Jul 29 13:24:08 UTC 2007


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                                                madcoder at debian.org
OOO                                                http://www.madism.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-lighttpd-maintainers/attachments/20070729/fa69ca17/attachment.pgp 


More information about the pkg-lighttpd-maintainers mailing list