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 $* ** Bug watch added: community.openvpn.net/openvpn/ #93 https://community.openvpn.net/openvpn/ticket/93 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/280160 Title: n-m-openvpn shuts down VPN when openvpn soft-restarts -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs