With wicd this is working correctly, as long as I don't tell OpenVPN to drop privileges to nobody/nogroup (because then running the downscript will fail!).
I recommend changing update-resolv-conf's header to mention this gotcha, as such:
# Parses DHCP options from openvpn to update resolv.conf
# To use set as 'up' and 'down' script in your openvpn *.conf:
# up /etc/openvpn/update-resolv-conf
# down /etc/openvpn/update-resolv-conf
#
# You must have resolvconf installed, and OpenVPN will need to run as root to
# allow the down script to work; the up script will always run as root
#
# Used snippets of resolvconf script by Thomas Hood <email address hidden>
# and Chris Hanson
# Licensed under the GNU GPL. See /usr/share/common-licenses/GPL.
With wicd this is working correctly, as long as I don't tell OpenVPN to drop privileges to nobody/nogroup (because then running the downscript will fail!).
I recommend changing update- resolv- conf's header to mention this gotcha, as such:
# Parses DHCP options from openvpn to update resolv.conf update- resolv- conf update- resolv- conf common- licenses/ GPL.
# To use set as 'up' and 'down' script in your openvpn *.conf:
# up /etc/openvpn/
# down /etc/openvpn/
#
# You must have resolvconf installed, and OpenVPN will need to run as root to
# allow the down script to work; the up script will always run as root
#
# Used snippets of resolvconf script by Thomas Hood <email address hidden>
# and Chris Hanson
# Licensed under the GNU GPL. See /usr/share/