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

debconf woes



I have a postinst that does the following:

	# get settings from debconf
	. /usr/share/debconf/confmodule
	db_get pure-ftpd/standalone-or-inetd
	SOI="$RET"
	db_get pure-ftpd/ftpwho-setuid
	SUID="$RET"
	db_stop

later, it calls update-inetd, which may prompt the user under some
circumstances. The problem is that even though I've called db_stop to
close communication with debconf, standard input seems to not be
restored. This causes update-inetd (or even a sh "read") to hang.

Am I doing something wrong? What's the right way to get input from stdin
after using debconf?

Jason



Reply to: