From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mPWbHLja62Yk2wAAqHPOHw:P1 (envelope-from ) for ; Thu, 19 Sep 2024 08:03:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id mPWbHLja62Yk2wAAqHPOHw (envelope-from ) for ; Thu, 19 Sep 2024 10:03:04 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=GsGo2880; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726732984; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=GBwJ5fzXqRYpCjN322+I49eq/CjQw4p4yu1QV3sdMks=; b=LdukLkDYumpL34TNh76oGB6LJo9iBeJuNQnGT5vZUZDUC/bwdsZKkWOWjHzGX4ARN7vFpn zRoeI4JtGX00BXlmzIWh30tx35trPKjIT9gUEUyK8cGTrB81Tz33kkDc67wIGeOOKrg1Fh zsdIfFnJqeO+M8SiwUt/CcCGidwsCuwjFRP4sZe05AYnCQt2iMjxkFjzsmcPT5NPQFUXFe c1WYDvRq8b1yQVWDFtE3Qb1bbcEtevQcuC6Veui9ZagmXXJ4npWeNrC/oo4CLX7VTXvZW0 GFcV+q4omp6VxGa6KKMcQ+yft4k4Yik8dJBtT3mUOfNDtE1K2AYSurSK0DlwqQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=GsGo2880; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726732984; a=rsa-sha256; cv=none; b=Px2J/U3Ob9m8RFQ5A7nkKFyJ6mEEyW+7G4X9xX/M87OT/POkeuVi0W6d8XXnTJ83yiS5H9 Ti1nlUxd23ip4IprwOJTFSaEze/gBTF0qyKm0ToocbdFi0zOWpWF5jhCxJPUqYujbkWqmw UhkaBx7VLbJoBzeHPUzDzOtgT8pecMHUrOrK+LwQ5tEJZRPUsuFZ1HAGVUirQ0qyVORq0t HiEVPPcXYU4u4eaLdPY4McihY04Fiw6xRSyLfV1sKdXefvOQkm/Yjz3JOZtg5i9Z+gYMZ5 hYvGjOVO5sXYxZSY35HPFel5lB90YI+SKXTui6DsvaXQFcRshQunns6wkD2Ojw== 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 D95FD73430 for ; Thu, 19 Sep 2024 10:03:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srC7k-0006rJ-7L; Thu, 19 Sep 2024 04:02:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srC7h-0006qo-KS for guix-patches@gnu.org; Thu, 19 Sep 2024 04:02:45 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1srC7h-0004eN-Az for guix-patches@gnu.org; Thu, 19 Sep 2024 04:02:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:MIME-Version:References:From:Date:To:Subject; bh=GBwJ5fzXqRYpCjN322+I49eq/CjQw4p4yu1QV3sdMks=; b=GsGo2880IWQ19LQk7JWlKIdP6jWH2AmsmgOIjKOfA9MrygOhX0JApo4CFURZ1qMhW1ou8rLJfMg9aWbir5IjJLlo8Y+AbiC0nCoyID2d+Ehytjx96NeoTOJ0aqODufiqb+458P20va9OsYLAMXNJ77cjsw/Hn6sQrcwkreMIkS+ZYv8cEH0QxZ5bE0O/cs6mVLocpagDSdT13rDMfRwYwb/P3HgKY7Pe40su2dPWbkeiUcT6SnJIhojYvfP4wxVW0//mb1Y64dNUN8JMBwqNPlYWjI5e8f9OCalycVzjxAsIPQ17Vg35NbXkST/rYiF9letBHaf0KOz8uybCvZfsKw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srC7y-0006Rs-EA for guix-patches@gnu.org; Thu, 19 Sep 2024 04:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70933] [PATCH] system: Do not add "--disable-chroot" to containers. Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 19 Sep 2024 08:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70933 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 70933@debbugs.gnu.org Received: via spool by 70933-submit@debbugs.gnu.org id=B70933.172673293924728 (code B ref 70933); Thu, 19 Sep 2024 08:03:02 +0000 Received: (at 70933) by debbugs.gnu.org; 19 Sep 2024 08:02:19 +0000 Received: from localhost ([127.0.0.1]:59765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srC7G-0006Ql-Md for submit@debbugs.gnu.org; Thu, 19 Sep 2024 04:02:18 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:44854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srC7E-0006QR-Dj for 70933@debbugs.gnu.org; Thu, 19 Sep 2024 04:02:17 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id E3A601AC4; Thu, 19 Sep 2024 10:01:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jSX298PmI_DM; Thu, 19 Sep 2024 10:01:52 +0200 (CEST) Received: from jurong (89-86-73-172.abo.bbox.fr [89.86.73.172]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 346A8273; Thu, 19 Sep 2024 10:01:50 +0200 (CEST) Date: Thu, 19 Sep 2024 10:01:47 +0200 From: Andreas Enge Message-ID: References: <67f49b23cfe3755c6802e2fc3351ef3cf0dcdfda.1715687434.git.andreas@enge.fr> <87mso6rxzz.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: D95FD73430 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -10.05 X-Migadu-Spam-Score: -10.05 X-TUID: 3+uzB4e8xfYY Am Fri, May 31, 2024 at 04:26:58PM +0200 schrieb Andreas Enge: > The problem with a default is that apparently, for containers we want #f, > for real machines we want #t as the default; and then it should be > overridable. The only solution I see is to use a ternary value, > allowing chroot? to be #f, #t or 'default, with the last one, you guess it, > being the default. It would be replaced by #f or #t depending on whether > we are in a container or not. The patch works in our kubernetes environment (where we create docker containers with 'chroot? #t'). If there is agreement, I am happy to adapt the documentation and to push. Andreas