[Bug 923685] Re: Installing resolvconf causes loss of manually entered nameserver information in resolv.conf
Launchpad Bug Tracker
923685 at bugs.launchpad.net
Mon Feb 20 19:25:13 UTC 2012
This bug was fixed in the package resolvconf - 1.63ubuntu8
---------------
resolvconf (1.63ubuntu8) precise; urgency=low
* Use a post-stop script for disabling resolvconf, not a pre-stop script,
since upstart seems to be silently ignoring pre-stop when there's no
main process. LP: #933566.
* debian/postinst: mkdir -p /run/resolvconf/interface again, just in case
there's been a reboot between the preinst and postinst which would wipe
out /run. May or may not address LP 933035.
* debian/config, debian/templates, debian/postinst: if we don't know that
/etc/resolv.conf was being dynamically managed before install (in at
least some cases), link the original contents of /etc/resolv.conf to
/etc/resolvconf/resolv.conf.d/tail so that any statically configured
nameservers aren't lost. LP: #923685.
* when called with --enable-updates, ignore failures from the hooks.
LP: #933723.
-- Steve Langasek <steve.langasek at ubuntu.com> Mon, 20 Feb 2012 19:17:32 +0000
** Changed in: resolvconf (Ubuntu Precise)
Status: Fix Committed => Fix Released
--
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:
Fix Released
Status in “resolvconf” source package in Precise:
Fix Released
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