Comment 16 for bug 280160

Revision history for this message
Daniel Dumitrache (dandu) wrote :

I can confirm this bug in 10.10.

But, in my opinion this is an openvpn bug, because openvpn is the one calling the script with some missing environment variables.

I submitted this bug to openvpn: https://community.openvpn.net/openvpn/ticket/93

In the meantime I am using as a workaround a wrapper script over nm-openvpn-service-openvpn-helper (renamed to .dist):

$ cat /usr/lib/network-manager-openvpn/nm-openvpn-service-openvpn-helper
#!/bin/bash

[ -z "$ifconfig_local" ] && export ifconfig_local=$4
[ -z "$ifconfig_remote" ] && export ifconfig_remote=$5

/usr/lib/network-manager-openvpn/nm-openvpn-service-openvpn-helper.dist $*