Bug 14413 - nsswitch doesn't implement getaddrinfo(), plugins cannot provide full getaddrinfo features
nsswitch doesn't implement getaddrinfo(), plugins cannot provide full getaddr...
Status: NEW
Product: glibc
Classification: Unclassified
Component: network
2.17
: P2 normal
: ---
Assigned To: Not yet assigned to anyone
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-27 15:13 UTC by Pavel Šimerda
Modified: 2012-07-31 18:43 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Šimerda 2012-07-27 15:13:10 UTC
GLIBC's name service switch doesn't provide a way to override getaddressinfo()
which is the only function that supports IPv6 link-local addresses.

IPv6 link-local addresses don't work without the interface name (when
written as text) that then translates to scope id.

http://tools.ietf.org/html/rfc2553

glibc-2.15-37.fc17.x86_64
Comment 1 Pavel Šimerda 2012-07-27 15:15:46 UTC
Fedora bug:

https://bugzilla.redhat.com/show_bug.cgi?id=843054

This is actually needed for link-local name resolution (whatever NSS plugin is used for it then).
Comment 2 Pavel Šimerda 2012-07-31 13:31:37 UTC
There's another usecase for getaddrinfo() in nsswitch and that is avoiding problems caused by solutions to bug 12377 including bug 12398. See discussions
in these two bug reports.