From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EPX7CDPdumKmPwAAbAwnHQ (envelope-from ) for ; Tue, 28 Jun 2022 12:51:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EM7DCDPdumJkAgEAauVa8A (envelope-from ) for ; Tue, 28 Jun 2022 12:51:31 +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 89F6014637 for ; Tue, 28 Jun 2022 12:51:30 +0200 (CEST) Received: from localhost ([::1]:48516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o68ob-0004KV-Ky for larch@yhetil.org; Tue, 28 Jun 2022 06:51:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o68oA-0004J0-V6 for bug-guix@gnu.org; Tue, 28 Jun 2022 06:51:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60155) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o68oA-00062o-Gk for bug-guix@gnu.org; Tue, 28 Jun 2022 06:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o68oA-0008Hc-Ft for bug-guix@gnu.org; Tue, 28 Jun 2022 06:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#56076: guix shell -P behavior is surprising with persistent home Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 28 Jun 2022 10:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56076 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Ethan Blanton , 56076@debbugs.gnu.org Received: via spool by 56076-submit@debbugs.gnu.org id=B56076.165641341531789 (code B ref 56076); Tue, 28 Jun 2022 10:51:02 +0000 Received: (at 56076) by debbugs.gnu.org; 28 Jun 2022 10:50:15 +0000 Received: from localhost ([127.0.0.1]:54052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o68nP-0008Gf-FB for submit@debbugs.gnu.org; Tue, 28 Jun 2022 06:50:15 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:44576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o68nM-0008GT-Pg for 56076@debbugs.gnu.org; Tue, 28 Jun 2022 06:50:13 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by xavier.telenet-ops.be with bizsmtp id oaqA2700Q4UW6Th01aqApN; Tue, 28 Jun 2022 12:50:11 +0200 Message-ID: From: Maxime Devos Date: Tue, 28 Jun 2022 12:50:06 +0200 In-Reply-To: <87bkudfd1p.fsf@gnu.org> References: <87letlu5s2.fsf@gnu.org> <6c1c24fc001fe020895f9e85299c7049c1692a62.camel@telenet.be> <878rpilevx.fsf@gnu.org> <16baeb96695dcceefca352ff9660ca6d2b87754b.camel@telenet.be> <87bkudfd1p.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-lCvO2pE2iWgmKRqf2v+6" 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=1656413411; bh=GRn1lpsLatbozc1KoOtsCV+K/EHfAzMulOnUzCcPEGc=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=SGUTfddCcfCbNIlrORoCgDhWqApmVBfy7lw+1FAc5yNRJ8iwamkQL/R/2QyGCGzXy bp9FTaYCtzFRSPb7ezhN4/h/Hvw18sj337sMwMZLck4icBsch/Wxi6WmrZcPW9V/m+ PlJW5YszMkZR12Ny7XFNnlG+jmqvdTkYveyC9FUg/W9cBttGPPpsxqi6mLWQ+csKkV lZAX0IZgk7eXfI1NOU7og+EmTqqgX7gSaCupeZu8AiAB1MtyGU3FwTib4NS/EqOImy lapo6fgQKry/bLmha/C34m3GJxT8pgztMLAv39ogMxknKtvmvGduPI1VFaODmGV6D2 yRSFxheBQ/Piw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" 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=1656413490; 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=GRn1lpsLatbozc1KoOtsCV+K/EHfAzMulOnUzCcPEGc=; b=u4CCv2HrZxN+hh0K4uc5RK9lmnt574W7gSN+1FDcJtYVfL7CNyLCpIED8a2nXalptHX5BR kBfFD2quMiRzner5bp1OV4nGGuKucjjWH6zgI86WKYWVhHxRU8UEMdegP/cQDyXSxqG9XB SQrqKyxNyZhmw/YEaStkGPGRwAFYrn+FfSu6uukeP/3D8oc+8lepcwf1jTkTY0l8oFv+nW YCUeygI4nmMQCQ/Vl19LonzFgvj7euVQAaFZzjL6ktu2Z0nVixShl9ZPWo9gvN+tZX0uH+ AowIq9+bt8XSCIj6vzKKfV8OK2E/hu3fqESPACWmn5MvVd8yAbwMawbX7PPpEQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656413490; a=rsa-sha256; cv=none; b=I23jhjtESENsD6IDqm9ARGMxl+z7S2Cv/UBA8zlgjnnwmc6aFCQhlJep7STEKWZW3ONY4w MkPOQ6OnMvTvp+chCsSZFH0hlq1iLGnOQSkQuEJ819hhiY4RQj6ktr+cWmPrAIeRl2dxdD AjE1UrBvE3L68ZYa5zZ0OL5UJIKLqv5UpRg0aMXmQlUQac0+BssstFH7axmgMMjc5gqinR jAgq5MrCRnFv4YjazRgi7g9LTB/0LmnDvazQvwnn9hRyYhAdIM0kg0tSK0ULGMXCGRan+W idoEjA8TqRZVJ1zELXC6w6LOZ1mGQKDhEikvN/gkdRo9KfhJB8suddrwFaRZ3w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=SGUTfddC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.95 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=SGUTfddC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 89F6014637 X-Spam-Score: 3.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9OSaBK+JpgL0 --=-lCvO2pE2iWgmKRqf2v+6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > On another distro, you might have to set SSL_CERT_DIR manually. It=E2=80= =99s > not that big of a deal, or at least not really worse. On other distros, that's sufficient because they only have global installation, in /etc/ssl/certs. So I don't think it's a good comparison, given that Guix is all about user-level and occassionally ad-hoc "guix shell". Ludovic Court=C3=A8s schreef op di 28-06-2022 om 09:43 [+0200]: > > My patch could be considered a > > work-around, but at least it's automatic for the users, users don't > > need to remember random Guix bug facts. >=20 > If we start adding such workarounds, where do we stop?=C2=A0 Someone will > want to have similar workarounds for TERMINFO_DIRS; do we add that to > each and every package that uses ncurses?=C2=A0 What about > GST_PLUGIN_PATH? Sounds good. > So far, we=E2=80=99ve addressed those by special-casing That seems equally workaround to me? Though way less work so sounds good, except for it being rejected in the past. > a few key variables in /etc/profile on Guix System and similarly in > the file generated by the install script on foreign distros. >=20 > Maybe we could do the same with SSL_CERT_DIR? Shouldn't this be $GUIX_ENVIRONMENT/etc/profile instead of /etc/profile? Otherwise, it wouldn't have any effect on "guix shell". Also, I believe I have proposed making some other variables behave like $PATH as well, but you rejected it for being special-cased and magic. Greetings, Maxime. --=-lCvO2pE2iWgmKRqf2v+6 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+4iGRcl7gUCYrrc3hccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7n02AQDwuZCqSpbnwFuH/RSP1m3DBPfc 7z0aUL7rfeo11II2pgEAoH+EC4zvIiqOx7D0VcvmQJ3RQZu5qPcgwJT35+vFpws= =PnK1 -----END PGP SIGNATURE----- --=-lCvO2pE2iWgmKRqf2v+6--