Re: vpn secrets



On Thu, 2011-05-19 at 14:14 +0100, Leo Butler wrote:
> Hi There,
> 
> I am trying to configure a VPN connection with NM.
> For some reason, NM is not finding the secrets it
> needs, even if these are saved as part of the
> configuration. The relevant log messages are below.
> This VPN connection does work with vpnc from the
> command-line.
> 
> I am using debian testing.
> Leo
> 
> ====
> 
> May 19 09:01:03 squeeeze NetworkManager[2001]: <info> Starting VPN
> service 'vpnc'...
> May 19 09:01:03 squeeeze NetworkManager[2001]: <info> VPN service 'vpnc'
> started (org.freedesktop.NetworkManager.vpnc), PID 8592
> May 19 09:01:03 squeeeze NetworkManager[2001]: <info> VPN service 'vpnc'
> appeared; activating connections
> May 19 09:01:03 squeeeze NetworkManager[2001]: <error>
> [1305810063.523435] [nm-vpn-connection.c:819]
> connection_need_secrets_cb(): NeedSecrets failed: dbus-glib-error-quark
> Rejected send message, 1 matched rules; type="method_call",
> sender=":1.0" (uid=0 pid=2001 comm="/usr/sbin/NetworkManager ")
> interface="org.freedesktop.NetworkManager.VPN.Plugin"
> member="NeedSecrets" error name="(unset)" requested_reply=0
> destination="org.freedesktop.NetworkManager.vpnc" (uid=0 pid=8592
> comm="/usr/lib/NetworkManager/nm-vpnc-service "))

This periodically comes up.  I believe it's related to at_console dbus
permissions, which we haven't gotten to the bottom of yet...  best thing
to do for the moment is ask on the dbus lists, or make 'root' not
at_console for the purpose of dbus permissions for now.

Dan

> May 19 09:01:03 squeeeze NetworkManager[2001]: <warn> error
> disconnecting VPN: Rejected send message, 1 matched rules;
> type="method_call", sender=":1.0" (uid=0 pid=2001
> comm="/usr/sbin/NetworkManager ")
> interface="org.freedesktop.NetworkManager.VPN.Plugin"
> member="Disconnect" error name="(unset)" requested_reply=0
> destination="org.freedesktop.NetworkManager.vpnc" (uid=0 pid=8592
> comm="/usr/lib/NetworkManager/nm-vpnc-service "))
> May 19 09:01:03 squeeeze NetworkManager[2001]: <info> Policy set 'Auto
> eth0' (eth0) as default for IPv4 routing and DNS.
> May 19 09:01:08 squeeeze NetworkManager[2001]: <info> VPN service 'vpnc'
> disappeared
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]