[pkg-lighttpd] Bug#446324: lighttpd: stderr not closed

Michal Čihař nijel at debian.org
Tue Oct 30 01:18:06 UTC 2007


Hi

On Mon, 29 Oct 2007 19:44:31 +0100
Olaf van der Spek <Olaf at XWIS.Net> wrote:

> stderr does seem to get closed if server.errorlog is set, so I guess 
> that's not the issue.

You seem to be right, I only remembered there was issue with stderr in
past and I assumed that it is back.

> Michal, is this reproducable with a simple shell script instead of via 
> postinst?

I can reproduce it only in postinst (the code is actually already in
phpmyadmin package, just the debconf option for lighttpd is not there
as it would break).

After some more testing it seems that some interaction between debconf
and lighttpd causes this. You can reproduce it by following script:

#!/bin/sh
. /usr/share/debconf/confmodule
invoke-rc.d lighttpd reload

The "fix" for this seems to be to use 

invoke-rc.d lighttpd reload 3>/dev/null 

however I don't know why this fixes it, at it looks to me more like a
workaround than a fix to me :-).

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-lighttpd-maintainers/attachments/20071030/283e3b4e/attachment.pgp 


More information about the pkg-lighttpd-maintainers mailing list