From nobody Thu Dec 9 06:32:35 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7A54A18C1000 for ; Thu, 9 Dec 2021 06:32:47 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J8kjq2BTcz4jc7 for ; Thu, 9 Dec 2021 06:32:47 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qk1-f179.google.com (mail-qk1-f179.google.com [209.85.222.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 2C554404D for ; Thu, 9 Dec 2021 06:32:47 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qk1-f179.google.com with SMTP id w14so4137938qkf.5 for ; Wed, 08 Dec 2021 22:32:47 -0800 (PST) X-Gm-Message-State: AOAM531XtJXhyQc90UxnyI6vEzyUJ1kEudpJIyZIzHq+j67lPbCF7kr2 LmbwYc1uligbNKEHbFAAwt35pbxdWy9Wqm2IiyA= X-Google-Smtp-Source: ABdhPJycJ1mYwxvuUmknOe7GkCo6nEKVMalSel9F8shIPZF6hqPPIOxVMK81Yp4kp+CNrhKTdtX6+OtVtlhffldsnSM= X-Received: by 2002:a37:b944:: with SMTP id j65mr11617324qkf.708.1639031566775; Wed, 08 Dec 2021 22:32:46 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <524fc989-b859-6e1-3c30-52e7bd1c892c@safeport.com> In-Reply-To: <524fc989-b859-6e1-3c30-52e7bd1c892c@safeport.com> From: Kyle Evans Date: Thu, 9 Dec 2021 00:32:35 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: iocage question To: Doug Denault Cc: FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639031567; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=QoScrvgZMf7/6xKwpk7wnWU05siuq3obWNthvKiTRUg=; b=ojuLWVgBy22D3Uh1hp8644UFKWfuyMc1MUCNlXyzGLVPh219vZ8uJkxDMug4tJ/BgSY8Jv aDC2MlgrdzH3efSAF2jk8nMGoPWBjJPmgGkloFUPyI62JYKKIAOqTvQyM/CQ3NJBj+BiNP r0EfH72y5Y+UL7sgUkTadafKwR7OqncvxvOHTgMzV2RS4b/4kPowl5+A+J3Tr4icXqzGUm LNAWyxLbkvp/qR5aB8oI8JdIHbBh7OLjfvDSSxTzjwTGjPcvvb3FjKR2WsBV274kHzwpW5 82vlKhzOX8e/m6yPRjd4yATjWNm4YzfK9ge0Uer/i3HTE43kRRneziX89eAZWQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639031567; a=rsa-sha256; cv=none; b=Cz+B7osNj1sDg8lX9B6c1UA6tdwPRPu7ckemXdq3lokFrmXVInD4dISfD6isfngb7I0U+j 06zHFofKrnXOe2gQRwjRFaK8/foC0/EiO/VdX/L92qj7m2QLklZCXEl4EDMPm8SEXigYqq 2mU04FvvKRv93DgwHtPgKTbIaAFdjQAM680PP8nJws8mhTHnvSKEV16/9af5mXAON5coky c/Sth6GXKtUHTwLZZuEGzkAnmd5Rl36vbQo8fGX75DQNhq7xBSpdG07f7N6RXFp5kEbuc8 BS/0fHLma/VsPnSfDx5ZBBt/li0BTZef3OwYDLUgL/mcFIVGvbtSRoE7nkUgMQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On Thu, Dec 9, 2021 at 12:20 AM doug 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