From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KIOQD5NAaGTCLAAASxT56A (envelope-from ) for ; Sat, 20 May 2023 05:37:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uERYD5NAaGRjOgAA9RJhRA (envelope-from ) for ; Sat, 20 May 2023 05:37:55 +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 0B1EE2B920 for ; Sat, 20 May 2023 05:37:54 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0DPH-0006NY-Lt; Fri, 19 May 2023 23:37:23 -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 1q0DPF-0006N6-KB for guix-devel@gnu.org; Fri, 19 May 2023 23:37:21 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0DPC-0004vC-6J; Fri, 19 May 2023 23:37:19 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 061805C0186; Fri, 19 May 2023 23:37:14 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 19 May 2023 23:37:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:content-type:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1684553834; x= 1684640234; bh=wcCPKTF4IyCCwq2EMZ9WYVFAeFAjpMbjFgnWXwdirkg=; b=V Ax8GZaXW3fWw2I5E+2q+MAw0an8pL9/7CDvC2lnNK7BTSaXQINUKSWTzItDQN7MU Z4JnBt8iHediNekdR/Zg3jkNqTIq1+h9iWkU2/jlJSQcRrm3dZB7v2zz2NdQFUW2 QpUxP+LuFYUYYYMzsboZ8BM7dGt3lSyMjL94Zpljrp77wO1SS42sTPbkrMlrcXGv 1bs6zqXqxejd+ORtYehqFfVbvkBuYcpns+NPycOscS647WM057KlQ0LUB/Ce1dpL G+6U9urYI6SLfwCv35paRLZwvshcsX/yRNvtj8LGFnKOGGQFzGTiJGJ8QFF69NbS lbXR2PSqHX50oEEnK2ivw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1684553834; x=1684640234; bh=wcCPKTF4IyCCw q2EMZ9WYVFAeFAjpMbjFgnWXwdirkg=; b=tkq8SiZiST9Xi2HG0I43w95DGvZyA zu2eVWf/Ct+rTqPdtOSp6PMZNNS0i1lsto/sXAGvpMlVrT6ksOM4E18YyubP+Nr1 i8jgrzwq7Gd2YnizudmUpsf11YiGRGWDqk9RYlIx1URWvp733DZBYCw0csxgE7Wk d07mzASREDOkMZ4Q5sg1J0x3frLkpoaUCO1+Ki6x0sz/xALJIACt9H0jg3cwSd+b ARvmrij1ulWVlAwxelhe3qrysVSgRmI+3dNBIkhzMd38wLZWsqDdc1JeP2JWgDTT K9RyT6ZNp/T6izeLxn2OpDVTLsMNtbcFoRNMTULezH8HvJbHR7+9FNsmQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeeiiedgjeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkjghfgggtsehgtderre dttdejnecuhfhrohhmpefrhhhilhhiphcuofgtifhrrghthhcuoehphhhilhhiphesphhh ihhlihhpmhgtghhrrghthhdrtghomheqnecuggftrfgrthhtvghrnhepfeffveegiefgff euueeileeukeeffeeukeefffdvfeehjeejhfekveehkeeuuefgnecuffhomhgrihhnpegu vggsihgrnhdrohhrghdpghhnuhdrohhrghdprghquhhilhgvnhgvthdrfhhrnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphhhihhlihhpsehp hhhilhhiphhmtghgrhgrthhhrdgtohhm X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 19 May 2023 23:37:13 -0400 (EDT) From: Philip McGrath To: guix-devel@gnu.org, Vagrant Cascadian , ludo@gnu.org Subject: Re: tracking /etc/profile.d/*guix.sh in downstream distributions Date: Fri, 19 May 2023 23:37:06 -0400 Message-ID: <842534819.0ifERbkFSE@bastet> In-Reply-To: <87sfbsht02.fsf@wireframe> References: <87sfbsht02.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5622727.Sb9uPGUboI"; micalg="pgp-sha512"; protocol="application/pgp-signature" Received-SPF: pass client-ip=66.111.4.25; envelope-from=philip@philipmcgrath.com; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684553875; a=rsa-sha256; cv=none; b=EAzouJq517P/QFJNxa8eWfoQV/9hB8WmpM3vLV47TNoeaQN8pK8or257oWaIyCKtqd/+bh jiwdTF8vQ3UB5qnlsBPLgun5on15AzaNgQaGhnVR0+dwXNpG9kHi0q10cMd1N4JW70HSo3 1p9UtLVADLrhIDAg74yovDUYmjU2M8vA5/a107oyduhdlscN3uvBwiQYtAnhoV8Ec1la2q 1p/7Mbg5rvVzYY9YJwbBXOvDAjpH5mYGrFVXYdwRQtLE1GentHbUlGQ5/1lrfat1gVvhqw ZaxZBtyAIEfjPEvR0ygaN+WPBeBkb4OJ50Wm0uAnpq6sdVg9fxkd2Dmt0sGqxA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b="V Ax8GZa"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=tkq8SiZi; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684553875; 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=wcCPKTF4IyCCwq2EMZ9WYVFAeFAjpMbjFgnWXwdirkg=; b=MOBQ2ctlj8FwJLPShbG5hv8BfI6p0DQZ+s0pOGl7vd+1AgIw7mQGtRRGk5piCy29Dhty8L CqsTrj5fu25EDNG19hhlA+34sWGVp1V7atz3HJD2iZUkTB5bGmdFC5nSXLyjWr+LtaYWqf NHfW6r6pUffUB66YIE0dldl1EmFFQKPV/znf7lmT58/uMApeGoZUiXDneNmWT0XFeT49SF Tymyqwu4iZY3226tH+kqg3eXQdpcy52XkedSqZW8FNnOswyo7ATZmjX8cly0qtEYqvewx4 uHNyJqPjhVQKimeaMdZtofLlooaD2vb/Xw/anSjpJJht4I+qm7/D+R9eGPuKPQ== X-Migadu-Spam-Score: -4.18 X-Spam-Score: -4.18 X-Migadu-Queue-Id: 0B1EE2B920 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b="V Ax8GZa"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=tkq8SiZi; dmarc=none; 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-TUID: LiAq08f2GIGq --nextPart5622727.Sb9uPGUboI Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Philip McGrath Date: Fri, 19 May 2023 23:37:06 -0400 Message-ID: <842534819.0ifERbkFSE@bastet> In-Reply-To: <87sfbsht02.fsf@wireframe> References: <87sfbsht02.fsf@wireframe> MIME-Version: 1.0 On Friday, May 19, 2023 6:10:53 PM EDT Vagrant Cascadian wrote: > Philip McGrath recently pointed out that the /etc/profile.d/guix.sh > snippet had not been updating in the Guix packaging for Debian: >=20 > https://bugs.debian.org/1036304 >=20 > (and as bonus complication, was also renamed to zzz-guix.sh) >=20 > The reason I never noticed before is because it is actually a manual > process, with this script embedded in the sys_create_init_profile() > function of etc/guix-install.sh ... and thus easy to miss when updating > packaging. >=20 > What would be the impact of separating the /etc/profile.d/zzz-guix.sh > into a separate file upstream? Would guix-install.sh need to be adjusted > to guix-install.sh.in so as to embed the contents of this file? >=20 I think this would also make it easier for Guix contributors to edit the fi= le.=20 When I sent a patch for it, Ludo=E2=80=99 and I both got to learn about the= obscure=20 feature of Bash here documents it uses: https://issues.guix.gnu.org/56050#11 Ludo=E2=80=99s informal poll results suggest that others would be confused,= too: https://toot.aquilenet.fr/@civodul/108590952454715930 > Alternately, maybe guix-install.sh could be updated to optionally output > or generate the zzz-guix.sh file either by passing commandline arguments > or some other conditional mechanism? >=20 One reason I use Vagrant's packaging for Debian is that otherwise, Guix has= no=20 mechanism at all for updating the /etc/profile.d/ script, the default=20 authorized substitute keys, etc. That's not exactly the same problem, but a= =20 solution that works well for downstream packagers seems like it make update= s=20 for other users an easier problem to address. Philip --nextPart5622727.Sb9uPGUboI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE9GWrrNY3rqwUFVXPygNjjfo/HHoFAmRoQGIACgkQygNjjfo/ HHoTTg//fk1SbxEH2SJ8fek+EPTqW41EryBlCghRTCoKy3ELocuINDe8Ib0Pfk0t bvDwlcUA99+wOgVj/PKxGZOjCo6gQpKkfY5v/qHYPdfvS9e2LHvU56sSSIdOmoN+ 6FrG/VG82W+OnadASoT5sYkaLTtWwm6egZbM/C9JhGBlgV8Ynu5Y3hOPurMmKAbW EPsDx0v0hEsP0v4SbN4j9QBY5WQ4MCNBqqdEJAGljj3Mm6R4Apu5Z6dI3GrzhvMy Ob6MmV8dGBg6Dzjf19tZwhPsA5XZAW3YYcGe29SJOLUiF8Ig5i4PduB/sLb8Ykqz ELV/WqBsWp3tbDBvznbkRktq5rPWSLYjJ2cZPGezAL4D5EtkXuKt91gYTSWB2QXR QJj0lvDVseXT7gzi/sOqRcjey/4mgXXOE4/MqQ/K+virbN8B0kDalrviU/rthonT jx1Le4odx37Pvab7sRreKM+zyGTaEYmQyBzgati7NPFhH4u0PbfA8NnCHTbUGdNr LFahjArfJcjcpgmmeGm8uS7BKr44SfJlnG1en25Nh250Sndoj8XNl7AQtOPNcsav 9WCjxjcCO3wxiyEpg4himqv2O4F3K+drliUaNJNI+mCJPBZluR0FvUKt/KLvykCA z3dmFsgt2SAPrls5SwOuHDhyAz7ZwrtuPsto1/l/52e7Qw5aiSk= =cb3C -----END PGP SIGNATURE----- --nextPart5622727.Sb9uPGUboI--