Hi

On Mon, 29 Oct 2007 19:44:31 +0100
Olaf van der Spek <[EMAIL PROTECTED]> 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

Attachment: signature.asc
Description: PGP signature

Reply via email to