Bug 755142

Summary: Can't start, edit or (after deleting), add a new VPN session
Product: [Fedora] Fedora Reporter: Madison Kelly <mkelly>
Component: NetworkManager-openvpnAssignee: Dan Williams <dcbw>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: choeger, dcbw, huzaifas, steve
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-13 13:48:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Madison Kelly 2011-11-19 01:06:20 UTC
Description of problem:

I had a VPN session setup under Fedora 15 which worked fine. After upgrading to Fedora 16, this stopped working (tried to click on the Gnome3 "On/Off" switch for the VPN did nothing). 

If I tried to go into the Network Settings and "Configure" the connection, I got 

Could not find VPN plugin service for 'org.freedesktop.NetworkManager.openvpn'

Then it would present the nm-connection-editor screen which could not be clicked on or closed (took a kill -9 to close it). I tried deleting the VPN session to recreate it, but I couldn't see option that allowed for loading the two files created by the Astaro firewall we use (sorry, I don't remember the details from when I created it under F15). I tried PPTP, but couldn't click on anything (I could tab-through the fields and edit them though).

Here is what I was seeing in syslog (http://fpaste.org/xfpO/);

============
Nov 18 19:39:05 lework NetworkManager[1031]: <warn> connection /org/freedesktop/NetworkManager/Settings/24 failed to activate: (2) The VPN service 'org.freedesktop.NetworkManager.openvpn' was not installed.
Nov 18 19:39:05 lework NetworkManager[1031]: NetworkManager[1031]: <warn> connection /org/freedesktop/NetworkManager/Settings/24 failed to activate: (2) The VPN service 'org.freedesktop.NetworkManager.openvpn' was not installed.
Nov 18 19:39:11 lework NetworkManager[1031]: <warn> connection /org/freedesktop/NetworkManager/Settings/24 failed to activate: (2) The VPN service 'org.freedesktop.NetworkManager.openvpn' was not installed.
Nov 18 19:39:11 lework NetworkManager[1031]: NetworkManager[1031]: <warn> connection /org/freedesktop/NetworkManager/Settings/24 failed to activate: (2) The VPN service 'org.freedesktop.NetworkManager.openvpn' was not installed.
Nov 18 19:45:18 lework dbus[1094]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Nov 18 19:45:18 lework dbus-daemon[1094]: dbus[1094]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Nov 18 19:45:18 lework dbus[1094]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Nov 18 19:45:18 lework dbus-daemon[1094]: dbus[1094]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Nov 18 19:46:24 lework dnsmasq[1308]: reading /etc/resolv.conf
Nov 18 19:46:24 lework dnsmasq[1308]: using nameserver 192.139.81.1#53
Nov 18 19:46:24 lework dnsmasq[1308]: using nameserver 192.139.81.117#53
Nov 18 19:46:25 lework ntpd[1051]: Listen normally on 80 tun0 10.8.0.14 UDP 123
Nov 18 19:46:25 lework ntpd[1051]: peers refreshed
Nov 18 19:46:27 lework systemd[1]: Failed to read PID file /var/run/openvpn/client_auth01.pid after start. The service might be broken.
Nov 18 19:46:32 lework ntpd[1051]: Listen normally on 81 tun1 192.168.20.6 UDP 123
Nov 18 19:46:32 lework ntpd[1051]: peers refreshed
Nov 18 19:47:53 lework NetworkManager[1031]: <warn> connection /org/freedesktop/NetworkManager/Settings/24 failed to activate: (2) The VPN service 'org.freedesktop.NetworkManager.openvpn' was not installed.
Nov 18 19:47:53 lework NetworkManager[1031]: NetworkManager[1031]: <warn> connection /org/freedesktop/NetworkManager/Settings/24 failed to activate: (2) The VPN service 'org.freedesktop.NetworkManager.openvpn' was not installed.
Nov 18 19:48:02 lework NetworkManager[1031]: <warn> connection /org/freedesktop/NetworkManager/Settings/24 failed to activate: (2) The VPN service 'org.freedesktop.NetworkManager.openvpn' was not installed.
Nov 18 19:48:02 lework NetworkManager[1031]: NetworkManager[1031]: <warn> connection /org/freedesktop/NetworkManager/Settings/24 failed to activate: (2) The VPN service 'org.freedesktop.NetworkManager.openvpn' was not installed.
Nov 18 19:48:26 lework NetworkManager[1031]: <warn> connection /org/freedesktop/NetworkManager/Settings/24 failed to activate: (2) The VPN service 'org.freedesktop.NetworkManager.openvpn' was not installed.
Nov 18 19:48:26 lework NetworkManager[1031]: NetworkManager[1031]: <warn> connection /org/freedesktop/NetworkManager/Settings/24 failed to activate: (2) The VPN service 'org.freedesktop.NetworkManager.openvpn' was not installed.
Nov 18 19:52:58 lework NetworkManager[1031]:    keyfile: removed /etc/NetworkManager/system-connections/digimer.com.
Nov 18 19:52:58 lework NetworkManager[1031]: NetworkManager[1031]:    keyfile: removed /etc/NetworkManager/system-connections/digimer.com.
============

...

While writing this, I realized that the NetworkManager-openvpn had been removed in the upgrade. Installing this gave me back the option to add the keys for our canned VPN. I am submitting this anyway as there is still obviously a bug with how NetworkManager handled the problem.

Version-Release number of selected component (if applicable):

NetworkManager-gnome-0.9.1.90-5.git20110927.fc16.x86_64

How reproducible:

Unknown, 100% for me.

Steps to Reproduce:
1. Configure an OpenVPN key in Fedora 15 using NetworkManager
2. Upgrade to Fedora 16 (http://fedoraproject.org/wiki/Upgrading_Fedora_using_yum#Fedora_15_-.3E_Fedora_16)
3. Try to start/edit your old OpenVPN session
  
Actual results:

Hung

Expected results:

Error out that NetworkManager-openvpn no longer was installed.

Additional info:

Comment 1 Madison Kelly 2011-11-19 01:28:49 UTC
Confirmed that installing NetworkManager-openvpn fixes the problem. I still suggest that a proper check that doesn't result in a hung process is needed to close this.

Comment 2 Fedora End Of Life 2013-01-16 13:07:58 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Fedora End Of Life 2013-02-13 13:48:20 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.