Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Dec 2021 00:32:35 -0600
From:      Kyle Evans <kevans@freebsd.org>
To:        Doug Denault <doug@safeport.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: iocage question
Message-ID:  <CACNAnaE5EVcDHV1TdeGtfM52RM3w1Q9Cc7dxApC_6hOS8_F68w@mail.gmail.com>
In-Reply-To: <524fc989-b859-6e1-3c30-52e7bd1c892c@safeport.com>
References:  <524fc989-b859-6e1-3c30-52e7bd1c892c@safeport.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 9, 2021 at 12:20 AM doug <doug@safeport.com> wrote:
>
> I'm running FreeBSD 12.2-RELEASE-p11, and py38-iocage-1.2_9. All the 12.2
> jails give the following error starting inetd:
>     inetd[nnnnn]: madvise() failed: Operation not permitted
>

Right, this is expected and should be non-fatal. Jailed processes
can't use MADV_PROTECT (prevent out-of-swap kills) under default
policy and there is no allow flag for it. We could maybe improve it to
check if we're jailed and not complain about the error when it
happens, though.

Thanks,

Kyle Evans



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaE5EVcDHV1TdeGtfM52RM3w1Q9Cc7dxApC_6hOS8_F68w>