[Bug 924734] Re: /etc/resolv.conf empty after upgrade from Oneiric

Thomas Hood 924734 at bugs.launchpad.net
Mon Apr 22 12:06:39 UTC 2013


*** This bug is a duplicate of bug 923685 ***
    https://bugs.launchpad.net/bugs/923685

I wrote comment #14 before seeing your comment #13. In comment #13 you
show that after reboot resolv.conf is not empty. Good. What resolv.conf
contains is "nameserver 127.0.0.1". That is correct, assuming you are
running a local forwarding nameserver, which is generally dnsmasq —
either the NetworkManager-controlled instance of dnsmasq (which listens
at 127.0.0.1 in Ubuntu 12.04 but at 127.0.1.1 in 12.10) or the "server"
dnsmasq instance started by the "dnsmasq" package (which by default
listens at 127.0.0.1 and at all other IP addresses on local network
interfaces).

Perhaps dnsmasq is not working properly on your machine. See if the
following helps. First, if you are not using the dnsmasq server and the
"dnsmasq" package is installed then "sudo apt-get purge dnsmasq".
Second, if the "network-manager" package is installed, "sudo gedit
/etc/NetworkManager/NetworkManager.conf"  and comment out the line
"dns=dnsmasq" (but a '#' at the beginning of the line), then save and
"sudo service network-manager restart". After this, remote nameserver
addresses should appear in resolv.conf and the glibc resolver will
contact those external addresses instead of the local forwarding
nameserver.

-- 
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/924734

Title:
  /etc/resolv.conf empty after upgrade from Oneiric

Status in “resolvconf” package in Ubuntu:
  Confirmed
Status in “resolvconf” source package in Precise:
  Confirmed

Bug description:
  After an upgrade of a system from Oneiric to Precise /etc/resolv.conf contains only the lines:
  -------
  # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
  #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
  -------
  and of course unable to do dns resolution

  The file is a link to /run/resolvconf/resolv.conf

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: resolvconf 1.63ubuntu6
  ProcVersionSignature: Ubuntu 3.2.0-12.20-generic 3.2.2
  Uname: Linux 3.2.0-12-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.91-0ubuntu1
  Architecture: amd64
  Date: Wed Feb  1 09:49:56 2012
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: resolvconf
  UpgradeStatus: Upgraded to precise on 2012-01-31 (0 days ago)

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




More information about the foundations-bugs mailing list