Re: gnupg2 build failures: can't disable core dumps: Operation not permitted
On Mon, Nov 04, 2013 at 07:30:53PM +0100, Bastian Blank wrote:
> On Mon, Nov 04, 2013 at 12:28:49PM -0500, Eric Dorland wrote:
> > * Bastian Blank (waldi@debian.org) wrote:
> > > - Does it fail the same way on the developer machine?
> > Nope. And it built on all the other architectures except for mips.
> Okay, let's try it. Currently it build-conflicts with automake.
Turns out it does fail. There seems to be a kernel bug that makes it
fails if anything tries to set a value of RLIM_INFINITY:
| getrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM_INFINITY}) = 0
| setrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM_INFINITY}) = -1 EPERM (Operation not permitted)
Workaround is to also set the hard limit to a smaller value.
Bastian
--
We fight only when there is no other choice. We prefer the ways of
peaceful contact.
-- Kirk, "Spectre of the Gun", stardate 4385.3
Reply to: