After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 679225 - NetworkManager VPN secrets: NetworkAgent internal error (pptp)
NetworkManager VPN secrets: NetworkAgent internal error (pptp)
Status: RESOLVED DUPLICATE of bug 694768
Product: NetworkManager
Classification: Platform
Component: VPN: pptp
0.9.x
Other Linux
: Normal normal
: ---
Assigned To: Dan Williams
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-07-01 17:30 UTC by Clemens Buchacher
Modified: 2013-03-12 19:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
networkmanager-pptp patch (745 bytes, patch)
2012-07-01 17:30 UTC, Clemens Buchacher
none Details | Review

Description Clemens Buchacher 2012-07-01 17:30:09 UTC
Created attachment 217781 [details] [review]
networkmanager-pptp patch

As described in https://bugzilla.gnome.org/show_bug.cgi?id=679212 , gnome-shell has trouble finding the nm-pptp-auth-dialog if the pptp networkmanager plugin is installed in a libexecdir different from the one used by gnome-shell. This is the case for the Arch Linux distribution. From ~/.xsession-errors:

      JS LOG: Error 'VPN plugin at /usr/lib/gnome-shell/nm-pptp-auth-dialog is
not executable' while processing VPN keyfile '/etc/NetworkManager/VPN/nm-pptp-service.name'

A suggested fix is to configure an absolute path to nm-pptp-auth-diag in the VPN keyfile /etc/NetworkManager/VPN/nm-vpnc-service.name. See patch below.

Please note that setups which use the same libexecdir for both gnome-shell and networkmanager-pptp probably do not have this issue. And this patch will _break_ such setups, because gnome-shell unconditionally prepends its own libexecdir even to absolute paths. A patch to make gnome-shell accept absolute paths has also been proposed. This patch needs to be applied before patching networkmanager-pptp.

Other VPN plugins need to be patched as well. Should I provide those as well? I don't have any other VPNs setup to test right now, but the change should be analogous:

      JS LOG: Error 'VPN plugin at
/usr/lib/gnome-shell/nm-openconnect-auth-dialog is not executable' while
processing VPN keyfile '/etc/NetworkManager/VPN/nm-openconnect-service.name'
      JS LOG: Error 'VPN plugin at /usr/lib/gnome-shell/nm-vpnc-auth-dialog is
not executable' while processing VPN keyfile '/etc/NetworkManager/VPN/nm-vpnc-service.name'

* Arch Linux package versions

gnome-shell 3.4.1-3
networkmanager 0.9.4.0-6
networkmanager-pptp 0.9.4.0-1
Comment 1 Clemens Buchacher 2013-03-10 13:31:17 UTC
The prerequisite patch has been applied in gnome-shell version 3.6 (commit 8845a2170c01f83ac23b54ef6f6389b94b142f78). Please apply this patch.
Comment 2 Dan Winship 2013-03-12 19:18:10 UTC
fixed in master

*** This bug has been marked as a duplicate of bug 694768 ***