[Bug 923685] Re: Installing resolvconf causes loss of manually entered nameserver information in resolv.conf

Thomas Hood 923685 at bugs.launchpad.net
Sun Feb 19 15:34:15 UTC 2012


I think we agree on the main principle, which is: append, unless we are
confident that dynamic nameserver information will be supplied.  In the
case of ifupdown the condition means: there is a logical interface
definition that is either "dhcp" or contains "dns-nameservers".

#26 differs from #33 only in applying the additional condition that
there must be evidence that the logical interface definition is
automatically activated, i.e., for logical interface L there is a line
"auto L" and the default mapping is in effect.  (Any use of "source" or
"mapping" calls into question whether the default mapping is in effect.)

I follow your reasoning in #33, though; and not applying the additional
condition will simplify the code considerably.

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

Title:
  Installing resolvconf causes loss of manually entered nameserver
  information in resolv.conf

Status in “resolvconf” package in Ubuntu:
  In Progress
Status in “resolvconf” source package in Precise:
  In Progress

Bug description:
  Release: Precise
  Architecture: amd64

  This is something I noticed when recently doing updates on my Precise test server. Before I had set up a /etc/resolv.conf (cannot remember when but maybe the installer did) so it would point to the correct nameserver and search list(s). And that was left alone all the time (on a server installation). But the  recent update to resolvconf changed that and the dns configuration was dropped (because the static ip setup in /etc/network/interfaces did not have any dns-* keywords).
  Now this is simple to fix by adding dns-nameserver and dns-search to the interfaces file, but (assuming many servers have a static ip setup and not dhcp) could cause a lot of fallout for upgrades.

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




More information about the foundations-bugs mailing list