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

Bug 554978

Summary: net-misc/networkmanager-openvpn-1.0.2 openvpn failed to connect using pre-shared key (with patch)
Product: Gentoo Linux Reporter: Xiao Lin <xiaoliniess>
Component: Current packagesAssignee: Steev Klimaszewski (RETIRED) <steev>
Status: RESOLVED FIXED    
Severity: normal CC: alunduil, gnome
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Xiao Lin 2015-07-15 15:57:28 UTC
networkmanager failed to connect to openvpn server when use pre-shared key method.
But use openvpn directly can successfully connect.

The error message 
nm-openvpn[5275]: Options error: Parameter renegotiate_seconds can only be specified in TLS-mode, i.e. where --tls-server or --tls-client is also specified.

This bug is already fixed by upstream.
I have verified the fix on my gentoo system.

See 
https://bugs.archlinux.org/task/44875
https://bugzilla.redhat.com/show_bug.cgi?id=969433
https://bugzilla.redhat.com/show_bug.cgi?id=1225218
https://git.gnome.org/browse/network-manager-openvpn/commit/?id=7f9031dbaee3059ea072fb2497563aee6acf8da0
Comment 1 Pacho Ramos gentoo-dev 2015-09-05 15:03:06 UTC
should be ok with 1.0.6