[Pkg-utopia-maintainers] Bug#765356: clobbers resolv.conf

Daniel Pocock daniel at pocock.pro
Tue Oct 14 12:27:52 UTC 2014


Package: network-manager
Version: 0.9.4.0-10
Severity: serious

I've rated this serious because it makes the network unusable when it
happens and it requires a user with root privileges to rectify it.

NetworkManager successfully connects to a WLAN

Some time after that, I start an OpenSWAN VPN, for example, with "ipsec
start"

The VPN connects and the OpenSWAN log/console output shows something like:

    installing DNS server A.B.C.D to /etc/resolv.conf

and then almost immediately afterwards, I see some NetworkManager
entries in daemon.log:


NetworkManager[5219]: <info> Policy set 'SSID-FOOBAR' (wlan0) as default
for IPv4 routing and DNS.
NetworkManager[5219]: <info> Policy set 'SSID-FOOBAR' (wlan0) as default
for IPv6 routing and DNS.


and the OpenSWAN entries from resolv.conf are gone again.

If the VPN is being used for all routing (0.0.0.0/0) then the WLAN DNS
servers may not be accessible any more and so there are no useful DNS
servers in resolv.conf and all DNS requests time out.

Manually adding the VPN DNS back into resolv.conf everything works



More information about the Pkg-utopia-maintainers mailing list