[Pkg-utopia-maintainers] Bug#672963: network-manager: add /etc/NetworkManager/VPN/ to dirs, must exist to pick up new VPN plugins

Mike Miller mtmiller at ieee.org
Mon May 14 23:31:23 UTC 2012


Package: network-manager
Version: 0.9.4.0-3
Severity: normal

Please add /etc/NetworkManager/VPN/ to network-manager.dirs.  If this directory
does not exist, it appears to be random whether the first VPN plugin to drop a
..name file in that directory will be correctly detected or not.  On my system,
it seems to be more likely than not that it will not be registered until NM is
restarted.  This leads to behavior where the VPN seems to be available in the
gnome applet but cannot be started.

Steps to reproduce:
1) dpkg --purge network-manager-{openconnect,openvpn,pptp,vpnc}{,-gnome}
2) ls /etc/NetworkManager/VPN/
3) tail -f /var/log/daemon.log
4) apt-get install network-manager-$favorite-gnome
5) touch /etc/NetworkManager/VPN/*.name

At step 2:

    ls: cannot access /etc/NetworkManager/VPN/: No such file or directory

At step 4, no NetworkManager message shows up in daemon.log, wait as long as
you like.

At step 5, I see:

    NetworkManager[2516]: <info> VPN: loaded
org.freedesktop.NetworkManager.openconnect

I have a Python script using the same gio directory monitoring functions as NM
that confirms the behavior.  This could potentially be reported to glib and
fixed there, but the safest thing would be for NM to ensure that the directory
is always present.



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

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

Versions of packages network-manager depends on:
ii  adduser                3.113+nmu1
ii  dbus                   1.5.12-1
ii  dpkg                   1.16.3
ii  isc-dhcp-client        4.2.2.dfsg.1-5
ii  libc6                  2.13-32
ii  libdbus-1-3            1.5.12-1
ii  libdbus-glib-1-2       0.98-1
ii  libgcrypt11            1.5.0-3
ii  libglib2.0-0           2.32.2-1
ii  libgnutls26            2.12.18-1
ii  libgudev-1.0-0         175-3.1
ii  libnl-3-200            3.2.7-2
ii  libnl-genl-3-200       3.2.7-2
ii  libnl-route-3-200      3.2.7-2
ii  libnm-glib4            0.9.4.0-3
ii  libnm-util2            0.9.4.0-3
ii  libpolkit-gobject-1-0  0.104-2
ii  libuuid1               2.20.1-4
ii  lsb-base               4.1+Debian2
ii  udev                   175-3.1
ii  wpasupplicant          0.7.3-6

Versions of packages network-manager recommends:
ii  crda          1.1.2-1
ii  dnsmasq-base  2.61-1
ii  iptables      1.4.13-1.1
ii  modemmanager  0.5.2.0-1
ii  policykit-1   0.104-2
ii  ppp           2.4.5-5.1

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

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list