Andreas Metzler a écrit :
> Package: libc6
> Version: 2.10.1-2
> Severity: normal
> 
> Hello,
> 
> previous versions of the resolver queried the local nameserver if
> /etc/resolv.conf was not present or did not contain a nameserver setting:
> 
> (SID)ametz...@argenau:~$ dpkg -l libc6 | tail -n1
> ii  libc6          2.9-27         GNU C Library: Shared libraries
> (SID)ametz...@argenau:~$ strace -vf -s 132  getent hosts ftp.at.debian.org 
> 2>&1 | grep ^connect
> connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT 
> (No such file or directory)
> connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT 
> (No such file or directory)
> connect(3, {sa_family=AF_INET, sin_port=htons(53), 
> sin_addr=inet_addr("0.0.0.0")}, 28) = 0
> (SID)ametz...@argenau:~$ ls /etc/resolv.conf
> ls: cannot access /etc/resolv.conf: No such file or directory
> 
> 
> libc6  2.10.1 is missing this fallback:
> 
> SID)ametz...@argenau:~$ strace -vf -s 132  getent hosts ftp.at.debian.org 
> 2>&1 | grep ^connect
> connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT 
> (No such file or directory)
> connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT 
> (No such file or directory)
> 

Looking at the code, this was never supported, and only worked by
accident in previous versions.

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to