From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UCgVJ5A/RGIEEgEAgWs5BA (envelope-from ) for ; Wed, 30 Mar 2022 13:31:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QNzcH5A/RGKvdQEAG6o9tA (envelope-from ) for ; Wed, 30 Mar 2022 13:31:28 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 22DBC2DFCD for ; Wed, 30 Mar 2022 13:31:28 +0200 (CEST) Received: from localhost ([::1]:43376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZWXu-0002EH-RE for larch@yhetil.org; Wed, 30 Mar 2022 07:31:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZWXA-00020I-Ph for guix-devel@gnu.org; Wed, 30 Mar 2022 07:30:41 -0400 Received: from [2a02:1800:110:4::f00:1a] (port=56314 helo=albert.telenet-ops.be) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZWX8-0006Fm-LX for guix-devel@gnu.org; Wed, 30 Mar 2022 07:30:40 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id CbWZ2700C4UW6Th06bWZTX; Wed, 30 Mar 2022 13:30:34 +0200 Message-ID: Subject: Re: lxc and subuid From: Maxime Devos To: Antonio Carlos Padoan Junior , guix-devel Date: Wed, 30 Mar 2022 13:30:22 +0200 In-Reply-To: <87v8vwj5la.fsf@yahoo.com.br> References: <87v8vwj5la.fsf.ref@yahoo.com.br> <87v8vwj5la.fsf@yahoo.com.br> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-McSsKj31I+mMTo0EwWC8" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648639834; bh=n5DUnXRO8IHsIXZFwBZ7bWHisYf0wAdl1di3WJqb8g8=; h=Subject:From:To:Date:In-Reply-To:References; b=MG8o3xqGrXMIo1RBLLSxhVP1ubPmE27AW56dmRhf8CODmwbNBaLHycmwK2fViOi1V tQNAFZ2C4k5q+RQYTH1CIr5uhJS+BUXTHFZWJgWQeOZOKXg8kIgK22w93lBkwwUxnW jGctC/CNr3/HhVO/lDIAsEVZfLxJW7E1R+GV9KAKO5bzg7lQqps6zjWKFE0h4CRhaG 3xzJEpRMBf99H7qAcXmhkbLnxCtLpa5eeiLV3l+1TbZIIPoxi8NDS11ArKckbZxo/c Ev5F0MSMidciR+uf2iQu6H0Yyflh7h6wiB195oc8GL9m1Jum2vvqHXrjabkiGRTRfX yRXAqtPo38zIw== X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:1800:110:4::f00:1a (failed) Received-SPF: pass client-ip=2a02:1800:110:4::f00:1a; envelope-from=maximedevos@telenet.be; helo=albert.telenet-ops.be X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648639888; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=n5DUnXRO8IHsIXZFwBZ7bWHisYf0wAdl1di3WJqb8g8=; b=VZe/MFCrBJ+w92sSYUWCRx/4ik8GoQ0YUdfVNv8aaiqKWlpSZuqQ3SMBhhioKZI9D7Isq6 S/WYPsVXiY3TjL3cKs3rQJBjr+ertjh6zBt44CNHSqP2NxagUJZiAvqMVl80SbBOEWzgeg gYJv3Layk9r8C6x4WO9Mf4snsp4WeR6JlM0PGBAvix9c00pYQhASGRM7e5NU3ooyc3aIx5 Q8CZs/s78dSpua0D3AS797AegRL8BA1SmYsogISDvbqngUYsujqAb7aLHgb9i9GVB7oef2 q8NaQab+kFa40bhbc0GlR8uNTylg5cMmXA5w8/fFAJFGksKRZfa8EcicX1Xg3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648639888; a=rsa-sha256; cv=none; b=UMrhK2/lyUTAGeiWTD3KrbTiP9211D6uPvN/VRMLNCf0t3kLZZjhpDOCyCzh/I7DSIm9Id xhWqCzP+BKfgNrb5jBPYJ9sPP/ippjaT3kKSoadwNBmzesi8ekpLunrOqd0SNxYBC7FeHW v97V25DZn3bwPFnIXFGZ6F937WXS1WFHUzkklCLm4iG4mtDVziXvDFz2MwvArORlnBFvnf 8yHbsdyt9M3ZBp26BPYGdllJUD2GWkYdcs+2iabvQBFcpZWnZiq7nB1Za7Sp2f5E7FNf2Y LmKKCi7xHFcaluh8GFq8joRzk/c+Mq9m331h0oi5E9/mDvP36TCA5eMSQMm/Bg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=MG8o3xqG; dmarc=pass (policy=none) header.from=telenet.be; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -11.67 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=MG8o3xqG; dmarc=pass (policy=none) header.from=telenet.be; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 22DBC2DFCD X-Spam-Score: -11.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: X7sniXl9yfuD --=-McSsKj31I+mMTo0EwWC8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Antonio Carlos Padoan Junior schreef op wo 30-03-2022 om 08:51 [+0200]: > Hello, >=20 > I'm trying to figure out how to set a unprivileged container using lxc > in guix. I do not know either how to allocate subuid/gid space in guix, subuid/gid are _not_ unprivileged. They are an userspace feature by the (privileged) setuid binary 'newuidmap', see . I don't think there's currently a mechanism for that in Guix System, except manually creating and modifying /etc/subuid appropriately and installing the setuid binaries. However, I suppose that the 'user- account' record could be extended to support subuid/subgid and automatically create /etc/subuid. Greetings, Maxime --=-McSsKj31I+mMTo0EwWC8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYkQ/ThccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7n8wAPsH03Yx8NGikysdmCVLMaAns4cX cO2oQCO+gqnpFYFQjAEAwaPPLcUwuHea1Rj87ztSWMPRhE452rKr/xaoa4AkiQc= =qVRb -----END PGP SIGNATURE----- --=-McSsKj31I+mMTo0EwWC8--