Hi,
I made an upstart script, like Scott suggested, which initialises the
resolvconf directory structure. I have it start pre-udev, so it's sure
to fire before ifup. It replaces the sysv link in rcS.d, but I also made
some changes to resolvconf itself, basically I moved the resolvconf run
directory to /lib/init/rw/, to have the earliest available writable
filesystem from the start of the boot process.
Anyway, the upstart script is attached, and put the following lines in
/sbin/resolvconf
[ -e /etc/default/resolvconf ] && . /etc/default/resolvconf
RUN_DIR=${RESOLVCONF_RUNDIR:=/lib/init/rw/resolvconf}
(uncomment the old RUN_DIR line of course)
and in /etc/resolvconf/update.d/libc :
[ -e /etc/default/resolvconf ] && . /etc/default/resolvconf
DYNAMICRSLVCNFFILE="${RESOLVCONF_RUNDIR:=/lib/init/rw/resolvconf}/resolv.conf"
(again uncomment the old var)
** Attachment added: "resolvconf.conf"
http://launchpadlibrarian.net/37105983/resolvconf.conf
--
resolvconf starts after ifupdown, does not pick the dns-nameserver and
dns-search lines up from /etc/network/interfaces
https://bugs.launchpad.net/bugs/448095
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