[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#410036: libc6: resolver: $LOCALDOMAIN does not work as non-root user



Package: libc6
Version: 2.3.6.ds1-11
Severity: normal


Overwriting the search-list in /etc/resolv.conf with
the environment variable LOCALDOMAIN does not work as
non-root:

root@eyespot:~# cat /etc/resolv.conf 
nameserver 194.95.249.252
nameserver 194.95.246.252
nameserver 194.95.247.252
search sgs.dfn.de shuttle.de vc.dfn.de
root@eyespot:~# ping topas
ping: unknown host topas
root@eyespot:~# LOCALDOMAIN='noc.dfn.de x-win.dfn.de' ping topas
PING topas.noc.dfn.de (193.174.247.204) 56(84) bytes of data.
64 bytes from topas.noc.dfn.de (193.174.247.204): icmp_seq=1 ttl=255 time=0.153 ms
64 bytes from topas.noc.dfn.de (193.174.247.204): icmp_seq=2 ttl=255 time=0.166 ms

--- topas.noc.dfn.de ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 0.153/0.159/0.166/0.014 ms
root@eyespot:~# exit
raoul@eyespot:~$ ping topas
ping: unknown host topas
raoul@eyespot:~$ LOCALDOMAIN='noc.dfn.de x-win.dfn.de' ping topas
ping: unknown host topas
raoul@eyespot:~$ 

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libc6 depends on:
ii  tzdata                        2007a-3    Time Zone and Daylight Saving Time

libc6 recommends no packages.

-- no debconf information



Reply to: