pcp
[Top] [All Lists]

Re: [performancecopilot/pcp] pmcd wants to bind on ipv6 event if it is d

To: performancecopilot/pcp <pcp@xxxxxxxxxxxxxxxxxx>
Subject: Re: [performancecopilot/pcp] pmcd wants to bind on ipv6 event if it is disabled (#102)
From: Nathan Scott <notifications@xxxxxxxxxx>
Date: Thu, 04 Aug 2016 15:30:15 -0700
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1470349815; bh=t9V216YJ0Q3anDPRt0sI/pWt9mals8eHNcV+xVji7MA=; h=From:Reply-To:To:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=F8KDLd27ev6k7NY9LV7zKh+vtvHpaeebFK10mGTGOSpFl4vqzcwa0BFSfruFs6Y5x 2TA9c+zaREU4lC+Buv1xtAP1n8iRKsiOCI5b4QF3wwLW89CFXE/tDRW9PhLMN0CFXO 9ckJB1kEVDE0Mujq3iSl03sgwj8fFbFyHGOqqizc=
In-reply-to: <performancecopilot/pcp/issues/102@xxxxxxxxxx>
List-archive: https://github.com/performancecopilot/pcp
List-id: performancecopilot/pcp <pcp.performancecopilot.github.com>
List-post: <mailto:reply+00bd08b65eba2810f43f55070fff68bf6646a0403b87105592cf0000000113bb83f792a169ce0a10b176@reply.github.com>
List-unsubscribe: <mailto:unsub+00bd08b65eba2810f43f55070fff68bf6646a0403b87105592cf0000000113bb83f792a169ce0a10b176@reply.github.com>, <https://github.com/notifications/unsubscribe/AL0Itp6OvbrB1ESN_ldLh_fgKHRuPy-Lks5qcmf3gaJpZM4JahoX>
References: <performancecopilot/pcp/issues/102@xxxxxxxxxx>
Reply-to: performancecopilot/pcp <reply+00bd08b65eba2810f43f55070fff68bf6646a0403b87105592cf0000000113bb83f792a169ce0a10b176@xxxxxxxxxxxxxxxx>

OK, so the main issue is that the implementation of ipv6_enabled() is
inadequate for detecting that ipv6 is disabled on this platform.

+1

I have no idea how to fix this.

It looks like sysctl uses values from /proc/sys/net/ipv6/conf/*/disable_ipv6

  • that might form the basis for a more robust implementation. Looks like it can be disabled globally ("default") and/or per-interface.

[...] does not prevent the use of the -i option to add
other interfaces. The man page suggests that -i should perhaps be
disabled in this mode.

Yeah, and/or we could make use of the per-interface enabled/disabled
state from those procfs files.

cheers.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

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