[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
	db_get pure-ftpd/ftpwho-setuid

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?


Reply to: