[Pkg-utopia-maintainers] Bug#745103: network-manager: NM doesn't remove VPN dns from resolv.conf when VPN connection is closed

Mike Hommey mh+reportbug at glandium.org
Thu Apr 17 23:51:57 UTC 2014


Package: network-manager
Version: 0.9.8.8-5
Severity: important

Dear Maintainer,

Steps to reproduce:
- Look at /etc/resolv.conf
- Setup a VPN connection when the other end pushes DNS configuration
- Connect to that VPN.
- Look at /etc/resolv.conf getting the VPN DNS added
- Disconnect from VPN
- Look at /etc/resolv.conf *not* being updated (or, if you're lucky, just have the entries reordered, but that doesn't happen a lot)

The outcome is that every connection from thereafter is slow because the first thing libc does is to query the VPN DNS since it's first, which, since you're not connected anymore, doesn't answer.

A cursory look at the code suggests this is a problem on network-manager's end, not on the particular VPN plugin's end, but fwiw, i'm using the n-m-openvpn plugin.

Mike

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages network-manager depends on:
ii  adduser                3.113+nmu3
ii  dbus                   1.8.0-3
ii  init-system-helpers    1.18
ii  isc-dhcp-client        4.2.4-7
ii  libc6                  2.18-4
ii  libdbus-1-3            1.8.0-3
ii  libdbus-glib-1-2       0.102-1
ii  libgcrypt11            1.5.3-4
ii  libglib2.0-0           2.40.0-2
ii  libgnutls26            2.12.23-13
ii  libgudev-1.0-0         204-8
ii  libmm-glib0            1.0.0-4
ii  libnl-3-200            3.2.24-1
ii  libnl-genl-3-200       3.2.24-1
ii  libnl-route-3-200      3.2.24-1
ii  libnm-glib4            0.9.8.8-5
ii  libnm-util2            0.9.8.8-5
ii  libpam-systemd         204-8
ii  libpolkit-gobject-1-0  0.105-4
ii  libsoup2.4-1           2.46.0-2
ii  libsystemd-login0      204-8
ii  libuuid1               2.20.1-5.7
ii  lsb-base               4.1+Debian12
ii  policykit-1            0.105-4
ii  udev                   204-8
ii  wpasupplicant          1.1-1

Versions of packages network-manager recommends:
ii  crda          1.1.2-1
ii  dnsmasq-base  2.68-1
ii  iptables      1.4.21-1
ii  modemmanager  1.0.0-4
ii  ppp           2.4.5+git20130610-4

Versions of packages network-manager suggests:
ii  avahi-autoipd  0.6.31-4

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list