Date: Thu, 9 Dec 2021 00:33:30 -0600 From: Kyle Evans <kevans@freebsd.org> Cc: Doug Denault <doug@safeport.com>, FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: iocage question Message-ID: <CACNAnaGRDtugdqyDKtwFwTcyQn=6d7YVrFsr6Y-7XUvDeBV%2Bjw@mail.gmail.com> In-Reply-To: <CACNAnaE5EVcDHV1TdeGtfM52RM3w1Q9Cc7dxApC_6hOS8_F68w@mail.gmail.com> References: <524fc989-b859-6e1-3c30-52e7bd1c892c@safeport.com> <CACNAnaE5EVcDHV1TdeGtfM52RM3w1Q9Cc7dxApC_6hOS8_F68w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 ..."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaGRDtugdqyDKtwFwTcyQn=6d7YVrFsr6Y-7XUvDeBV%2Bjw>