Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 317085

Summary: =net-misc/networkmanager-openvpn-0.8.0 doesn't exec openvpn because it has "No VPN Secrets!"
Product: Gentoo Linux Reporter: Nathan Goldstick <Goldsticknt>
Component: [OLD] GNOMEAssignee: Steev Klimaszewski (RETIRED) <steev>
Status: RESOLVED FIXED    
Severity: major CC: dagger, junghans
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.launchpad.net/ubuntu/+source/network-manager-vpnc/+bug/360818
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 326907    
Attachments: Relevant logs
Overlay that incorperates the referenced patch.
Copy of the referenced patch.

Description Nathan Goldstick 2010-04-25 08:09:55 UTC
networkmanager-openvpn doesn't appear to work. No connection is made, nor is any attempt made to connect. I marked it as major as this pretty much renders openvpn useless, though I do realize this is a low priority package.

The error as described above appears to be caused by some invalid check for VPN Secrets (see Additional info).

Reproducible: Always

Steps to Reproduce:
1. Create a new openvpn connection using nm-applet.
2. Open VPN connection.
Actual Results:  
Doesn't connect. Openvpn is never run, though /usr/libexec/nm-openvpn-service is.

Expected Results:  
openvpn is called and used to connect to server.

will attach /var/log/messages snippet

This bug is also described at "https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/453807" The proposed patch "http://launchpadlibrarian.net/36995728/dont-check-secrets-for-tls-connection-type.patch" seems to fix the problem for me but I'm still testing it out.
Comment 1 Nathan Goldstick 2010-04-25 08:11:42 UTC
Created attachment 229051 [details]
Relevant logs
Comment 2 Nathan Goldstick 2010-04-25 08:56:08 UTC
Created attachment 229057 [details]
Overlay that incorperates the referenced patch.

ebuild that uses the specified patch. Runs on my x86 box and compiles on my amd64 box. Haven't yet tried running on the amd64 box.
Comment 3 Nathan Goldstick 2010-04-25 08:57:19 UTC
Created attachment 229059 [details, diff]
Copy of the referenced patch.

A copy of the patch on launchpadlibrarian.
Comment 4 Christoph Junghans (RETIRED) gentoo-dev 2010-08-14 09:07:41 UTC
I can not confirm this bugs, networkmanager-openvpn-0.8.0 work for me including connecting.

I imported the vpn connection from a setting file when I had version 0.7.2 installed, but it also works if I import it now.

Do you have gnome USE flag enabled?
Comment 5 Kete Tefid 2011-02-12 18:26:37 UTC
(In reply to comment #4)
> I can not confirm this bugs, networkmanager-openvpn-0.8.0 work for me including
> connecting.
> 
> I imported the vpn connection from a setting file when I had version 0.7.2
> installed, but it also works if I import it now.
> 
> Do you have gnome USE flag enabled?
> 
I wish to confirm. In fact it is a long time I have put NM away. It renders anything including openvpn useless.
Comment 6 Christoph Junghans (RETIRED) gentoo-dev 2011-02-13 15:54:18 UTC
(In reply to comment #5)
> I wish to confirm. In fact it is a long time I have put NM away. It renders
> anything including openvpn useless.
I added the patch to networkmanager-openvpn-0.8-r2 (cj-overlay). Can you test if this fixes the issue? 

Comment 7 Christoph Junghans (RETIRED) gentoo-dev 2011-02-19 17:48:27 UTC
After a while of testing, I added the patch as networkmanager-openvpn-0.8-r1 to the tree.