Red Hat Bugzilla – Bug 1013200
NetworkManager-openvpn fails to establish connection on imported (via NM-gnome) vpn config (client.conf)
Last modified: 2013-11-16 20:16:08 EST
Created attachment 804374 [details]
Description of problem:
I am importing openvpn client settings (client.conf, ca.crt, client.crt, client.key) with NM-gnome. After working around a SElinux issue (#638691), connecting to the vpn still fails. The same procedure works flawlessly on ubuntu 13.04 (nm 0.9.8, openvpn 2.2.1).
Gnome error message:
Connection failed: Activation of network connection failed
journald log messages (excerpt):
WARNING: No server certificate verification method has been enabled.
NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
<warn> VPN connection 'xxcensoredx' did not receive valid IP config information
<warn> (tun0): failed to get device's ifindex
then lots of the following messages (and slight variants of it):
[platform/nm-linux-platform.c:1103] add_object(): Netlink error: Invalid address for specified address family
Version-Release number of selected components:
This seems to be a NM issue, because invoking
openvpn --config client.conf
establishes the vpn connection.
Would you attach full log (from NetworkManager staring, and showing VPN connection attempt)?
* What is your NetworkManager version?
* ip link
2) ip link: usb3 gigabit ethernet card Digitus DN-3023, driver ax88179. home ADSL behind router
3) ip link alternative: same home ADSL connection via WIFI (Intel)
4) logs see attachment journal_censored.log
Created attachment 805253 [details]
log extracted with journalctl
This happens to me also. Workaround with Terminal invocation is working.
*** This bug has been marked as a duplicate of bug 1018317 ***