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
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 ${RESOLVCONF_ RUNDIR: =/lib/init/ rw/resolvconf}
RUN_DIR=
(uncomment the old RUN_DIR line of course)
and in /etc/resolvconf /update. d/libc :
[ -e /etc/default/ resolvconf ] && . /etc/default/ resolvconf ILE="${ RESOLVCONF_ RUNDIR: =/lib/init/ rw/resolvconf} /resolv. conf"
DYNAMICRSLVCNFF
(again uncomment the old var)