pcp
[Top] [All Lists]

IPv6 conditional

To: PCP <pcp@xxxxxxxxxxx>
Subject: IPv6 conditional
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu, 21 Mar 2013 17:39:22 +1100
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4
In pmconfig we assert that IPv6 is always enabled for builds from PCP 3.6.11 on.

But what if the kernel does not have IPv6 support, e.g. on Gentoo

$ cat /proc/net/if_inet6
cat: /proc/net/if_inet6: No such file or directory

or the ipv6 kernel module is not loaded/built-in on Linux, or goodness knows what on the non-Linux systems.

So in PCPland we try and make IPv6 sockets for pmcd et al and they all fail ... this problem is is implicated in 66 of the 74 failing QA cases for vm05 PCP 3.7.1 i486 Gentoo 2.0.3.

Seems like we need to be much smarter here (a) in the build, or (b) at run-time or (c) both.

<Prev in Thread] Current Thread [Next in Thread>