On Sat, May 06, 2017 at 08:00:11PM +0200, Michael Stapelberg wrote:
> Thanks. It seems like getaddrinfo() is returning two results when resolving
> localhost. Can you provide the contents of your hostname resolution-related
> configuration please? I.e., /etc/hosts, /etc/resolv.conf,
> /etc/nsswitch.conf, anything else you might have tweaked in that area.

nsswitch.conf: always default.


amd64 (100% fails on all chroots):
.--====[ /etc/hosts ]
127.0.0.1       localhost
127.0.1.1       umbar.angband.pl        umbar
#lots of commented out stuff

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
+--====[ /etc/resolv.conf ]
domain angband.pl
search angband.pl
nameserver 2001:6a0:118::3:2
`----

armhf (100% fails on all chroots):
.--====[ /etc/hosts ]
127.0.0.1       localhost
::1             localhost ip6-localhost ip6-loopback
fe00::0         ip6-localnet
ff00::0         ip6-mcastprefix
ff02::1         ip6-allnodes
ff02::2         ip6-allrouters

127.0.0.1  kholdan      kholdan.angband.pl
2001:6a0:118::3:6       narchost
#2001:6a0:118::3:3      apt.angband.pl
+--====[ /etc/resolv.conf ]
domain angband.pl
search angband.pl
nameserver 10.0.1.2
`----

arm64 (100% ok on all chroots):
.--====[ /etc/hosts ]
127.0.0.1       localhost
127.0.1.1       sirius.angband.pl sirius

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
+--====[ /etc/resolv.conf ]
domain angband.pl
nameserver 10.0.1.2
nameserver 2001:6a0:118::3:2
`----

(10.0.1.2 is same as 2001:6a0:118::3:2)

-- 
Don't be racist.  White, amber or black, all beers should be judged based
solely on their merits.  Heck, even if occasionally a cider applies for a
beer's job, why not?
On the other hand, corpo lager is not a race.

Reply via email to