From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cFcBBVEn72E01QAAgWs5BA (envelope-from ) for ; Mon, 24 Jan 2022 23:25:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eK08AlEn72FHXAAA9RJhRA (envelope-from ) for ; Mon, 24 Jan 2022 23:25:21 +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 B71F316017 for ; Mon, 24 Jan 2022 23:25:20 +0100 (CET) Received: from localhost ([::1]:34250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nC7m3-0007f2-PI for larch@yhetil.org; Mon, 24 Jan 2022 17:25:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nC7ln-0007er-Ey for bug-guix@gnu.org; Mon, 24 Jan 2022 17:25:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53228) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nC7ln-0005kL-4F for bug-guix@gnu.org; Mon, 24 Jan 2022 17:25:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nC7lm-0000eo-Pz for bug-guix@gnu.org; Mon, 24 Jan 2022 17:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53514: Guix should not set global variables that may affect host Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 24 Jan 2022 22:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53514 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 53514@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.16430630752483 (code B ref -1); Mon, 24 Jan 2022 22:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jan 2022 22:24:35 +0000 Received: from localhost ([127.0.0.1]:46131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC7lL-0000dz-0e for submit@debbugs.gnu.org; Mon, 24 Jan 2022 17:24:35 -0500 Received: from lists.gnu.org ([209.51.188.17]:35684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC7lJ-0000dn-6G for submit@debbugs.gnu.org; Mon, 24 Jan 2022 17:24:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nC7lJ-0007CZ-1I for bug-guix@gnu.org; Mon, 24 Jan 2022 17:24:33 -0500 Received: from [2607:f8b0:4864:20::f2a] (port=39932 helo=mail-qv1-xf2a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nC7lH-0005hp-JK for bug-guix@gnu.org; Mon, 24 Jan 2022 17:24:32 -0500 Received: by mail-qv1-xf2a.google.com with SMTP id k4so22707843qvt.6 for ; Mon, 24 Jan 2022 14:24:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=Ee29I/XgfMR5Krq/mRBvTCdXSn8kDWCH7nFT9eddksE=; b=GalAXCgYs/eCvZBlJupfFhAthmBOJxWwMEiScmtKflgcdVvOVkJVuX/2wJXoA6uaGu UZxmHtgRXy2BppFZVlCtB7jT0zt5cfDNWGN6AkPZ+5U3HCfUAp6XcaGLCrPnOtvuHC/S sW6YHQW6XidBTM1UGB7oxahYH0fkMmY6O7astsNrdyvggzA2KapAvFu4HfYZRgoP3tYO l/fwJiN000413ujmUYvVULQyii9y4YzhO/JIfe04LEP+18UiYUgV2Krxi3vMvI7wUx9S jNwde+IWjvn3EIfZrKFCh+5PUE8UBcNeGZSEFP34u8gb3XPBA+yjAnfPAJF071LS1Ivv pePQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=Ee29I/XgfMR5Krq/mRBvTCdXSn8kDWCH7nFT9eddksE=; b=c2c3G2zHtWVcTFgRharVZCfCGUiz1CstMiHKEU0W4kiVrlSnZzbg6KwJqPLKWN85R4 u8LTdqHGBb7z9VCTCkne5ZV5GHb656OrCpVaet41P5pgUPy2en49w0b/9UscX/KZhmHc /w+8IXME8mrfzsa9JQDP/f2vEHFnlTsaHnzOqncpCKSn+zV/2TYweeCm2lNJjBgpB3I1 /TY3le9lnoZSyi9acw31cdZZCzShXi9N0GiGcORIYDDOD2i9Obn2pNmSz+8dwDM7C+95 aj4BOiOjJCztTxZNMINw5KkSCcQDtCZZTOsQrdM6g5mHvJoNEUC74C5lFtQeUqc+QmqM OW6w== X-Gm-Message-State: AOAM531pQTNylUAgrWL8KrOT4ZpftlgRmFA7lC+H3AXLwyoC93RSIUBj fj2tq+2BVJG0wdRpmS2pb+GrO/isEJg= X-Google-Smtp-Source: ABdhPJzPSZ0E6KOsAx6BP0LKx77IxqHJMgZozFhKEYWAvOMOi8zmNwe8ANv4S3mDq68Z/Omy/JegqQ== X-Received: by 2002:a05:6214:4107:: with SMTP id kc7mr6619434qvb.52.1643063070311; Mon, 24 Jan 2022 14:24:30 -0800 (PST) Received: from hurd (dsl-205-233-125-146.b2b2c.ca. [205.233.125.146]) by smtp.gmail.com with ESMTPSA id l10sm8293063qkj.83.2022.01.24.14.24.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jan 2022 14:24:29 -0800 (PST) From: Maxim Cournoyer Date: Mon, 24 Jan 2022 17:24:29 -0500 Message-ID: <87zgnk4vs2.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::f2a (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::f2a; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf2a.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643063120; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=Ee29I/XgfMR5Krq/mRBvTCdXSn8kDWCH7nFT9eddksE=; b=WaOSXaS00oEooOCCN7UihNNPRmNnDrk8lYlc7fvpNZb2iV5hE+/A6op0K2ND8UsVQmXKyU VFlvtQcG7zz5j5WmWEQQune0GygWVI9HyykjZ5a/tT60gqFLN/IinUnFaNvzVwZHaIzjlS 2YFESAeD6des745JtNkZF3omD8ShNF1OqMjw3pSAOYQQiFl3485mPC+5RPre07G6G2r966 G6lMprtxWHUtRPOi7dJT9uh8WMVQd6MYO0K7wyd4bsjBTKISjFySNKfCyX3MOySEwYj0yK FgQBSSMxQfl3c63s/zezlKogYpp4gxhRyLUW141oCMStWZS9+8+fJMpxArIYHQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643063120; a=rsa-sha256; cv=none; b=mmMsz4awTTdCW6jpQVmWb+REELGw7AtwE9h/vgLssWH3JpfaT1mLlbG0MSiWW4WP5dLDfW z3P5JL7h1KYXJMqPYUkvCyxJy72w1ZHUwwKHyJ3v+nFnhmQjFodqW7PURB3UzBD4gyJ9IN Uy3P4fxR0gL48Dys67tdpD1Ss4MiOwVJFuqYcpWQBNBEV2WFPfU6vvEDZiQK5qWmv8mqha pCokO4crhVf7+XWh6TBHxolHKwJGHThY6hw7VMgT9MLS7c6zXicPHIMDjxv2mlK5WMd6NM YBcT2RKcLfymctz7ZCDv1sT4BIzEvVTT2ejeFVN8ob9EEeL9R+odf/jYQxj48Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=GalAXCgY; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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.23 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=GalAXCgY; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: B71F316017 X-Spam-Score: -3.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: r7A4yLC1u35C Hello! There are multiple reports about the negative effects of Guix setting variables such as XDG_DATA_DIRS on foreign distributions, that may cause problems a severe as locking users out of their graphical session [0]. In my opinion, we should pursue patching every application/library to use a Guix-specific variant, e.g. GUIX_XDG_DATA_DIRS instead of XDG_DATA_DIRS, to avoid interfering with the host system, as was done for GUIX_PYTHONPATH. This is a big task in itself; we can open more focused/actionable tasks for each environment variable, starting with those causing the most serious issues. Any takers? Maxim [0] https://issues.guix.gnu.org/26202