[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debconf causes hang

On Sun, 9 Feb 2003 12:27, Mark Brown wrote:
> >         ./configure --admin $ADMIN --domain $DOMAIN --bindir /usr/sbin
> > --notify $NOTIFY --install
> >
> > The problem is that when it gets to the above configure line (which
> > expects user input), it just hangs whereas if I run it from the command
> > line it works fine.
> Does the configure line start a daemon running?  If so, try using the
> debconf command db_stop before calling it.  

No. It just requires user IO. I already use db_stop (see original post)

> Debconf uses a pipe to communicate with your postinstall script and does
> not exit until that pipe is closed.  Since processes get a copy of the
> open file descriptors of the parent process when started this can lead
> to the daemon holding open the pipe that debconf is waiting to have
> closed.

Reply to: