On 08/07/15 14:37, Mark Goodwin wrote:
On 07/08/2015 02:28 PM, Ken McDonell wrote:
This has to be a regression based on some very recent commits ...
namespaces.c: In function âcontainer_closeâ:
namespaces.c:236: error: âroot_fdsetâ undeclared (first use in this
function)
namespaces.c:236: error: (Each undeclared identifier is reported only
once
namespaces.c:236: error: for each function it appears in.)
Seen on vm07 3.10.6 x86_64 Debian 6.0.10
#if defined(HAVE_SETNS)
static int root_fdset[LINUX_NAMESPACE_COUNT];
...
That must be a configure issue, debian surely has setns(2) ?
Nope not in Debian 6.0.10 ... this is a Linux 2.6 kernel base ...
setns() seems to require Linux 3.8 or later.
kenj@vm07:~/src/pcp/src/include$ grep -ri setns *
pcp/config.h:/* #undef HAVE_SETNS */
pcp/config.h.in:#undef HAVE_SETNS
kenj@vm07:~/src/pcp/src/include$ man setns
No manual entry for setns
I am _still_ of the view that the PCP code should compile correctly
(albeit with functionality disabled) under these circumstances.
|