[Bug 1067043] Re: resolvconf adds an empty "nameserver" record into /etc/resolv.conf

rob terhaar robbyt at robbyt.net
Tue Oct 16 22:09:40 UTC 2012


With VIM I turned on invisible characters, via `:set invlist`

# This file describes the network interfaces available on your system$
# and how to activate them. For more information, see interfaces(5).$
$
# The loopback network interface$
auto lo$
iface lo inet loopback$
$
# The primary network interface$
#auto eth0$
#^Iiface eth0 inet dhcp$
$
auto eth0 $
iface eth0 inet manual $
$
auto br0$
iface br0 inet static$
^Iaddress 199.195.144.53$
^Inetmask 255.255.255.0$
^Inetwork 199.195.144.0$
^Ibroadcast 199.195.144.255$
^Igateway 199.195.144.1 $
^Idns-nameservers 66.185.16.130 66.185.16.131$
^Ibridge_ports eth0$
^Ibridge_stp off$
^Ibridge_fd 0$
^Ibridge_maxwait 0$
$


When I removed that space after the "gateway" setting in the interfaces config, and then reran `/etc/network/if-up.d/000resolvconf` the empty nameserver value did not go away.

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

Title:
  resolvconf adds an empty "nameserver" record into /etc/resolv.conf

Status in “resolvconf” package in Ubuntu:
  Incomplete

Bug description:
  My dns-nameservers config is set to:

  "dns-nameservers 66.123.123.130 66.123.123.131"

  However my /etc/resolv.conf looks like:

  "# 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 66.123.123.130
  nameserver 66.123.123.131
  nameserver
  "

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: resolvconf 1.63ubuntu16
  ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30
  Uname: Linux 3.2.0-32-generic x86_64
  ApportVersion: 2.0.1-0ubuntu13
  Architecture: amd64
  Date: Mon Oct 15 15:46:46 2012
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Alpha amd64+mac (20120211)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: resolvconf
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list