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

Bug#539950: when /etc/hosts doesn't exist, apt fails to resolve hostnames using libc6 2.10.1



Package: libc6
Version: 2.10.1-0exp1
Severity: important

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.



Reply to: