Closed ganto closed 7 years ago
prlimit()
as requested by configure
is not defined on the system therefore it should include a custom header defining it src/lxc/conf.c
#if IS_BIONIC
#include <../include/lxcmntent.h>
#ifndef HAVE_PRLIMIT
#include <../include/prlimit.h>
#endif
#else
#include <mntent.h>
#endif
As you can see this only happens when the Bionic C library is detected. However, we have a glibc here.
According to prlimit not found centos6.3 it might be, that the prlimit()
syscall ist not supported on CentOS 6 as it was only introduced in 2.6.36.
Will drop support for EPEL 6 builds
In a mock EPEL 6 build environment the build of
lxc-2.1.0-1
fails with the following messages related toprlimit
: