Package: libc6
Version: 2.7-18
Severity: serious
                
        
Problem is about host name resolving.

-> cat /etc/host.conf
order hosts, bind
-> grep host /etc/nsswitch.conf
hosts: files [SUCCESS=return NOTFOUND=continue UNAVAIL=continue 
TRYAGAIN=continue] dns

So if i try a host lookup with a name which is defined in my local
/etc/hosts such as ...
-> grep printer /etc/hosts
192.168.2.3             srvprinter

... then, when lanching ...
-> host srvprinter
srvprinter has address 192.168.2.3
and this is a good answer (!!), but if a make a tcpdump on port 53, i see a
request on the dns server, and this behavior is NOT conform to the order as
defined in either /etc/host.conf or /etc/nsswitch.conf

Furthermore, when launching down my Ethernet interface, (my dns server is no
more available), then i confirm alway this behavior.

In this case, when no network is available, then the same command responds
with a timeout, this behavior is BAD because libc6 must ALWAYS make access
to local ressource (because order...) before launching network access.

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'oldstable'), (33, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.27.6.jml.grsec.061-grsec (SMP w/1 CPU core; PREEMPT)
Locale: lang=fr_fr.ut...@euro, lc_ctype=fr_fr.ut...@euro (charmap=ISO-8859-15) 
(ignored: LC_ALL set to
fr_fr.iso-8859...@euro)
Shell: /bin/sh linked to /bin/bash

Versions of packages libc6 depends on:
ii  libgcc1                      1:4.3.2-1.1 GCC support library

libc6 recommends no packages.

Versions of packages libc6 suggests:
ii  glibc-doc                     2.7-18     GNU C Library: Documentation
pn  libc6-i686                    <none>     (no description available)
ii  locales                       2.7-18     GNU C Library: National Language (


Best regards

-- 
--------------------------------------
 -- Jean-Marc LACROIX                 --
  -- mailto : jeanmarc.lacr...@free.fr --
    ---------------------------------------



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to