VPNC: network-manager saves wrong path for CA-file in network connections config

Bug #1426928 reported by H.i.M
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager-vpnc (Ubuntu)
New
Undecided
Unassigned

Bug Description

When creating a VPN connection with the the built in network manager in KDE a wrong path to the CA-file is set. Therefore vpnc stops with an error message.

03/01/15 05:57:59 PM georg-zotac NetworkManager[863] <info> Starting VPN service 'vpnc'...
03/01/15 05:57:59 PM georg-zotac NetworkManager[863] <info> VPN service 'vpnc' started (org.freedesktop.NetworkManager.vpnc), PID 2685
03/01/15 05:57:59 PM georg-zotac NetworkManager[863] <info> VPN service 'vpnc' appeared; activating connections
03/01/15 05:57:59 PM georg-zotac NetworkManager[863] <info> VPN plugin state changed: starting (3)
03/01/15 05:57:59 PM georg-zotac NetworkManager[863] <info> VPN connection 'VPN Uni Konstanz' (Connect) reply received.
03/01/15 05:57:59 PM georg-zotac NetworkManager[863] <warn> VPN connection 'VPN Uni Konstanz' failed to connect: 'property 'CA-File' file path 'file:///home/mellhen/chain-dtag-dfn-uni.pem' is not absolute or does not exist'.
03/01/15 05:57:59 PM georg-zotac NetworkManager[863] <info> Policy set 'Kabelnetzwerkverbindung 1' (eth0) as default for IPv4 routing and DNS.
03/01/15 05:57:59 PM georg-zotac NetworkManager[863] <error> [1425229079.914541] [nm-system.c:1266] nm_system_replace_default_ip6_route(): (eth0): failed to set IPv6 default route: -7
03/01/15 05:57:59 PM georg-zotac NetworkManager[863] <info> Policy set 'Kabelnetzwerkverbindung 1' (eth0) as default for IPv6 routing and DNS.
03/01/15 05:57:59 PM georg-zotac NetworkManager[863] <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
03/01/15 05:58:05 PM georg-zotac NetworkManager[863] <info> VPN service 'vpnc' disappeared

--------------------------

After a manual change of the path in the config file in /etc/NetworkManager/system-connections the VPN connection works.

03/01/15 06:06:55 PM georg-zotac NetworkManager[863] keyfile: updating /etc/NetworkManager/system-connections/10.02.2011 version 6 Profile

03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> Starting VPN service 'vpnc'...
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> VPN service 'vpnc' started (org.freedesktop.NetworkManager.vpnc), PID 2878
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> VPN service 'vpnc' appeared; activating connections
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> VPN plugin state changed: starting (3)
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> VPN connection 'VPN Uni Konstanz' (Connect) reply received.
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown configuration found.
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <warn> /sys/devices/virtual/net/tun0: couldn't determine device driver; ignoring...
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> VPN connection 'VPN Uni Konstanz' (IP4 Config Get) reply received from old-style plugin.
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> VPN Gateway: 134.34.3.9
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> Tunnel Device: tun0
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> IPv4 configuration:
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> Internal Address: 134.34.5.116
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> Internal Prefix: 24
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> Internal Point-to-Point Address: 134.34.5.116
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> Maximum Segment Size (MSS): 0
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> Forbid Default Route: no
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> Internal DNS: 134.34.3.2
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> Internal DNS: 134.34.3.3
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> DNS Domain: 'uni-konstanz.de'
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> No IPv6 configuration
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> Login Banner:
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> -----------------------------------------
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> Welcome to VPN.uni-konstanz.de.#012#012For questions: <email address hidden>.
03/01/15 06:06:58 PM georg-zotac NetworkManager[863] <info> -----------------------------------------
03/01/15 06:06:59 PM georg-zotac NetworkManager[863] <info> VPN connection 'VPN Uni Konstanz' (IP Config Get) complete.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: network-manager-vpnc 0.9.8.6-1ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-45.74-generic 3.13.11-ckt13
Uname: Linux 3.13.0-45-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.7
Architecture: amd64
CurrentDesktop: KDE
Date: Sun Mar 1 18:10:36 2015
InstallationDate: Installed on 2015-01-23 (36 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1)
SourcePackage: network-manager-vpnc
UpgradeStatus: No upgrade log present (probably fresh install)

EDIT:
The wrong path created by network manager is:
CA-File=file:///home/mellhen/chain-dtag-dfn-uni.pem

The correct path is:
CA-File=/home/mellhen/chain-dtag-dfn-uni.pem

Revision history for this message
H.i.M (hir-i-mogul) wrote :
description: updated
H.i.M (hir-i-mogul)
description: updated
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.