Bug#818268: libc-bin: provide a (debconf) setting to revert to previous default of preferring IPv4 addresses
Package: libc-bin
Version: 2.21-9
Severity: normal
Tags: ipv6
Hi,
on my jessie systems localhost resolves to 127.0.0.1 (expected), on
this stretch one it it's ::1 (unexpected). The latter also breaks
services that don't listen on IPv6, so calling up
"http://localhost:8080/" in iceweasel, for instance, leads nowhere.
/etc/hosts, /etc/host.conf and /etc/gai.conf are functionally
identical so at first glance it's a change in default behaviour that's
also going to bite upgrades.
I originally reported this as #818243, but apparently it's intended
behaviour and I should fix the client. Fair enough, and at least it
pointed me to /etc/gai.conf, but
* until all clients are fixed, this behaviour of preferring IPv6 will
break a lot of stuff in mysterious ways.
* I don't use IPv6 at all, it's just enabled by default, so I'm not
willing to devote a lot of time to fixing issues with it (like filing
bugs against all clients or ploughing through an RFC to understand what
/etc/gai.conf does and how).
How about a debconf option to have the resolver prefer IPv4 or IPv6
and a note in the release notes?
Regards,
Christian
-- System Information:
Debian Release: stretch/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libc-bin depends on:
ii libc6 2.21-9
Versions of packages libc-bin recommends:
ii manpages 4.04-2
libc-bin suggests no packages.
-- no debconf information
Reply to: