[Resolvconf-devel] Bug#462946: resolvconf reverses nameserver order and then truncates early second time if 127 is last originally
Peter T. Breuer
ptb at inv.it.uc3m.es
Mon Jan 28 12:35:18 UTC 2008
Package: resolvconf
Version: 1.38
Severity: important
Why has resolvconf stopped working for me since this time last week?
Possibly because the libc script contains
case "$1" in (127.*) return 0 ;; esac
which truncates the list of nameservers if it sees 127.0.0.1
ANNNNNND
it inverts the list order somewhere along the way.
I am feeding it with
search it.uc3m.es
nameserver 147.188.192.4
nameserver 147.188.192.8
nameserver 127.0.0.1
and what comes out in resolv.conf is
search it.uc3m.es
nameserver 127.0.0.1
from cat (the above) | resolvconf -a eth1
even though apparently the run/interface/eth1 list is correct:
search it.uc3m.es
nameserver 147.188.192.4
nameserver 147.188.192.8
nameserver 127.0.0.1
As far as I can make out there is a horrible confusion about when or
when not something should change caused by comparison with one or more
of run/interface/eth1, run/resolv.conf, resolv.conf, etc. since they
seem not all to be equal when you "truncate" the list. Thus the
truncated versions may be "equal", but the real right result would not
be "equal". Only you don't know it.
Please don't do this truncation! That's the easiest way out.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.22.10 (PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash
Versions of packages resolvconf depends on:
ii coreutils 5.97-5.3 The GNU core utilities
ii debconf [debconf-2.0] 1.5.17 Debian configuration management sy
ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip
resolvconf recommends no packages.
-- debconf information:
resolvconf/bad-pppoeconf-hook:
resolvconf/downup-interfaces:
resolvconf/link-tail-to-original: false
resolvconf/bad-pppconfig-hook:
resolvconf/linkify-resolvconf: true
resolvconf/disable-bad-hooks: true
resolvconf/bad-xisp-hook:
More information about the Resolvconf-devel
mailing list