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

Bug#844420: FTBFS: tests fail on hosts without network access



On 2016-11-15 16:00, Ximin Luo wrote:
> Package: glibc
> Version: 2.24-5
> Severity: important
> Tags: upstream patch
> Forwarded: https://sourceware.org/bugzilla/show_bug.cgi?id=20826
> 
> Dear Maintainer,
> 
> posix/tst-getaddrinfo.c is causing glibc to FTBFS on tests.reproducible-builds.org:
> 
> https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/glibc_2.24-5.rbuild.log.gz
> 
> The attached patch should fix this; I gave a more detailed description in the upstream bug report.

Hum, I am not sure it is the correct way to fix that. I think that
libnss_files should be able to resolve entries from /etc/hosts when the
query is relative, but also when it is fully qualified. This is how
libnss_dns behaves.

Also note that technically the glibc doesn't require network access,
just a DNS server able to resolve 'localhost.'

Aurelien

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


Reply to: