[Bug 1067043] Re: resolvconf adds an empty "nameserver" record into /etc/resolv.conf
Thomas Hood
1067043 at bugs.launchpad.net
Mon Oct 22 20:32:40 UTC 2012
FIrst, I'd like to know exactly what /etc/network/if-up.d/000resolvconf
is receiving in the IF_DNS_NAMESERVERS variable. Please apply the
appended patch, down and up the br0 interface, confirm that
/run/resolvconf/interface/br0.inet still contains
nameserver 66.185.16.130
nameserver
nameserver 66.185.16.131
and then post here the lines from /var/log/syslog that look like the
following ones.
Oct 22 22:26:38 myhost /etc/network/if-up.d/000resolvconf: 0000000 2e31 2e32 2e33 2034 2e35 2e36 2e37 0a38
Oct 22 22:26:38 myhost /etc/network/if-up.d/000resolvconf: 0000020
Second, what happens if you comment out the bridge_* options in the iface br0 stanza? Does the spurious "nameserver" line go away?
--
Thomas
--- 000resolvconf.orig 2012-10-22 22:27:21.187597692 +0200
+++ 000resolvconf 2012-10-22 22:26:18.867595028 +0200
@@ -25,6 +25,7 @@
R="${R}sortlist $IF_DNS_SORTLIST
"
fi
+echo "$IF_DNS_NAMESERVERS" | od -x | logger -t $0
for NS in $IF_DNS_NAMESERVERS ; do
R="${R}nameserver $NS
"
--
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:
New
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