FS#47833 - [libsecret] 0.18.4 Fails to connect to VPN and causes Gnome Shell Crash

Attached to Project: Arch Linux
Opened by J (im4potato) - Wednesday, 20 January 2016, 16:26 GMT
Last edited by Jan Alexander Steffens (heftig) - Sunday, 31 January 2016, 11:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 15
Private No

Details

Description:
The latest version of libsecret (0.18.4) is no longer able to connect to a VPN, and then crashes Gnome Shell. Downgrading to libsecret 0.18.3 resolves the issue.

The output from journalctl --unit=NetworkManager.service gives me this error: <error> [1453272701.386037] [vpn-manager/nm-vpn-connection.c:1977] get_secrets_cb(): Failed to request VPN secrets #3: (4) No agents were available for this request.

Steps to reproduce:
Click on the network manager applet and try to connect to a VPN.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Sunday, 31 January 2016, 11:34 GMT
Reason for closing:  Fixed
Comment by Thomas B (Tartaros) - Wednesday, 20 January 2016, 22:31 GMT
I was able to reproduce the bug and downgrading to version 0.18.3 also solved the issue. Attached the core dump of my crashing gnome shell.
Comment by Sascha Horn (sascha234) - Thursday, 21 January 2016, 07:46 GMT
Same here.

Journalctl:
Jan 21 08:34:52 future NetworkManager[460]: <error> [1453361692.939050] [vpn-manager/nm-vpn-connection.c:1977] get_secrets_cb(): Failed to request VPN secrets #3: (4) No agents were available for this request.

After downgrading to 0.18.3-1 IPSec VPN is connected.
Comment by Sam (digger) - Thursday, 21 January 2016, 19:13 GMT
I have the same problem.

I just use the openvpn cli for the work around
# openvpn --config </file/path>


Installed:
$ pacman -Qs vpn
local/networkmanager-openconnect 1.0.8-1
NetworkManager VPN integration for openconnect
local/networkmanager-openvpn 1.0.8-1
NetworkManager VPN plugin for OpenVPN
local/openconnect 1:7.06-2
Open client for Cisco AnyConnect VPN
local/openvpn 2.3.9-1
An easy-to-use, robust, and highly configurable VPN (Virtual Private
Network)
local/vpnc 0.5.3.svn550-1
VPN client for cisco3000 VPN Concentrators
$ pacman -Qs libsecret
local/libsecret 0.18.4-1
Library for storing and retrieving passwords and other secrets.

Comment by Jan Alexander Steffens (heftig) - Friday, 22 January 2016, 17:17 GMT
Please file this upstream at https://bugzilla.gnome.org/enter_bug.cgi?product=libsecret .

You might want to recompile glib2 and libsecret locally, with OPTIONS=(... !strip debug ...) in makepkg.conf in order to get better traces.

If you can, git-bisecting libsecret would help, too.
Comment by Thomas B (Tartaros) - Saturday, 23 January 2016, 16:51 GMT Comment by Vasily Khoruzhick (anarsoul) - Tuesday, 26 January 2016, 18:45 GMT
Jan, could you please rebuild gnome-shell with a patch suggested in upstream bugreport?

https://git.gnome.org/browse/gnome-shell/commit/?id=021cecbce289f1d9c68a156d5b8dd204a73bc715
Comment by Thomas B (Tartaros) - Sunday, 31 January 2016, 11:34 GMT
The last gnome-shell update resolved the issue for me.

Loading...