From nobody Thu Dec 9 06:33:30 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 D2F0B18C11FB for ; Thu, 9 Dec 2021 06:33:42 +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 4J8kkt4bJFz4jxs for ; Thu, 9 Dec 2021 06:33:42 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.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 7DCDF4338 for ; Thu, 9 Dec 2021 06:33:42 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qt1-f179.google.com with SMTP id m25so4388863qtq.13 for ; Wed, 08 Dec 2021 22:33:42 -0800 (PST) X-Gm-Message-State: AOAM533SQJ9Iczhm/Z7O1pYx00DhnAYpHhzfFYoJZgnjdDh/5zbmjrd2 m/5lfvkpZcW9tvj3I64AO/pnYd6vkIiycTEniJA= X-Received: by 2002:a05:622a:2d5:: with SMTP id a21mt11659183qtx.509.1639031621943; Wed, 08 Dec 2021 22:33:41 -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: From: Kyle Evans Date: Thu, 9 Dec 2021 00:33:30 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: iocage question Cc: Doug Denault , 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=1639031622; h=from:from:reply-to:subject:subject:date:date:message-id:message-id:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UArfz+V45/JtbgXTojIIXZC1GqXQAkvhhqxAVHoIcXE=; b=vgQRKUTYC1Cmod2Qjw45GCJ/4Y6bqV9t7rZog8Zf5WlMIWbMce80IbD4xyWE3ZqhRwHwF8 Tdb1NEXuB0llfVYxDeQTDkBQvTT6s9cYoN22xbktmIVs441dkbcFUnhMkzyhXnqi1Jkjpq f9hjXvll69ds4OKOicPEua+Rw3tYwk7+rEC6apFOoS+I2LTmbBiHYVpXCrzzUriJiMHFLr Fb8yA0dLztm7u4RfH/Sq6mOEGTFBh3kXKR74K61U7eAyKfODJleAQHNIB1MMShRmCkyKE5 XXKWIUNJwPJPlaYCjyS0NTaYW1ic0FszDXKnKPFufDLOYAkgYYAO4zYTBW9/aw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639031622; a=rsa-sha256; cv=none; b=eICIIxpWH+0OUztK4YKyrjRr/j5nIg0dnW+kgMFOr6TKy0EyMgBZbl2vhggYFi5r2ie+cX 9wqqqEaW6bunFSLntE79lJOVc01atVpK9EUZNRDMeLIAFVu9NGgk1fq38oI8GKLf+M07Nl KtN9nDfwG8v3o9+k+j2cqwdWxm6erZST+sywE4WU42zptIi1dasoOAeyNf4945abpgE+ec 9gkhb0r8d3lHs8tiFR1S+AqF/q28iD1IbvqDn/ilJrJeGkzLF1ABieqHgNQ6Wt56URx9V8 xJVsIYPbM6BrUr3ttfhBPx4Drts+Ixes4kPXUymEYGhteQ5Uz+ZnFVjpoTqlEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On Thu, Dec 9, 2021 at 12:32 AM Kyle Evans wrote: > > 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. > "... check if we're jailed ..." could be spelled as "... check if we received an EPERM ..."