From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +NduFr+q72GZJgEAgWs5BA (envelope-from ) for ; Tue, 25 Jan 2022 08:46:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6PVaDb+q72GH+AAAG6o9tA (envelope-from ) for ; Tue, 25 Jan 2022 08:46:07 +0100 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 BA59416CB6 for ; Tue, 25 Jan 2022 08:46:06 +0100 (CET) Received: from localhost ([::1]:50580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCGWh-0004L8-TF for larch@yhetil.org; Tue, 25 Jan 2022 02:46:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCGQy-0001kJ-0E for guix-patches@gnu.org; Tue, 25 Jan 2022 02:40:20 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53873) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nCGQs-0004Hu-RY for guix-patches@gnu.org; Tue, 25 Jan 2022 02:40:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nCGQs-0005Lx-Jy for guix-patches@gnu.org; Tue, 25 Jan 2022 02:40:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53447] [PATCH] doc: Unset environment variables considered harmful Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 25 Jan 2022 07:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53447 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: 53447@debbugs.gnu.org Received: via spool by 53447-submit@debbugs.gnu.org id=B53447.164309638220544 (code B ref 53447); Tue, 25 Jan 2022 07:40:02 +0000 Received: (at 53447) by debbugs.gnu.org; 25 Jan 2022 07:39:42 +0000 Received: from localhost ([127.0.0.1]:46776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCGQX-0005LI-TY for submit@debbugs.gnu.org; Tue, 25 Jan 2022 02:39:42 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:45182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCGQU-0005L4-W9 for 53447@debbugs.gnu.org; Tue, 25 Jan 2022 02:39:41 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 4F1F7188; Tue, 25 Jan 2022 08:39:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at 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 h59taH-J0KEp; Tue, 25 Jan 2022 08:39:31 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id D98EC8B; Tue, 25 Jan 2022 08:39:30 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <875yqb21va.fsf@gnu.org> <19bb45159c0934e8d84035abdcfb00d8202233dd.camel@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 =?UTF-8?Q?Pluvi=C3=B4se?= an 230 de la =?UTF-8?Q?R=C3=A9volution?= 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, 25 Jan 2022 08:39:29 +0100 In-Reply-To: <19bb45159c0934e8d84035abdcfb00d8202233dd.camel@gmail.com> (Liliana Marie Prikler's message of "Sat, 22 Jan 2022 18:53:02 +0100") Message-ID: <875yq8qn66.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 4F1F7188 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643096766; 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; bh=wamBok4Bfbr/G4+u2aNsrogjTMoZJwnSMAhI34A+A+Q=; b=IyQ5/HCJxEMFihgKuR/xfHPTfkOiuqLVixsDRFaqNFGKRNaH754HJJdHvy/DELk1EuTp/r g/3du8oEFPfzLTtCiU4k0VU3WQptrmxSOAehSjFaQp8QytiyDfU/+BBmHvjdG+KvaAoK+s 85NSs8rH/r0udfQc0ENzVLzX34YGQqaxnbr01vk22VC7CTyd9eg3d42VBA/VW1XWwD3xMo 1/ERqWY3SxJiClKU14tBJa7bz6QUWk0R98FWw7rAURHpk6LF/gVJHG8KYBCvZFX/+eoIgr JYA14ewIJX+EDDAy96grT1HlZVx3mRLp7s8OtokgDum4gLUEZFKLNTT9y+zzrQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643096766; a=rsa-sha256; cv=none; b=Z6zdqydCmwTRpKCccdF3MRpc7j8aXBfIOXbHxGdJBVq17uBJ2VlnlCPSN3U6Wx7kWEFfnC 6Tm/gM84Bd+FXGA6wKlKoXvWEeJ8HNwLlGX3/8CgTAroQ2rEg08xY/hWeqVXq8D4nO7Pxx hB4TmhKcdYaheTN7mFBGEhdaA3/teaW1GheX1BzS/qu+ZQ8Fsy4DgaxbKMXTQmYM6UbQnD tsZcPK0J8Os263lnunvq7xKwl2zV6D2C1CvvLkglKNfdX/IO/USudQU1HHVqKlkqq5Qheu 1vkl9ejirElag2h3UEyJh7gMLFcfSwwPR3oQrOqQ+0K8WUT7aUorLML8t85vfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -5.73 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: BA59416CB6 X-Spam-Score: -5.73 X-Migadu-Scanner: scn0.migadu.com X-TUID: IKJUR7XCjUo4 Hi, Liliana Marie Prikler skribis: > I think there are too many examples to exhaustively list them all, but > to give an example, [1, 2, 3, 4] are all the same bug and in [2] Carlo > said we should document this under "Application Setup". My personal > stance is that the Guix behaviour is not a bug and other distros are > weird for not explicitly binding it. How about focusing specifically on XDG_DATA_DIRS, which is the root cause of the first two bugs you mention? We could say that installing certain packages will cause ~/.guix-profile/etc/profile to define XDG_DATA_DIRS, that this can interfere with software installed outside Guix, such as GNOME, and that we recommend unsetting XDG_DATA_DIRS (is that what we recommend? breaking Guix-installed packages instead of breaking distro-installed packages?)? Thanks, Ludo=E2=80=99. > [1] https://issues.guix.gnu.org/26202 > [2] https://issues.guix.gnu.org/45360 > [3] https://issues.guix.gnu.org/48300 > [4] https://issues.guix.gnu.org/53379