Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 584286 - sys-auth/nss-mdns-0.10 does not give the necessary interface scope for IPv6 link-local addresses
Summary: sys-auth/nss-mdns-0.10 does not give the necessary interface scope for IPv6 l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-27 05:54 UTC by zamabe
Modified: 2016-05-29 19:00 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zamabe 2016-05-27 05:54:16 UTC
Using avahi and nss-mdns to do lookups of machine.local. The IPv6 network is only link-local addresses. The correct link-local address is reported, but nss-mdns does not pass the interface (necessary for a scoped link-local address) it was received on to nss.

Reproducible: Always

Steps to Reproduce:
1. ping6 machine.local
Actual Results:  
connect: Invalid argument

Expected Results:  
successful ping

nss-mdns should give a proper scoped link-local address
Comment 1 zamabe 2016-05-27 21:25:40 UTC
Debian bug #644912 has a patch which applies cleanly to 0.10. 
https://bugs.debian.org/644912

It acts oddly though. 
`ssh -vv machine.local` *does* get a scoped link-local ipv6

These do *not* resolve to a scoped link-local, just the link-local.
`ping6 machine.local` 
`ssh -6vv machine.local` 
`getent hosts machine.local` 
`avahi-resolve-host-name machine.local`
Comment 2 zamabe 2016-05-27 21:27:17 UTC
My nsswitch.conf "hosts" line: 

> files mdns_minimal [NOTFOUND=return] dns mdns
Comment 3 Amy Liffey gentoo-dev 2016-05-29 19:00:15 UTC
committer	Amy Winston <amynka@gentoo.org>	2016-05-29 18:57:29 (GMT)
commit	75e23df8c331b7498d1f27a82bf0d048f627bb3d 

sys-auth/nss-mdns: revbump, add ipv6 patch bug #584286

Thank you.

Amy