[Pkg-utopia-maintainers] Bug#527975: Lost ability to start OpenVPN connection after upgrade

Jeff Licquia licquia at debian.org
Sat May 9 21:31:22 UTC 2009


Package: network-manager-openvpn
Version: 0.7.1-1
Severity: grave
Tags: patch

After upgrading from the previous version of the package in squeeze to 
the current version, I was unable to start the OpenVPN connection I use 
to secure my wireless network.

Looking in /var/log/syslog revealed this:

May  9 17:03:15 lflap2 NetworkManager: <info>  VPN plugin state changed: 
3
May  9 17:03:15 lflap2 NetworkManager: <info>  VPN connection 'Home (at 
home)' (Connect) reply received.
May  9 17:03:15 lflap2 NetworkManager: <WARN>  
nm_vpn_connection_connect_cb(): VPN connection 'Home (at home)' failed 
to connect: 'No VPN secrets!'.
May  9 17:03:15 lflap2 NetworkManager: <WARN>  
connection_state_changed(): Could not process the request because no VPN 
connection was active.
May  9 17:03:15 lflap2 NetworkManager: <info>  Policy set 'Auto LICQUIA' 
(wlan0) as default for routing and DNS.

Searching on the phrase "No VPN secrets" brought me to this Ubuntu bug:

https://bugs.launchpad.net/ubuntu/+source/network-manager-vpnc/+bug/360818

which contained this patch for the vpnc plugin:

--- nm-vpnc-service.conf.fixed	2009-04-18 17:56:45.000000000 -0500
+++ nm-vpnc-service.conf	2009-04-18 17:57:37.000000000 -0500
@@ -6,6 +6,10 @@
 		<allow own="org.freedesktop.NetworkManager.vpnc"/>
 		<allow 
send_destination="org.freedesktop.NetworkManager.vpnc"/>
 	</policy>
+	<policy user="at_console">
+		<allow own="org.freedesktop.NetworkManager.vpnc"/>
+		<allow 
send_destination="org.freedesktop.NetworkManager.vpnc"/>
+	</policy>
 	<policy context="default">
 		<deny own="org.freedesktop.NetworkManager.vpnc"/>
 		<deny 
send_destination="org.freedesktop.NetworkManager.vpnc"/>

(Sorry if that's all screwed up; time to switch my default editor.)

Applying that patch to /etc/dbus-1/system.d/nm-openvpn-service.conf, 
logging out, and logging back in caused OpenVPN support to work again.

Why grave?  Without this patch, I found it impossible to use OpenVPN 
from NetworkManager.  That seems to qualify as "making the package 
unusable for all or most users".

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages network-manager-openvpn depends on:
ii  libc6                         2.9-4      GNU C Library: Shared libraries
ii  libdbus-1-3                   1.2.12-1   simple interprocess messaging syst
ii  libdbus-glib-1-2              0.80-4     simple interprocess messaging syst
ii  libglib2.0-0                  2.20.0-2   The GLib library of C routines
ii  libnm-glib-vpn0               0.7.1-1    network management framework (GLib
ii  libnm-glib0                   0.7.1-1    network management framework (GLib
ii  libnm-util1                   0.7.1-1    network management framework (shar
ii  openvpn                       2.1~rc11-1 virtual private network daemon

network-manager-openvpn recommends no packages.

network-manager-openvpn suggests no packages.

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list