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

Michael Biebl biebl at debian.org
Wed Jun 8 11:15:20 UTC 2016


Am 08.06.2016 um 11:47 schrieb Julian Gilbey:
> Question: If the symlink is reverted to an empty file on stop, but the
> /var/run version is kept intact, would NM pick it up again on restart,
> just by recreating the symlink?  Or does NM recreate the /var/run
> version on startup anyway? 

The latter

 If either of these are the case, then it
> seems that it would be fine to revert /etc/resolv.conf on stop, as it
> should have no bad effects (and possibly some good ones).
> 
> Incidentally, it seems as though NM obliterates any previously
> existing resolv.conf when it is first run, so there is no hope of
> reinstating the previous version.  This does not seem ideal, either.

Well, the /etc/resolv.conf interface is simply an aweful one. We have
multiple programs writing to the file. Restoring the old
/etc/resolv.conf is not necessarily the best idea, as it might contain
stale data.
So the problem seems to be, that programs behave different if
/etc/resolv.conf is a symlink and not a file.
Couldn't wicd be changed to takeover the symlink?
-- 
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/20160608/2a484507/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list