On Tue, May 16, 2006 at 12:42 +0200, Frank Küster wrote: > But anyway, we should try to detect whether the > frontend is noninteractive, and output something on stderr in that > case. But how to do that?
No idea. But is it necessary to detect noninteractive use? I would suggest some very short messages which get the admin started instead of the full explanation that is avaiable via debconf, Something like: Error in $file: $variable not defined. Error in $file: $variable incorrectly defined. And in the end: Unrecoverable errors in your configuration have been detected. Exiting. [For details see your mail and/or use an interactive debconf frontend.] Everything but the last sentence would be useful for the admin that saw the debconf messages, too, simply because it will still be available on the screen once the debconf messages are gone. And for noninteractive use, the admin should now know enough to find out what's wrong. What do you think? cheerio ralf