On Tue, Sep 08, 2009 at 07:09:35PM +0000, Florian Weimer wrote:
> * 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.  In
> addition to that, these questions are all low priority, so you
> shouldn't see them during installation.

I think the problem is that you ship /etc/default/debsecan
as a dpkg conffile.

When the package is preconfigured, the file doesn't exist yet and the
debconf database is seeded. On install, the config script is run again
just before the postinst (see debconf-devel(7)) but now the default
configuration file has been unpacked, so the debconf settings are
overwritten.

As for the priority, Jörg seems to be using DEBIAN_PRIORITY=low or
somesuch.
-- 
Niko Tyni   [email protected]



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to