On 06/10/2013 04:30 AM, Siddhesh Poyarekar wrote:
Hi,
The patch below is already upstream and hence in rawhide with the
rebase last week. Reporter has requested a backport into F19. OK to
commit?
Siddhesh
commit 3d04f5db20c8f0d1ba3881b5f5373586a18cf188
Author: Siddhesh Poyarekar <siddhesh(a)redhat.com>
Date: Tue May 21 21:54:41 2013 +0530
Set EAI_SYSTEM only when h_errno is NETDB_INTERNAL
Fixes BZ #15339.
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.
This looks good for f19 and doesn't impact the API in any serious way.
Cheers,
Carlos.