[Pkg-utopia-maintainers] Bug#826366: Bug#826366: network-manager: does not remove resolv.conf symlink on package removal

Michael Biebl biebl at debian.org
Sun Jun 5 21:44:35 UTC 2016


Hi Julian


Am 05.06.2016 um 01:56 schrieb Julian Gilbey:
> I have been having some problems with network-manager recently (as
> reported in another bug report), so I thought I'd try out wicd
> instead.  I purged NM and the related packages, but wicd would not
> work.  I tracked down the reason: /etc/resolv.conf was still symlinked
> to the now non-existent file /var/run/NetworkManager/resolv.conf
> 
> So when network-manager shuts down, it should revert /etc/resolv.conf
> to a regular file.  This should also be checked when the package is
> removed (and unarguably when the package is purged).

I'm not convinced replacing /etc/resolv.conf on stop is a good idea, so
I won't do that.

On remove/purge yes, it makes sense to turn it back into a real file
(I'll probably just make it an empty one), since other tools expect it
to be a file and behave differently if it's a symlink.

Regards,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20160605/17a729a7/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list