You are not logged in.

#1 2017-12-19 14:58:49

gdkags
Member
Registered: 2010-10-12
Posts: 18

[BUG REPORTED] NetworkManager weird, VPN Plugins not working

Bug was reported, follow here: https://bugs.archlinux.org/task/56772

Problem
when I try to add a new vpn connection, all the config boxes in nm-connection-editor will be greyed out. I cannot edit anything and the only active button is "cancel".
When I edit connections, nm-applet crashes.

Observations
when starting nm-connection-editor from a terminal, the following is output when I add a new vpnc connection:

** Message: Cannot save connection due to error: Invalid setting VPN: IPSec gateway

for openvpn it's

** Message: Cannot save connection due to error: Invalid setting VPN: remote

I can open previously added VPN connections through nm-connection-editor, which causes nm-applet to crash.
Opening a profile through

nmcli c e $vpnc_connection

also causes nm-applet to crash (wtf big_smile)

Assumptions
It seems, both libnm and networkmanager had a minor version bump, I suspect API incompatibilities.
And I never exclude that the PEBKAC.

I tried
searched upstream bug tracker, arch bug reports, wiki troubleshooting, forum search (found nothing).

Can anybody reproduce?

edit: using nmcli to edit and activate vpnc connections works, but will always lead to a new coredump of nm-applet

Last edited by gdkags (2017-12-20 14:58:00)

Offline

#2 2017-12-19 21:57:16

mgulick
Member
Registered: 2017-12-19
Posts: 1

Re: [BUG REPORTED] NetworkManager weird, VPN Plugins not working

I'm observing the same crash.  This happens when I attempt to edit a connection, or when I try to connect to an openconnect VPN which requires entering a username/password.  I suspect the VPN connection dialog is the same code as the connection editor, thus both scenarios trigger the crash.

In my case, installing an older network-manager-applet package has temporarily solved the problem:

sudo pacman -U /var/cache/pacman/pkg/network-manager-applet-1.8.7dev+3+g3d7c0a89-2-x86_64.pkg.tar.xz

This crash started occurring in network-manager-applet-1.8.8.  My system just updated to 1.8.10 today, however the crash still occurs with that version.

Offline

#3 2017-12-20 14:40:37

gdkags
Member
Registered: 2010-10-12
Posts: 18

Re: [BUG REPORTED] NetworkManager weird, VPN Plugins not working

Oh joy big_smile
So, I just installed v1.8.10-2 and I can successfully add new configurations, but nm-applet still crashes when:

  • using nmcli to edit connection

  • editing connection through nm-connection-editor

But now, there's leftovers! After nm-applet exits, there's zombie processes:

/usr/lib/nm-pptp-auth-dialog
/usr/lib/nm-vpnc-auth-dialog

These are spinning at 100% CPU.
I'll create a bug report now, I guess.
edit: someone was faster: https://bugs.archlinux.org/task/56772

Last edited by gdkags (2017-12-20 14:43:56)

Offline

#4 2017-12-20 23:25:23

stanna
Member
From: melb.au
Registered: 2017-03-24
Posts: 99

Re: [BUG REPORTED] NetworkManager weird, VPN Plugins not working

if it helps you can still use nmcli to connect to a VPN successfully. add --ask at the end if you dont have the password saved.

nmcli con up %vpn name%

Last edited by stanna (2017-12-20 23:26:09)

Offline

#5 2017-12-21 22:23:47

stanna
Member
From: melb.au
Registered: 2017-03-24
Posts: 99

Re: [BUG REPORTED] NetworkManager weird, VPN Plugins not working

this can be closed - latest update fixes it.

Offline

Board footer

Powered by FluxBB