Uuh, Thomas - did not know  I am stepping on your toe here. Pardon!

So, your hints where quite helpful as I did not notice the file being
updated was the one in /run/resolvconf.

My situation is this:
- 4 Racks of boxes with 1 to 3 networks each
- network 1 is static, the other 2 dhcp
- resolver configuration depends on the existance of networks
- had to take care of this, so I generate the resolv.conf from a package - no 
link anymore
- once you ifdown/ifup one of the dhcp interfaces, the resolv.conf got 
overwritten

It was bug #1385010 you led me to that caused this.

As this might help others, here is my workaround.
- create /etc/dhcp/dhclient-enter-hooks.d/000nomk_resolv_conf whith these few 
lines:

if [ -x /sbin/resolvconf ] && [ ! -L /etc/resolv.conf ]; then
        make_resolv_conf() { : ; }
fi

For me its okay, as I need to run this from a package and make sure that
once updates to official packages are installed my resolv.conf will not
be overwritten. This is not a solution.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1394081

Title:
  Add manual options for administrators

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1394081/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to