[Bug 1001881] Re: resolvconf incorrectly configures resolv.conf

Thomas Hood 1001881 at bugs.launchpad.net
Tue May 22 12:48:44 UTC 2012


Nicolai: I'm glad I asked because my first thought was that you might
have the "dnsmasq" package installed and disabled in a non-standard way.
The "dnsmasq" initscript sends "nameserver 127.0.0.1" to resolvconf
unless the dnsmasq service is disabled in a standard way.  But you don't
have the "dnsmasq" package which contains the aforementioned initscript,
so this can't be the problem.

We need to find out where that "nameserver 127.0.0.1" line is coming
from.  It shouldn't be there if you have no caching/forwarding
nameserver running.

Please install resolvconf, reboot, confirm that you have resurrected the
problem and send the output of:

ls -l /etc/resolv.conf
lsattr /etc/resolv.conf
ls -l /run/resolvconf
ls -l /run/resolvconf/interface
for F in /run/resolvconf/interface/* ; do echo "=== $F ===" ; cat "$F" ; done
for F in /etc/resolvconf/resolv.conf.d/* ; do echo "=== $F ===" ; cat "$F" ; done

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

Title:
  "nameserver 127.0.0.1" in resolv.conf causes failure of name
  resolution

Status in “resolvconf” package in Ubuntu:
  Invalid

Bug description:
  This has happened a number of times both with some laptops. When they
  get up resolv.conf contains this:

  $ cat /etc/resolv.conf 
  # 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
  nameserver 127.0.0.1
  search langfeldt.net

  This is nowhere like right and makes it impossible to get name-
  resolution. When I remove resolvconf everything works right. This is
  right:

  $ cat /etc/resolv.conf 
  # Generated by NetworkManager
  domain langfeldt.net
  search langfeldt.net
  nameserver 192.168.1.1

  (except that domain and search should not appear in the same
  resolv.conf file).

  # apt-cache policy resolvconf 
  resolvconf:
    Installed: (none)
    Candidate: 1.63ubuntu11
    Version table:
       1.63ubuntu11 0
          500 http://no.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: resolvconf (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Sun May 20 11:00:20 2012
  ProcEnviron:
   LANGUAGE=
   TERM=xterm
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: resolvconf
  UpgradeStatus: Upgraded to precise on 2012-05-20 (0 days ago)

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




More information about the foundations-bugs mailing list