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 PROTECTED]> 
# and Chris Hanson
# Licensed under the GNU GPL.  See /usr/share/common-licenses/GPL.

-- 
update-resolv-conf script does not restore old values
https://bugs.launchpad.net/bugs/226185
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to