Bug#551760: Acknowledgement (apt: Something wicked happened resolving)
"Vladimir Stavrinov" <Vladimir Stavrinov <vs@inist.ru>> wrote:
> On Wed, Oct 21, 2009 at 01:23:18AM +0200, Stefan B??hler wrote:
> > $ touch /etc/hosts
>
> Yes, moving /etc/hosts anywhere cause resolver don't work.
> This problem appear on the systems with libc6 version 2.10.1-1, but not
> with 2.9-26.
>
I have this problem with libc 2.9-25 and 2.10.1-1. I guess the real "bug" is
in libc, but perhaps debootstrap could be modified to touch /etc/hosts (and
fill it perhaps with some sane defaults?)
Btw: Using hints.ai_flags = (AI_ADDRCONFIG); fixes the problem as long as you
don't have any ipv6 address. Asking for AF_INET fixes it too.
Reply to: