Public bug reported: I use an openvpn vpn through network manager to connect to the canonical vpn; when I suspend and resume my laptop the openvpn vpn does not come up again. However the DNS server that it inserted into my /etc/resolv.conf is left there, causing all dns lookups to take six seconds longer, until I either bring up the vpn again or hand-edit my resolv.conf.
I want the DNS server to be removed when the VPN is no longer functional. (The indicator knows the VPN is down, so presumably this is knowable.) Thanks ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: network-manager 0.9.8.8-0ubuntu7 ProcVersionSignature: Ubuntu 3.13.0-46.79-generic 3.13.11-ckt15 Uname: Linux 3.13.0-46-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.7 Architecture: amd64 CurrentDesktop: Unity Date: Sat Mar 14 15:27:30 2015 IfupdownConfig: auto lo iface lo inet loopback InstallationDate: Installed on 2012-10-18 (877 days ago) InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1) IpRoute: default via 192.168.1.1 dev wlan0 proto static 192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.2 metric 9 192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 NetworkManager.state: [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true WimaxEnabled=true SourcePackage: network-manager UpgradeStatus: Upgraded to trusty on 2014-04-12 (336 days ago) mtime.conffile..etc.NetworkManager.NetworkManager.conf: 2013-11-05T17:49:23 nmcli-dev: DEVICE TYPE STATE DBUS-PATH wlan0 802-11-wireless connected /org/freedesktop/NetworkManager/Devices/1 eth0 802-3-ethernet disconnected /org/freedesktop/NetworkManager/Devices/0 nmcli-nm: RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN running 0.9.8.8 connected enabled enabled enabled enabled enabled ** Affects: network-manager (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug trusty -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1432254 Title: stale openvpn dns servers left in /etc/resolv.conf Status in network-manager package in Ubuntu: New Bug description: I use an openvpn vpn through network manager to connect to the canonical vpn; when I suspend and resume my laptop the openvpn vpn does not come up again. However the DNS server that it inserted into my /etc/resolv.conf is left there, causing all dns lookups to take six seconds longer, until I either bring up the vpn again or hand-edit my resolv.conf. I want the DNS server to be removed when the VPN is no longer functional. (The indicator knows the VPN is down, so presumably this is knowable.) Thanks ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: network-manager 0.9.8.8-0ubuntu7 ProcVersionSignature: Ubuntu 3.13.0-46.79-generic 3.13.11-ckt15 Uname: Linux 3.13.0-46-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.7 Architecture: amd64 CurrentDesktop: Unity Date: Sat Mar 14 15:27:30 2015 IfupdownConfig: auto lo iface lo inet loopback InstallationDate: Installed on 2012-10-18 (877 days ago) InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1) IpRoute: default via 192.168.1.1 dev wlan0 proto static 192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.2 metric 9 192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 NetworkManager.state: [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true WimaxEnabled=true SourcePackage: network-manager UpgradeStatus: Upgraded to trusty on 2014-04-12 (336 days ago) mtime.conffile..etc.NetworkManager.NetworkManager.conf: 2013-11-05T17:49:23 nmcli-dev: DEVICE TYPE STATE DBUS-PATH wlan0 802-11-wireless connected /org/freedesktop/NetworkManager/Devices/1 eth0 802-3-ethernet disconnected /org/freedesktop/NetworkManager/Devices/0 nmcli-nm: RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN running 0.9.8.8 connected enabled enabled enabled enabled enabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1432254/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp