Comment 6 for bug 922677

Revision history for this message
Thomas Hood (jdthood) wrote :

> As for the debconf change, that was on the
> recommendation of Steve, so I assume that's
> fine. Maybe not the recommended way but
> certainly not the worst way of doing it either :)

I worry that doing this violates the principle that debconf is not a registry. Debconf is a way for the administrator to make her preferences known and that is all. To change the answer to a debconf question to record the fact that a maintainer script has run is to use debconf as a record of system state.

In Debian there are already a couple of ways of preventing the resolvconf package from replacing /etc/resolv.conf with a symlink on upgrade.
* Remove the resolvconf package
* Manually change the answer to the linkify-resolvconf question, using dpkg-reconfigure
* Make the file immutable

(The last case is currently treated as an error if the answer to linkify-resolvconf is true, but we could decide to treat it as a valid condition instead.)

--
Thomas Hood