Package: network-manager-gnome Version: 1.4.4-1 Severity: normal Dear Maintainer,
Steps to reproduce: - set up a wifi connection with auto-activation in gnome settings - set up a vpn connection (only tested with openconnect and openvpn connections) in gnome settings - in nm-connection-editor, edit the wifi connection to connect automatically to the vpn connection when using the wifi connection - enable wifi OR turn on the computer with wifi enabled OR get out of sleep with wifi enabled Expected behaviour: connection to the wifi network and activation of the vpn Actual behaviour: - "Activation of connection failed" notification in gnome - this in /var/log/syslog : Jul 4 16:18:34 shark NetworkManager[668]: <info> [1499177914.3918] policy: set 'ssid' (wlan0) as default for IPv4 routing and DNS Jul 4 16:18:34 shark dhclient[2914]: bound to 192.168.0.12 -- renewal in 18286 seconds. Jul 4 16:18:34 shark NetworkManager[668]: <info> [1499177914.4850] vpn- connection[0x557e0e278740,c1f104ed-78af-4bd4-9a4d-a076e980dd8b,"openconnect_vpn",0]: Started the VPN service, PID 2930 Jul 4 16:18:34 shark NetworkManager[668]: <info> [1499177914.5079] vpn- connection[0x557e0e278740,c1f104ed-78af-4bd4-9a4d-a076e980dd8b,"openconnect_vpn",0]: Saw the service appear; activating connection Jul 4 16:18:34 shark gvfsd-network[2201]: Couldn't create directory monitor on smb://x-gnome-default-workgroup/. Error: El backend no soporta la operación Jul 4 16:18:34 shark gvfsd[1150]: mkdir failed on directory /var/cache/samba: Permiso denegado Jul 4 16:18:34 shark gvfsd[1150]: mkdir failed on directory /var/cache/samba: Permiso denegado Jul 4 16:18:34 shark gvfsd[1150]: mkdir failed on directory /var/cache/samba: Permiso denegado Jul 4 16:18:34 shark gvfsd[1150]: mkdir failed on directory /var/cache/samba: Permiso denegado Jul 4 16:18:34 shark gvfsd[1150]: mkdir failed on directory /var/cache/samba: Permiso denegado Jul 4 16:18:34 shark gvfsd[1150]: mkdir failed on directory /var/cache/samba: Permiso denegado Jul 4 16:18:34 shark gvfsd[1150]: mkdir failed on directory /var/cache/samba: Permiso denegado Jul 4 16:18:34 shark gvfsd[1150]: mkdir failed on directory /var/cache/samba: Permiso denegado Jul 4 16:18:34 shark gnome-shell[1146]: JS LOG: Invalid connection type: vpn Jul 4 16:18:34 shark gnome-shell[1146]: JS LOG: Invalid connection type: vpn Jul 4 16:18:34 shark NetworkManager[668]: <error> [1499177914.6835] vpn- connection[0x557e0e278740,c1f104ed-78af-4bd4-9a4d-a076e980dd8b,"openconnect_vpn",0]: Failed to request VPN secrets #3: No agents were available for this request. Jul 4 16:18:34 shark NetworkManager[668]: <info> [1499177914.6836] device (wlan0): state change: secondaries -> failed (reason 'secondary-connection- failed') [90 120 54] Jul 4 16:18:34 shark NetworkManager[668]: <info> [1499177914.6839] manager: NetworkManager state is now DISCONNECTED Jul 4 16:18:34 shark NetworkManager[668]: <warn> [1499177914.6850] device (wlan0): Activation: failed for connection 'ssid' Jul 4 16:18:34 shark NetworkManager[668]: <info> [1499177914.6887] device (wlan0): state change: failed -> disconnected (reason 'none') [120 30 0] This bug doesnt occur if nm-applet is running. According to nm-applet manpage, it is normally started at login by the desktop session manager. However, on my computer with automatic login at boot, it isn't the case, even after logging out and then logging in. This bug doesn't occur if I select the network in gnome settings or in the settings menu at the top-right corner in gnome. -- System Information: Debian Release: 9.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores) Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8), LANGUAGE=es_ES.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages network-manager-gnome depends on: ii dbus-user-session [default-dbus-session-bus] 1.10.18-1 ii dbus-x11 [dbus-session-bus] 1.10.18-1 ii dconf-gsettings-backend [gsettings-backend] 0.26.0-2+b1 ii gnome-shell [polkit-1-auth-agent] 3.22.3-3 ii libatk1.0-0 2.22.0-1 ii libc6 2.24-11+deb9u1 ii libcairo2 1.14.8-1 ii libgdk-pixbuf2.0-0 2.36.5-2 ii libglib2.0-0 2.50.3-2 ii libgtk-3-0 3.22.11-1 ii libjansson4 2.9-1 ii libmm-glib0 1.6.4-1 ii libnm0 1.6.2-3 ii libnma0 1.4.4-1 ii libnotify4 0.7.7-2 ii libpango-1.0-0 1.40.5-1 ii libpangocairo-1.0-0 1.40.5-1 ii libsecret-1-0 0.18.5-3.1 ii network-manager 1.6.2-3 ii policykit-1-gnome [polkit-1-auth-agent] 0.105-6 Versions of packages network-manager-gnome recommends: ii gnome-keyring 3.20.0-3 ii gnome-shell [notification-daemon] 3.22.3-3 ii iso-codes 3.75-1 ii mobile-broadband-provider-info 20161204-1 ii notification-daemon 3.20.0-1+b1 Versions of packages network-manager-gnome suggests: ii network-manager-openconnect-gnome 1.2.4-1 ii network-manager-openvpn-gnome 1.2.8-2 pn network-manager-pptp-gnome <none> pn network-manager-vpnc-gnome <none> -- no debconf information