Re: Asking Debconf questions about database data
Philipp Kern <firstname.lastname@example.org> writes:
> what's the common practise if a package gets purged and depends on
> user-supplied data in a database? In this case these are DNS zones (it's
> about `mydns-mysql'). Currently there is a Debconf question in postrm,
> which is definitely wrong because I cannot rely on Debconf being
> installed at purge time. So I wanted to move it to prerm, but then I
> don't know if the package is really purged.
> Should one ask such a question at all? And if so, upon installation? I
> personally feel that it should be presented on removal if at all
> possible because then the user really knows what he wants to do. The
> policy itself is about removing all configuration files on purge, but
> does this include user data like supplied DNS records?
Both PostgreSQL and the MIT Kerberos KDC (following PostgreSQL) ask the
question on installation with debconf.
Russ Allbery (email@example.com) <http://www.eyrie.org/~eagle/>