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

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



Your message dated Wed, 07 Feb 2007 12:01:22 +0100
with message-id <45C9B182.5090401@aurel32.net>
and subject line Bug#410036: libc6: resolver: $LOCALDOMAIN does not work as non-root user
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Raoul Borenius a écrit :
> 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:~$ 
> 

For security reasons this environment variable (among others) is not
used for setuid programs. /bin/ping is setuid.



-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

--- End Message ---

Reply to: