Description of problem: When attempting to connect to a user-defined OpenVPN server, I get "The VPN connection 'xxx' failed because the VPN service stopped unexpectedly". This happens immediately. Version-Release number of selected component (if applicable): NetworkManager-openvpn-0.7.0-10.svn3632.fc9.i386 How reproducible: Every time Steps to Reproduce: 1. Define an OpenVPN connection with pre-shared key, and in Advanced tab, a set of networks to use the VPN for and a custom gateway port. 2. 3. Actual results: I get this in /var/log/messages: May 13 23:50:19 Dothan nm-openvpn[7175]: OpenVPN 2.1_rc7 i386-redhat-linux-gnu [SSL] [LZO2] [EPOLL] built on Feb 21 2008 May 13 23:50:19 Dothan kernel: tun0: Disabled Privacy Extensions May 13 23:50:19 Dothan nm-openvpn[7175]: TUN/TAP device tun0 opened May 13 23:50:19 Dothan nm-openvpn[7175]: /sbin/ip link set dev tun0 up mtu 1500 May 13 23:50:19 Dothan NetworkManager: <info> VPN plugin state changed: 3 May 13 23:50:19 Dothan nm-openvpn[7175]: /sbin/ip addr add dev tun0 local 192.168.233.78 peer 192.168.233.77 May 13 23:50:19 Dothan nm-openvpn[7175]: /usr/bin/nm-openvpn-service-openvpn-helper tun0 1500 1544 192.168.233.78 192.168.233.77 init May 13 23:50:19 Dothan NetworkManager: <info> VPN connection 'SED' (Connect) reply received. May 13 23:50:19 Dothan nm-openvpn[7175]: script failed: shell command exited with error status: 1 May 13 23:50:19 Dothan nm-openvpn[7175]: Exiting May 13 23:50:19 Dothan NetworkManager: <info> VPN plugin state changed: 6 May 13 23:50:19 Dothan NetworkManager: <WARN> connection_vpn_state_changed(): Could not process the request because no VPN connection was active. Expected results: VPN connection actually works Additional info: The user error feedback for problems like this needs to be improved. The error message gives no hint whatsoever of what went wrong or where to look for more info. Even the /var/log/messages output is hardly useful.
Ok I'm on it. I can reproduce it, and asked upstream (Dan Williams ;)) for support. Sorry for the late answer.
Hi, again sorry for the unresponsiveness. Could you please try that slightly patched rpm?
Created attachment 308333 [details] patched rpm
Sorry for the delay in testing. Unfortunately it looks like it is still failing with the same error: Jun 9 15:03:12 Dothan nm-openvpn[2939]: script failed: shell command exited with error status: 1 Is there a way to get more debug information than this?
I've just built a package that should fix this issue. Could you please grep and test from http://koji.fedoraproject.org/koji/buildinfo?buildID=52551 thank you.
NetworkManager-openvpn-0.7.0-13.svn3632.fc9 has been submitted as an update for Fedora 9
NetworkManager-openvpn-0.7.0-13.svn3632.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update NetworkManager-openvpn'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-5371
NetworkManager-openvpn-0.7.0-13.svn3632.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
after update to NetworkManager-openvpn-0.7.0-13.svn3632.fc9, my vpn is broken. prev version is better than this. using standar gateway port get same error. error msg: Jun 23 06:57:31 foutain nm-openvpn[3151]: script failed: shell command exited with error status: 1
It seems definitely to be some openvpn weirdness. See #452506
Ditto. I just upgraded to -13 and it also broke my VPN Jun 24 17:05:11 localhost nm-openvpn[28429]: script failed: shell command exited with error status: 1
same here. After the update to NetworkManager-openvpn-0.7.0-13.svn3632.fc9 my VPN is broken too. I'm using "X.509 with password authentification" The Advanced options are: use cipher: AES-256-CBC use LZO compression
NetworkManager-openvpn-0.7.0-14.svn3632.fc9 has been submitted as an update for Fedora 9
Same here: the new version 3632 broke my VPN via NetworkManager. Errormessage by NM is: The VPN connection "Server" failed because the VPN service stopped unexpectedly
Thanks! Build 14 appears to fix the regression.
NetworkManager-openvpn-0.7.0-14.svn3632.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
great, my vpn running again.
Problem is still not fixed for me with NetworkManager-openvpn-0.7.0-14.svn3632.fc9: Jul 17 21:30:55 Dothan nm-openvpn[2831]: /usr/bin/nm-openvpn-service-openvpn-helper "tun0" 1500 1544 192.168.233.78 192.168.233.77 init Jul 17 21:30:55 Dothan nm-openvpn[2831]: script failed: shell command exited with error status: 1 Isn't there some way to view the actual openvpn output to see what it is complaining about?
Robert: can you try latest F8/F9 updates? Should be svn4027 or later.