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

Steve Walker 1297849 at bugs.launchpad.net
Sun Jun 21 21:30:51 UTC 2015


This didn't work for me :-(

$ dpkg-query -s network-manager-gnome

Package: network-manager-gnome
Status: install ok installed
Priority: optional
Section: gnome
Installed-Size: 6921
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Architecture: amd64
Source: network-manager-applet
Version: 0.9.10.1-0ubuntu5~fixed

...


When I try to establish a connection I get the following. Wondering if I am experiencing this bug or something different:

Jun 21 16:27:16 steve-dell NetworkManager[756]: <info> Starting VPN service 'pptp'...
Jun 21 16:27:16 steve-dell NetworkManager[756]: <info> VPN service 'pptp' started (org.freedesktop.NetworkManager.pptp), PID 6789
Jun 21 16:27:16 steve-dell NetworkManager[756]: <info> VPN service 'pptp' appeared; activating connections
Jun 21 16:27:16 steve-dell NetworkManager[756]: <info> VPN connection 'Dallas' (ConnectInteractive) reply received.
Jun 21 16:27:16 steve-dell NetworkManager[756]: <info> VPN plugin state changed: starting (3)
Jun 21 16:27:16 steve-dell NetworkManager[756]: ** Message: pppd started with pid 6793
Jun 21 16:27:16 steve-dell NetworkManager[756]: <info> VPN connection 'Dallas' (Connect) reply received.
Jun 21 16:27:16 steve-dell pppd[6793]: Plugin /usr/lib/pppd/2.4.6/nm-pptp-pppd-plugin.so loaded.
Jun 21 16:27:16 steve-dell NetworkManager[756]: Plugin /usr/lib/pppd/2.4.6/nm-pptp-pppd-plugin.so loaded.
Jun 21 16:27:16 steve-dell NetworkManager[756]: ** Message: nm-pptp-ppp-plugin: (plugin_init): initializing
Jun 21 16:27:16 steve-dell pppd[6793]: pppd 2.4.6 started by root, uid 0
Jun 21 16:27:16 steve-dell NetworkManager[756]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 3 / phase 'serial connection'
Jun 21 16:27:16 steve-dell pppd[6793]: Using interface ppp0
Jun 21 16:27:16 steve-dell pppd[6793]: Connect: ppp0 <--> /dev/pts/0
Jun 21 16:27:16 steve-dell NetworkManager[756]: Using interface ppp0
Jun 21 16:27:16 steve-dell NetworkManager[756]: Connect: ppp0 <--> /dev/pts/0
Jun 21 16:27:16 steve-dell NetworkManager[756]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 5 / phase 'establish'
Jun 21 16:27:16 steve-dell pptp[6797]: nm-pptp-service-6789 log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jun 21 16:27:16 steve-dell systemd[1]: Started ifup for ppp0.
Jun 21 16:27:16 steve-dell systemd[1]: Starting ifup for ppp0...
Jun 21 16:27:16 steve-dell NetworkManager[756]: nm_device_get_device_type: assertion 'NM_IS_DEVICE (self)' failed
Jun 21 16:27:16 steve-dell NetworkManager[756]: <info> (ppp0): new Generic device (driver: 'unknown' ifindex: 10)
Jun 21 16:27:16 steve-dell NetworkManager[756]: <info> (ppp0): exported as /org/freedesktop/NetworkManager/Devices/9
Jun 21 16:27:16 steve-dell NetworkManager[756]: <info> devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Jun 21 16:27:16 steve-dell NetworkManager[756]: <info> device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Jun 21 16:27:16 steve-dell sh[6802]: Unknown interface ppp0
Jun 21 16:27:47 steve-dell pppd[6793]: LCP: timeout sending Config-Requests
Jun 21 16:27:47 steve-dell pppd[6793]: Connection terminated.
Jun 21 16:27:47 steve-dell NetworkManager[756]: LCP: timeout sending Config-Requests
Jun 21 16:27:47 steve-dell NetworkManager[756]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 11 / phase 'disconnect'
Jun 21 16:27:47 steve-dell NetworkManager[756]: Connection terminated.
Jun 21 16:27:47 steve-dell systemd[1]: Stopping ifup for ppp0...
Jun 21 16:27:47 steve-dell ifdown[6816]: /sbin/ifdown: interface ppp0 not configured
Jun 21 16:27:47 steve-dell systemd[1]: Stopped ifup for ppp0.
Jun 21 16:27:47 steve-dell NetworkManager[756]: <info> devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Jun 21 16:27:47 steve-dell NetworkManager[756]: <warn> VPN plugin failed: connect-failed (1)
Jun 21 16:27:47 steve-dell NetworkManager[756]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 1 / phase 'dead'
Jun 21 16:27:47 steve-dell pppd[6793]: Modem hangup
Jun 21 16:27:47 steve-dell NetworkManager[756]: <warn> VPN plugin failed: connect-failed (1)
Jun 21 16:27:47 steve-dell NetworkManager[756]: Modem hangup
Jun 21 16:27:52 steve-dell NetworkManager[756]: ** Message: nm-pptp-ppp-plugin: (nm_exit_notify): cleaning up
Jun 21 16:27:52 steve-dell pppd[6793]: Exit.
Jun 21 16:27:52 steve-dell NetworkManager[756]: ** (nm-pptp-service:6789): WARNING **: pppd exited with error code 16
Jun 21 16:27:52 steve-dell NetworkManager[756]: <warn> VPN plugin failed: connect-failed (1)
Jun 21 16:27:52 steve-dell NetworkManager[756]: <info> VPN plugin state changed: stopped (6)
Jun 21 16:27:52 steve-dell NetworkManager[756]: <info> VPN plugin state change reason: unknown (0)
Jun 21 16:27:52 steve-dell gnome-session[4208]: (nm-applet:4398): libnm-util-CRITICAL **: nm_connection_get_setting_connection: assertion 'NM_IS_CONNECTION (connection)' failed
Jun 21 16:27:52 steve-dell gnome-session[4208]: (nm-applet:4398): libnm-util-CRITICAL **: nm_setting_connection_get_id: assertion 'NM_IS_SETTING_CONNECTION (setting)' failed
Jun 21 16:27:52 steve-dell NetworkManager[756]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.

-- 
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