On Sat, Feb 08, 2003 at 11:42:39AM +1100, Iain wrote: > I am having a problem using debconf in my postinst:
> ./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. 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. -- "You grabbed my hand and we fell into it, like a daydream - or a fever."

