[Resolvconf-devel] Bug#681623: closed by Thomas Hood <jdthood at gmail.com> (Re: Bug#681623: resolvconf: doesn't clean up configfiles)
Christoph Anton Mitterer
calestyo at scientia.net
Tue Jul 17 12:05:07 UTC 2012
reopen 681623
stop
Hi Thomas.
>> Apparently resolvconf dropped
>> /etc/dhcp3/dhclient-enter-hooks.d/resovconf anymore.
>> But it's not removed and still listed by dpkg as part of the
>> package.
>It does get removed on purge in the postrm.
>It can't be removed earlier than that because it might be in use.
I think you got me wrong,... I'm not talking about purging, but
upgrading.
As far as I can see:
$ dpkg-deb -x resolvconf_1.67_all.deb .
$ l etc/dhcp3/dhclient-enter-hooks.d/resovconf
ls: cannot access etc/dhcp3/dhclient-enter-hooks.d/resovconf: No such
file or directory
That file is no longer part of new installations, right? It's also not
created or copied by the maintainer scripts.
That means that older installations will never have it removed (unless
the package is purged - but why should one?) unless you use the correct
debhelper scripts[0], that remove the obsolete config file, if it wasn't
modified.
Therefore reopening,
Cheers,
Chris.
[0] See e.g.
http://raphaelhertzog.com/2010/10/07/the-right-way-to-remove-an-obsolete-conffile-in-a-debian-package/
https://wiki.debian.org/DpkgConffileHandling
More information about the Resolvconf-devel
mailing list