Re: seeking help with ipv6 qa failures
"Dave Brolley" <[email protected]> Wed, 25 Jan 2017 16:28:43 -0500
| Newsgroups | gmane.comp.sysutils.pcp |
|---|---|
| Message-ID | <[email protected]> |
On 25/01/17 02:35 PM, Ken McDonell wrote: > > Good catch Dave. > > On this machine HAVE_AI_ADDRCONFIG is 1. When I change the libpcp code so that AI_ADDRCONFIG is not set, then ... > > kenj@vm00:~/src/pcp/src/libpcp/src$ pminfo -h 'pcp://[::1]' -f pmcd.feature.ipv6 > pmcd.feature.ipv6 > value 1 > kenj@vm00:~/src/pcp/src/libpcp/src$ pminfo -h '[::1]' -f pmcd.feature.ipv6 > pmcd.feature.ipv6 > value 1 > > which is correct. > > So the question becomes, when (if ever) should AI_ADDRCONFIG be set in hints.ai_flags? > > Given that the default hints are AI_V4MAPPED | AI_ADDRCONFIG for current glibc versions (which is different to POSIX), I would be nervous about changing the libpcp code unconditionally. > > Pro tem, I'm much more inclined to notrun the failing QA test on just this platform, as (a) this test passes everywhere else, and (b) I can't immediately see any other QA tests that are seeing a related failure on this platform (vm00). Perhaps the reason is that most modern platforms now configure local IPv6 addresses these days, so this is not an issue. Note that this is not specifically an IPv6 problem. If your platform had no IPv4 addresses configured, then 127.0.0.1 would not have worked either. It would seem that the default of AI_ADDRCONFIG is intended to cause this behavior. In light of that, I would tend to agree to just leave it alone. Dave -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#15034): https://groups.io/g/pcp/message/15034 View All Messages In Topic (11): https://groups.io/g/pcp/topic/4244556 Mute This Topic: https://groups.io/mt/4244556?uid=174580 New Topic: https://groups.io/g/pcp/post -=-=- pcp mailing list [email protected] https://groups.io/g/pcp/messages -=-=- Change Your Subscription: https://groups.io/g/pcp/editsub?uid=174580 Group Home: https://groups.io/g/pcp Contact Group Owner: [email protected] Terms of Service: https://groups.io/static/tos Unsubscribe: https://groups.io/g/pcp/leave/354243/563757577/xyzzy -=-=-=-=-=-=-=-=-=-=-=-