Comment 22 for bug 1725062

Revision history for this message
Muelli (ubuntu-bugs-auftrags-killer) wrote :

I also cannot connect to a VPN:

Nov 23 23:44:10 hostname NetworkManager[932]: <info> [1511477050.1357] audit: op="connection-activate" uuid="6efe21fb-3251-41d3-936d-7f1ee0e3ca9d" name="VPN" pid=1776 uid=1000 result="success"
Nov 23 23:44:10 hostname NetworkManager[932]: <info> [1511477050.1855] vpn-connection[0x560ddf83c0e0,6efe21fb-3251-41d3-936d-7f1ee0e3ca9d,"VPN",0]: Started the VPN service, PID 31904
Nov 23 23:44:10 hostname NetworkManager[932]: <info> [1511477050.1958] vpn-connection[0x560ddf83c0e0,6efe21fb-3251-41d3-936d-7f1ee0e3ca9d,"VPN",0]: Saw the service appear; activating connection
Nov 23 23:44:10 hostname gnome-shell[1776]: Invalid VPN service type (cannot find authentication binary)
Nov 23 23:44:10 hostname gnome-shell[1776]: Invalid VPN service type (cannot find authentication binary)
Nov 23 23:44:10 hostname NetworkManager[932]: <error> [1511477050.3692] vpn-connection[0x560ddf83c0e0,6efe21fb-3251-41d3-936d-7f1ee0e3ca9d,"VPN",0]: Failed to request VPN secrets #3: No agents were availabl
Nov 23 23:44:10 hostname NetworkManager[932]: <info> [1511477050.3712] vpn-connection[0x560ddf83c0e0,6efe21fb-3251-41d3-936d-7f1ee0e3ca9d,"VPN",0]: VPN plugin: state changed: stopped (6)
Nov 23 23:44:18 hostname NetworkManager[932]: <info> [1511477058.5777] audit: op="connection-activate" uuid="6efe21fb-3251-41d3-936d-7f1ee0e3ca9d" name="VPN" pid=31913 uid=1000 result="success"
Nov 23 23:44:18 hostname NetworkManager[932]: <info> [1511477058.6045] vpn-connection[0x560ddf83c2d0,6efe21fb-3251-41d3-936d-7f1ee0e3ca9d,"VPN",0]: Started the VPN service, PID 31921
Nov 23 23:44:18 hostname NetworkManager[932]: <info> [1511477058.6195] vpn-connection[0x560ddf83c2d0,6efe21fb-3251-41d3-936d-7f1ee0e3ca9d,"VPN",0]: Saw the service appear; activating connection
Nov 23 23:44:18 hostname gnome-shell[1776]: Invalid VPN service type (cannot find authentication binary)
Nov 23 23:44:18 hostname gnome-shell[1776]: Invalid VPN service type (cannot find authentication binary)
Nov 23 23:44:18 hostname NetworkManager[932]: <error> [1511477058.6728] vpn-connection[0x560ddf83c2d0,6efe21fb-3251-41d3-936d-7f1ee0e3ca9d,"VPN",0]: Failed to request VPN secrets #3: No agents were availabl
Nov 23 23:44:18 hostname NetworkManager[932]: <info> [1511477058.6930] vpn-connection[0x560ddf83c2d0,6efe21fb-3251-41d3-936d-7f1ee0e3ca9d,"VPN",0]: VPN service disappeared

However, manually starting the VPN, i.e.

    nmcli --ask connection up VPN

works.

If I don't provide the --ask, I get:

    $ nmcli connection up VPN
    A password is required to connect to 'VPN'.
    Warning: password for 'vpn.secrets.password' not given in 'passwd-file' and nmcli cannot ask without '--ask' option.
    Error: Connection activation failed: No valid secrets

This seems to be similar to https://bugzilla.redhat.com/show_bug.cgi?id=1394977