Benjamin's patch isn't in resolvconf trunk, I applied it locally and
tested it with: vpnc + resolvconf + dnsmasq.

The patch now has an ugly workaround to work with dnsmasq also and works
with more interfaces.

Although I think it would be better not to have vpnc die in the first
place, so its resolvconf hooks fire, as they normally do.

The patch may solve problems when something dies and
/etc/resolvconf/run/interfaces/* files are still left (It probably
happened to me with dnsmasq and it's lo.dnsmasq file), so maybe a pid
should be associated with the interface files?

If the pid doesn't exist anymore, we skip/delete the interface
definition.

And note the strange newline echoing in the script - without it, it
glues item together, e.g:  eth0tun0 instead of eth0 tune0


** Attachment added: "Additional adjustments in above patch"
   http://launchpadlibrarian.net/18007430/list-records.patch_with_dnsmasq

-- 
resolvconf should not use dns info for interfaces that are down
https://bugs.launchpad.net/bugs/262650
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to