From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GPxwAm+9umJJUQAAbAwnHQ (envelope-from ) for ; Tue, 28 Jun 2022 10:35:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MIaJAW+9umL8FwAAG6o9tA (envelope-from ) for ; Tue, 28 Jun 2022 10:35:59 +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 82F70361BA for ; Tue, 28 Jun 2022 10:35:58 +0200 (CEST) Received: from localhost ([::1]:44190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o66hR-0007iI-Km for larch@yhetil.org; Tue, 28 Jun 2022 04:35:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o65uA-0006J0-7k for bug-guix@gnu.org; Tue, 28 Jun 2022 03:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59969) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o65u9-0006GK-TL for bug-guix@gnu.org; Tue, 28 Jun 2022 03:45:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o65u9-0003W4-Qi for bug-guix@gnu.org; Tue, 28 Jun 2022 03:45:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#56076: guix shell -P behavior is surprising with persistent home Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 28 Jun 2022 07:45:01 +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: Maxime Devos Cc: Ethan Blanton , 56076@debbugs.gnu.org Received: via spool by 56076-submit@debbugs.gnu.org id=B56076.165640224513435 (code B ref 56076); Tue, 28 Jun 2022 07:45:01 +0000 Received: (at 56076) by debbugs.gnu.org; 28 Jun 2022 07:44:05 +0000 Received: from localhost ([127.0.0.1]:53866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o65tE-0003Ud-NG for submit@debbugs.gnu.org; Tue, 28 Jun 2022 03:44:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o65tC-0003Tx-1f for 56076@debbugs.gnu.org; Tue, 28 Jun 2022 03:44:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53830) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o65t0-0006CK-39; Tue, 28 Jun 2022 03:43:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=CCKwz3Kb10Rxw2gu+OUeVImOPgwuBMYWx7E8yWj/64U=; b=mRNCizgx3RFuowRvpX1/ G+Omp2UFSDIR5Nn+Q+ykdB7dbbSZeWFrch2hnjP+QMaVTvZhWnUI6f1YBlHY1BWEG/BnUYNSQ+Xmj 3qd0GG6HMNUddGpKyG+LfNQEldn2eRRyWiawZ6SbVDxc9dpdVvuBE6BRrvzK4yzaIMbHmS4dAX2ie +7TlxVppA2Ufa/EHlNLvqHLB0DaPczwp/R86tEdzzEVY6ZvjpRvb1gN2rvhlwPPBjdMuK/3uRQBBd 0bfmj2urXtTOt8FnVKaf1S1qj2/wwr+bknzu1UAhlRYGerOUpFjFZ2/ajDSvFOyrab/7WTVxoLmat 2eThoxKNK2grSg==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=51550 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o65sz-0008T6-7p; Tue, 28 Jun 2022 03:43:49 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87letlu5s2.fsf@gnu.org> <6c1c24fc001fe020895f9e85299c7049c1692a62.camel@telenet.be> <878rpilevx.fsf@gnu.org> <16baeb96695dcceefca352ff9660ca6d2b87754b.camel@telenet.be> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: =?UTF-8?Q?D=C3=A9cadi?= 10 Messidor an 230 de la =?UTF-8?Q?R=C3=A9volution,?= jour de la Faucille X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 28 Jun 2022 09:43:46 +0200 In-Reply-To: <16baeb96695dcceefca352ff9660ca6d2b87754b.camel@telenet.be> (Maxime Devos's message of "Mon, 27 Jun 2022 10:37:21 +0200") Message-ID: <87bkudfd1p.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1656405358; 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: content-transfer-encoding:content-transfer-encoding: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=CCKwz3Kb10Rxw2gu+OUeVImOPgwuBMYWx7E8yWj/64U=; b=rf9snWMSQY/RcrG9G33QGEq0tnCa1ck0S1qQqR/1CyYtu+ujEyrQPMbdKaMaT+CjYcdcwY cUBjLeTIB/aI1HlgcYuruylbKDpaiOSVuWjBy7Wv5dinRFQ41VeU+3dlKHPaxCU9DGhsBS E98F3o7Ik0HgLeaolQHrJIVXii5ExqNcU9J6WRQjlhzHVa+TmCB5EaI/tY7G528h2gEi/m Xh4rYtJYnjOMMwa+Zoa3T7oFQ9K6aPDV0cHp2sVgwSM2k73ESmRzCr03Ti6NtAX38ikkVT mVdikuDHcd/gJp516MUHDThJ0Ab6G+zxhhguuZnYRRj8BoxE2U2mKyBZUkJkJA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656405358; a=rsa-sha256; cv=none; b=TEfftJS5vmVMO4Ko6bX+3yQsAW9Uo78l5lkcMfuWDKFQIoriCcG1lJh1QSTZ4hqEru/u/u XnH9ki2NYNXbs9bReqVQ/nqo0V3CR9ZOqnjmY+RDl1gSIdhN86T1Z3EUYehIdkcX1/w/mZ a5QY4pzCxmWZcp4YiEZ8A2etGDyEMkwwqJZj+K/3cFAkuYimyY6TG8so7nRgERk8SCOTd4 kfAQzMxeftVwNOJwo02zJ4lYrly/Lq0kCur0uLQhFEKxBhewzCgfIzXmdZZyjrCFxL+yhX 2hsHHofyR/Osr6eF35mJ+tSuv19OzSUvqeN24Qc1hcbRWqv9VDjvY9FeX8vp1Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=mRNCizgx; dmarc=pass (policy=none) header.from=gnu.org; 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: -4.45 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=mRNCizgx; dmarc=pass (policy=none) header.from=gnu.org; 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: 82F70361BA X-Spam-Score: -4.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: 85AD19ry9y4O Hi, Maxime Devos skribis: >> > Having to add openssl looks like a bug, >>=20 >> It is, but it=E2=80=99s a reasonable solution for the problem at hand. > > I don't think it is. 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. [...] > 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. If we start adding such workarounds, where do we stop? Someone will want to have similar workarounds for TERMINFO_DIRS; do we add that to each and every package that uses ncurses? What about GST_PLUGIN_PATH? So far, we=E2=80=99ve addressed those by special-casing a few key variables= in /etc/profile on Guix System and similarly in the file generated by the install script on foreign distros. Maybe we could do the same with SSL_CERT_DIR? > Ludovic Court=C3=A8s schreef op ma 27-06-2022 om 09:55 [+0200]: >> That=E2=80=99s a bit of a hack to work around this venerable bug: >>=20 >> =C2=A0 https://issues.guix.gnu.org/22138 >>=20 >> :-) > > Maybe yes, but there's no progress there True, but that doesn=E2=80=99t mean it has to stay that way. I understand your frustration (I really do!) and I agree that sometimes we need workarounds when there=E2=80=99s no =E2=80=9Cproper=E2=80=9D soluti= on in sight. Our disagreement is about the kind of workaround in this case; I=E2=80=99m relu= ctant to adding search path definitions to users of a library that defines it. Thanks, Ludo=E2=80=99.