Your message dated Thu, 8 Feb 2007 10:31:04 +0100 with message-id <20070208093104.GA3477@mad.intersec.eu> and subject line getent doesn't list ipv6 entries when not given a key 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 ---
- To: <submit@bugs.debian.org>
- Subject: getent doesn't list ipv6 entries when not given a key
- From: Adam Heath <doogie@debian.org>
- Date: Tue, 25 Sep 2001 22:16:52 -0500 (CDT)
- Message-id: <Pine.LNX.4.33.0109252213490.25996-100000@doogie2.private.brainfood.com>
Package: libc6 Version: 2.2.4-1 adam@doogie2:~$ getent hosts|grep :: adam@doogie2:~$ getent hosts ::1 ::1 ip6-localhost ip6-loopback getent doesn't enumerate the ipv6 entries in /etc/hosts when not given a key. It should list all entries.
--- End Message ---
--- Begin Message ---
- To: Adam Heath <doogie@debian.org>, 113543-done@bugs.debian.org
- Subject: Re: getent doesn't list ipv6 entries when not given a key
- From: Pierre HABOUZIT <madcoder@debian.org>
- Date: Thu, 8 Feb 2007 10:31:04 +0100
- Message-id: <20070208093104.GA3477@mad.intersec.eu>
- Mail-followup-to: Adam Heath <doogie@debian.org>, 113543-done@bugs.debian.org
- In-reply-to: <Pine.LNX.4.33.0109252213490.25996-100000@doogie2.private.brainfood.com>
- References: <Pine.LNX.4.33.0109252213490.25996-100000@doogie2.private.brainfood.com>
On Tue, Sep 25, 2001 at 10:16:52PM -0500, Adam Heath wrote: > Package: libc6 > Version: 2.2.4-1 > > adam@doogie2:~$ getent hosts|grep :: > adam@doogie2:~$ getent hosts ::1 > ::1 ip6-localhost ip6-loopback > > getent doesn't enumerate the ipv6 entries in /etc/hosts when not given a key. > It should list all entries. If you really want that, you have to set RES_USE_INET6 in _res.options which is done either puting 'options inet6' in your /etc/resolv.conf system-wide or just doing: RES_OPTIONS=inet6 getent hosts Beware about the fact that this will map ipv4 addresses onto the ipv6 world: [madcoder mad] RES_OPTIONS=inet6 getent hosts ::ffff:127.0.0.1 localhost ...... ::1 ip6-localhost ip6-loopback fe00:: ip6-localnet ... -- ·O· Pierre Habouzit ··O madcoder@debian.org OOO http://www.madism.orgAttachment: pgpbUq769mPAq.pgp
Description: PGP signature
--- End Message ---