Comment 0 for bug 1385010

Revision history for this message
Alan (asbraithwaite+launchpad) wrote : unexpected behavior: make_resolv_conf not undefined

The resolvconf package comes with /etc/dhcp/dhclient-enter-hooks.d/resolvconf which convieniently undefines make_resolve_conf (previously defined by dhclient-script) and calls resolvconf.

However, the hook checks if /etc/resolv.conf is a symlink even though /sbin/resolvconf already handles this.

This is problematic because it never undefines the make_resolv_conf function which dhclient-script defines itself.

For me, the expect behavior would be /etc/resolv.conf never changing if resolvconf is installed and the file is not a symlink.

At the very least, I think this behavior should be documented in the man pages for resolvconf. Furthermore, debian does not implement this patch and it exists starting in 12.04 until current.

As far as I can tell, there's absolutely no reason to check it twice if resolvconf already implements it.

It was introduced by: http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/resolvconf/trusty/revision/32/etc/dhcp/dhclient-enter-hooks.d/resolvconf