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?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to