From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oEe7AokUlV83KQAA0tVLHw (envelope-from ) for ; Sun, 25 Oct 2020 06:00:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oGc2OogUlV9BIgAA1q6Kng (envelope-from ) for ; Sun, 25 Oct 2020 06:00:40 +0000 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 79284940111 for ; Sun, 25 Oct 2020 06:00:40 +0000 (UTC) Received: from localhost ([::1]:57984 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWZ54-0007fJ-KD for larch@yhetil.org; Sun, 25 Oct 2020 02:00:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWZ4U-0007f9-Eh for bug-guix@gnu.org; Sun, 25 Oct 2020 02:00:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52321) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kWZ4U-0002CU-2a for bug-guix@gnu.org; Sun, 25 Oct 2020 02:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kWZ4T-0000l3-UD for bug-guix@gnu.org; Sun, 25 Oct 2020 02:00:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#39819: [PATCH 1/2] services: guix: Make /etc/guix/acl really declarative by default. Resent-From: Jan Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 25 Oct 2020 06:00:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39819 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 39819@debbugs.gnu.org Received: via spool by 39819-submit@debbugs.gnu.org id=B39819.16036055622842 (code B ref 39819); Sun, 25 Oct 2020 06:00:01 +0000 Received: (at 39819) by debbugs.gnu.org; 25 Oct 2020 05:59:22 +0000 Received: from localhost ([127.0.0.1]:35634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWZ3p-0000jl-Tq for submit@debbugs.gnu.org; Sun, 25 Oct 2020 01:59:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWZ3m-0000jX-CT for 39819@debbugs.gnu.org; Sun, 25 Oct 2020 01:59:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59378) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWZ3g-0001wp-LL; Sun, 25 Oct 2020 01:59:12 -0400 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=47906 helo=dundal.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kWZ3f-0004f5-Ia; Sun, 25 Oct 2020 01:59:12 -0400 From: Jan Nieuwenhuizen Organization: AvatarAcademy.nl References: <87v9fhf3my.fsf@inria.fr> <20201021150823.20508-1-ludo@gnu.org> <87tuujgr23.fsf@gnu.org> X-Url: http://AvatarAcademy.nl Date: Sun, 25 Oct 2020 06:59:08 +0100 In-Reply-To: <87tuujgr23.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sun, 25 Oct 2020 01:08:52 +0200") Message-ID: <87y2ju9783.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: maxim.cournoyer@gmail.com Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.51 X-TUID: sIbtfBYax1Vq Ludovic Court=C3=A8s writes: Hello, > I went ahead and pushed this as c6ef627c97e5e6a94688baf20892ae3429f86897 > with the changes below, accounting for Vagrant=E2=80=99s comment and for = the > fact that childhurds rely on the non-declarative behavior (which hadn=E2= =80=99t > occurred to me before), as well as fixing other typos. > > > + ;; By default, the secret service introduces a pre-initia= lized > + ;; /etc/guix/acl file in the childhurd. Thus, clear > + ;; 'authorize-key?' so that it's not overridden at activa= tion > + ;; time. > + (modify-services %base-services/hurd > + (guix-service-type config =3D> > + (guix-configuration > + (inherit config) > + (authorize-key? #f)))))))) Ah, good catch! Janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com