Hallo Florian,

Florian Weimer hat am Tue 08. Sep, 19:09 (+0000) geschrieben:
> * Jörg Sommer:
> 
> > I've selected no to get daily email reports, but the postinst script
> > asked me where daily reports should be send to. Because I'm using
> > dpkg-preconfigure this question from the postinst script pops up while
> > the installation and not while the preconfigure process. Please, ask the
> > question in the preconfigure process or not in the postinst script.
> 
> I don't understand this.  In postinst, I only call db_get.

Yes, you use db_get and not maybe_input as in debsecan.config. The
question in config is only asked if debsecan/report is true. But in
postinst, the question is asked always.

If I choose to not get reports, the config script doesn't ask the
question debsecan/mailto. So this stays unseen. Later the postinst script
doesn't honor the answer of debsecan/report and fetches the value of
debsecan/mailto. Because it's unseen the question is shown to the user.

Bye, Jörg.
-- 
$ cat /dev/random
#!/usr/bin/perl -WT
print "hello world\n";

Attachment: signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP

Reply via email to