Re: iocage question

From: Kyle Evans <kevans_at_freebsd.org>
Date: Thu, 09 Dec 2021 06:33:30 UTC
On Thu, Dec 9, 2021 at 12:32 AM Kyle Evans <kevans@freebsd.org> wrote:
>
> 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.
>

"...  check if we're jailed ..." could be spelled as "... check if we
received an EPERM ..."