[Bug 226185] Re: update-resolv-conf script does not restore old values
Tom Dickson
launchpad at bombcar.com
Wed Nov 5 01:44:59 GMT 2008
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 <jdthood at yahoo.co.uk>
# 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
Server Team, which is subscribed to openvpn in ubuntu.
More information about the Ubuntu-server-bugs
mailing list