[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patches] [bug] when /etc/hosts doesn't exist, apt fails to resolve hostnames using libc6 2.10.1
- To: patches@xxxxxxxxxx
- Subject: [patches] [bug] when /etc/hosts doesn't exist, apt fails to resolve hostnames using libc6 2.10.1
- From: Matthias Klose <doko@xxxxxxxxxx>
- Date: Tue, 04 Aug 2009 20:09:44 +0200
[not a patch, but there's no way to subscribe to the bug tracker, and no general
ML; was told to use this list]
E.g. apt-get's call to getaddrinfo() returns with EAI_SYSTEM when /etc/hosts is
missing and EAI_NONAME if /etc/hosts is empty. This is different from 2.9, where
EAI_NONAME is returned in both cases, resulting in the regression in apt-get.
`sudo whoami' prints an additional error message but works as expected otherwise.