Bug 703136 - Base connection for VPN connection not active
Summary: Base connection for VPN connection not active
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager-vpnc
Version: 15
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-09 12:12 UTC by Klaas Vantournhout
Modified: 2011-06-07 13:14 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-07 13:14:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Klaas Vantournhout 2011-05-09 12:12:27 UTC
I am trying to connect to my VPN network using vpnc and the network manager. Unfortunately this has no effect. The only thing I obtain is the following in /var/log/messages

May  9 14:03:49 toaster NetworkManager[6879]: <warn> connection /org/freedesktop/NetworkManager/Settings/1 failed to activate: (5) Base connection for VPN connection not active


How to reproduce:
1) start pc
2) login (in my case kde)
3) go to network manager
4) connect to wlan (vpn connections appear)
5) connect to vpnc

obtained effect, nothing

connecting as root using the command line works (i.e. using "vpnc")

The connection worked without a problem in F14. In F15 this is not the case any more.

version number: NetworkManager-vpnc-0.8.999-2.fc15.x86_64 kde-plasma-networkmanagement-vpnc-0.9-0.47.20110323.fc15.x86_64

Comment 1 Klaas Vantournhout 2011-05-09 12:22:09 UTC
$ killall -TERM nm-vpnc-service
nm-vpnc-service: no process found
$ VPNC_DEBUG=1 /usr/libexec/nm-vpnc-service

this gives no information at all

Comment 2 matthias.rambausek 2011-05-11 12:26:53 UTC
Same problem for me. Connecting via vpnc with NetworkManager works in Gnome3 but not in KDE 4.6.2 (both F15).
/var/log/messages show the same message

Comment 3 Jonathan Wakely 2011-05-11 19:37:23 UTC
me three

Comment 4 Jonathan Wakely 2011-05-11 19:39:01 UTC
The total lack of feedback when clicking the VPN connection in the network management widget is pretty unimpressive. I wasn't even sure that's how I was meant to connect until I su'd to root and realised there was a new line in /var/log/messages every time I clicked it.

Comment 5 Gerwin Krist 2011-05-14 19:08:14 UTC
Same here (i386), a real pitta!

Comment 6 Leo Galambos 2011-05-17 19:51:14 UTC
Identical troubles with openVPN connections. Gnome3-NetworkManager works, KDE reports:

NetworkManager[1080]: <warn> connection /org/freedesktop/NetworkManager/Settings/0 failed to activate: (5) Base connection for VPN connection not active.

Comment 7 Dmitri 2011-05-18 00:47:34 UTC
Same message for PPTP, also running KDE. No feedback in the gui of any attempts to connect.

Comment 8 Jacek Pawlyta 2011-05-23 20:35:27 UTC
the same for me F15 x86_64 KDE 4.6.3 pptp

Comment 9 glutaminefree 2011-05-27 03:20:07 UTC
F15 x86_64 KDE
on connect to vpn, put in /var/log/messages:

<warn> connection /org/freedesktop/NetworkManager/Settings/0 failed to activate: (5) Base connection for VPN connection not active.

in Gnome 3 work correct.

Sorry for my bad English.

Comment 10 aleksander.kamenik 2011-05-27 13:44:14 UTC
Confirmed on F15 x86_64 with openvpn.

May 27 16:32:23 asdasd NetworkManager[816]: <warn> connection /org/freedesktop/NetworkManager/Settings/2 failed to activate: (5) Base connection for VPN connection not active.
May 27 16:32:23 asdasd NetworkManager[816]: <warn> connection /org/freedesktop/NetworkManager/Settings/2 failed to activate: (5) Base connection for VPN connection not active

Comment 11 Klaas Vantournhout 2011-05-28 12:32:27 UTC
Fixed in the latest update

NetworkManager-0.8.999-3.git20110526.fc15.x86_64

I think we can close this bug!

thanks

Comment 12 Leo Galambos 2011-05-28 12:54:03 UTC
Latest update (NetworkManager 0.8.999-3.git20110526) fixed the problem. Unfortunately, it also opens a security hole with a log record:

NetworkManager[1059]: destroy_one_secret: destroying ***real_password_here***

The password is related to my x509 OpenVPN keys.

I would suggest you to not use the update. On the other hand, #703136 was fixed.

Comment 13 Oded Arbel 2011-05-28 19:43:01 UTC
After the upgrade, I no longer get the "Base connection" error, but the VPN still doesn't work. /var/log/messages has this:

May 28 22:41:47 sepiroth NetworkManager[788]: <info> Starting VPN service 'openvpn'...
May 28 22:41:47 sepiroth NetworkManager[788]: <info> VPN service 'openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 7442
May 28 22:41:48 sepiroth kernel: [21333.384853] tun: Universal TUN/TAP device driver, 1.6
May 28 22:41:48 sepiroth kernel: [21333.384856] tun: (C) 1999-2004 Max Krasnyansky <maxk>
May 28 22:41:48 sepiroth NetworkManager[788]: <info> VPN service 'openvpn' appeared; activating connections
May 28 22:41:48 sepiroth NetworkManager[788]: <info> VPN plugin state changed: 1
May 28 22:41:48 sepiroth NetworkManager[788]: <info> Policy set 'tempest' (wlan0) as default for IPv4 routing and DNS.
May 28 22:41:53 sepiroth NetworkManager[788]: <info> VPN service 'openvpn' disappeared

Comment 14 Dmitri 2011-05-28 22:56:23 UTC
This bug is fixed for me with NetworkManager 0.8.999, and VPN is working with none of the problems reported above. I also vote that bug can be closed.

Comment 15 Klaas Vantournhout 2011-05-28 23:36:55 UTC
I can confirm the security leak mentioned by Leo.
Networkmanager is now putting way to much info in the log files.

Comment 16 Klaas Vantournhout 2011-05-28 23:42:41 UTC
the security leak is mentioned in bug 708583.

Comment 17 Klaas Vantournhout 2011-05-28 23:44:08 UTC
Oded, I think the problems you encounter are related to a different bug unrelated to this issue now. I think you should file a new bug.

Comment 18 Klaas Vantournhout 2011-06-07 13:14:05 UTC
As none of the admins closes this bug, I will close it myself. Open if needed.


Note You need to log in before you can comment on or make changes to this bug.