gnome-shell looks for VPN plugins in /usr/lib/gnome-shell instead of /usr/lib/NetworkManager

Bug #990074 reported by Anders Kaseorg
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When I try to connect to a VPN from within gnome-shell, I get these errors:

      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-pptp-auth-dialog is not executable' while processing VPN keyfile '/etc/NetworkManager/VPN/nm-pptp-service.name'
      JS LOG: Invalid VPN service type (cannot find authentication binary)

because the plugins live in /usr/lib/NetworkManager, not /usr/lib/gnome-shell.

(Sometimes it works anyway, because a race condition sometimes lets nm-applet handle the VPN connection instead of gnome-shell. See bug 985788. But gnome-shell should be able to handle this itself.)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gnome-shell 3.4.1-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelModules: openafs
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
Date: Fri Apr 27 16:01:00 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202)
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Anders Kaseorg (andersk) wrote :
Revision history for this message
Anders Kaseorg (andersk) wrote :

Hmm, if I try to work around this by making a symlink /usr/lib/gnome-shell/nm-openconnect-auth-dialog → ../NetworkManager/nm-openconnect-auth-dialog, while connecting to a VPN, gnome-shell crashes after I enter my username and password. The crash looks similar to bug 864159.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Fixed in Quantal, updated paths to specific an absolute path for auth-dialog for each of the VPN plugins.

Changed in gnome-shell (Ubuntu):
status: New → Fix Released
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

(That was bug 985788)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.