Comment 10 for bug 922677

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 922677] Re: resolvconf should only convert /etc/resolv.conf to a symlink at initial installation time

On Sat, Jan 28, 2012 at 12:49:32PM -0000, Thomas Hood wrote:
> > I think the long term correct solution would be
> > to drop the debconf question altogether and
> > adjust the package to only linkify on initial install,

> You mean that the postinst refrains from linkifying if the argument of
> "configure" is non-null? In that case the postinst refrains from
> linkifying in the case where the package is being installed after having
> been removed; only installing after a purge counts again as an initial
> install. Sounds OK.

Ah, I didn't actually consider the remove-without-purge->install case. I
think having install->remove->install result in /etc/resolv.conf being a
file rather than a symlink is actually a pretty bad outcome. More thinking
is needed here.

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
<email address hidden> <email address hidden>