[Bug 1297849] Re: [SRU] Virtual private network connection fails after distribution upgrade due to outdated Network Manager configuration files

Mathieu Trudel-Lapierre mathieu.tl at gmail.com
Wed Jul 8 16:09:00 UTC 2015


If you need to do anything more than 'killall nm-applet' and starting
nm-applet again, then it's quite unlikely that this patch really fixes
the issue -- I did notice this issue *once* on my system yesterday and
logged off and back in, from there the agent could be detected. This
doesn't seem to me like either shell version detection or something
related to upgrading (given I wasn't doing an upgrade at all).

Since then, I've tried to kill off my VPN or terminate it normally,
neither method works to reproduce the problem: I can immediately start
it again, and I do get the authentication dialog and I am able to
reconnect normally.

Anyone can add further information on this bug, or can verify that
without the patch, stopping nm-applet and restarting it will make things
work again, or can make things work without needing to reboot (only
restarting nm-applet, with the patch applied)?

There's still a branch for 0.9.10, 0.9.8, etc. It would be best if
someone was to report the bug upstream or otherwise contact upstream
developers to get a review of the patch.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1297849

Title:
  [SRU] Virtual private network connection fails after distribution
  upgrade due to outdated Network Manager configuration files

Status in One Hundred Papercuts:
  Triaged
Status in network-manager-openconnect package in Ubuntu:
  Triaged
Status in network-manager-openvpn package in Ubuntu:
  Triaged
Status in network-manager-vpnc package in Ubuntu:
  Triaged

Bug description:
  [Impact]
  * People who are using VPN services (of any kind, using vpnc, openvpn, pptp, etc.

  [Test Case]
  HOW TO REPRODUCE
  1. Upgrade to a newer Ubuntu release.
  2. Using the Network Manager application, try to start a virtual private network connection.

  EXPECTED BEHAVIOUR
  - The connection to complete successfully.

  ACTUAL BEHAVIOUR
  - The current configuration files, created by a previous network manager installation in the gconf user home folder, makes the application to misbehave; returning a log like this:

  [Regression Potential]
  May cause Gnome-Shell detection to give up prematurely.

  [PPA with a Possible Solution]
  Please see the https://bugs.launchpad.net/ubuntu/+source/network-manager-vpnc/+bug/1297849/comments/107 on information how to try the PPA with a solution to the bug that has the patch https://bugs.launchpad.net/ubuntu/+source/network-manager-vpnc/+bug/1297849/+attachment/4253965/+files/network-manager-applet-1297849.patch applied.

  [Additional information]
  Mar 26 13:23:31 hprem-rmbp NetworkManager[855]: <info> Starting VPN service 'vpnc'...
  Mar 26 13:23:31 hprem-rmbp NetworkManager[855]: <info> VPN service 'vpnc' started (org.freedesktop.NetworkManager.vpnc), PID 24419
  Mar 26 13:23:31 hprem-rmbp NetworkManager[855]: <info> VPN service 'vpnc' appeared; activating connections
  Mar 26 13:23:31 hprem-rmbp NetworkManager[855]: <error> [1395840211.74057] [nm-vpn-connection.c:1374] get_secrets_cb(): Failed to request VPN secrets #2: (6) No agents were available for this request.
  Mar 26 13:23:31 hprem-rmbp NetworkManager[855]: <info> Policy set 'blizzard' (wlan0) as default for IPv4 routing and DNS.
  Mar 26 13:23:31 hprem-rmbp NetworkManager[855]: <error> [1395840211.74406] [nm-system.c:1266] nm_system_replace_default_ip6_route(): (wlan0): failed to set IPv6 default route: -7
  Mar 26 13:23:31 hprem-rmbp NetworkManager[855]: <info> Policy set 'blizzard' (wlan0) as default for IPv6 routing and DNS.
  Mar 26 13:23:36 hprem-rmbp NetworkManager[855]: <info> VPN service 'vpnc' disappeared

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: network-manager-vpnc 0.9.8.6-1ubuntu2
  Uname: Linux 3.13.0-031300-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.13.3-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Mar 26 13:26:42 2014
  InstallationDate: Installed on 2014-01-17 (67 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64+mac (20140115)
  SourcePackage: network-manager-vpnc
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1297849/+subscriptions



More information about the Ubuntu-sponsors mailing list