[Bug 360818] Re: NetworkManager.vpn fails -- nm-vpn-connection.c.900: NeedSecrets

Niall Brosnan niallb at distance-earning.net
Thu Nov 12 13:27:17 UTC 2009


Hi n3m3s1s4u .
You have posted the text from the previous fix too literally I think,
and as such you have fixed the problem for the vpnc plugin rather than the openvpn plugin.

Try this instead: the target file is /etc/dbus-1/system.d/nm-openvpn-
service.conf

<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
	<policy user="root">
		<allow own="org.freedesktop.NetworkManager.openvpn"/>
		<allow send_destination="org.freedesktop.NetworkManager.openvpn"/>
	</policy>
	<policy user="at_console">
		<allow own="org.freedesktop.NetworkManager.openvpn"/>
		<allow send_destination="org.freedesktop.NetworkManager.openvpn"/>
	</policy>
	<policy context="default">
		<deny own="org.freedesktop.NetworkManager.openvpn"/>
		<deny send_destination="org.freedesktop.NetworkManager.openvpn"/>
	</policy>
</busconfig>


It has been working for me since release day. You will need to restart dbus etc, so a reboot may be simplest.

-- 
NetworkManager.vpn fails -- nm-vpn-connection.c.900: NeedSecrets 
https://bugs.launchpad.net/bugs/360818
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list