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

Bug#818268: libc-bin: provide a (debconf) setting to revert to previous default of preferring IPv4 addresses



control: severity -1 wishlist

On 2016-03-15 10:57, Christian Pernegger wrote:
> 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?

gai.conf is not really the kind of file that is easily to maintain
through a debconf interface. So I don't think it's something we are
going to develop. That said if someone provides a patch that can manage
it, we'll probably merge it.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: