Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504032 - sys-libs/glibc-2.17 - getaddrinfo returns incorrect code failing gnulib tests when network sandbox enabled
Summary: sys-libs/glibc-2.17 - getaddrinfo returns incorrect code failing gnulib tests...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 503870
  Show dependency tree
 
Reported: 2014-03-09 23:17 UTC by Alon Bar-Lev (RETIRED)
Modified: 2014-03-10 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
glibc-2.17-getaddrinfo-return.patch (glibc-2.17-getaddrinfo-return.patch,2.85 KB, patch)
2014-03-09 23:17 UTC, Alon Bar-Lev (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alon Bar-Lev (RETIRED) gentoo-dev 2014-03-09 23:17:11 UTC
Created attachment 372236 [details, diff]
glibc-2.17-getaddrinfo-return.patch

From upstream:
"""
NSS_STATUS_UNAVAIL may mean that a necessary input resource is not
available.  This could occur in a number of cases including when the
network is down, system runs out of file descriptors, etc.  The
correct differentiator in such a case is the h_errno, which gives the
nature of failure.  In case of failures other than a simple 'not
found', we set h_errno as NETDB_INTERNAL and let errno be the
identifier for the exact error.
"""

Is not fixed in stable glibc, not sure if you want to fix it or not, but people will report such failures using stable glibc.
Comment 1 SpanKY gentoo-dev 2014-03-10 19:26:22 UTC
i don't have any plans to add anything to glibc-2.17
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2014-03-10 19:42:56 UTC
ok