X-Loop: help-debbugs@HIDDEN Subject: bug#53514: Guix should not set global variables that may affect host Resent-From: Maxim Cournoyer <maxim.cournoyer@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Mon, 24 Jan 2022 22:25:02 +0000 Resent-Message-ID: <handler.53514.B.16430630752483 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 53514 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 53514 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix <bug-guix@HIDDEN> Received: via spool by submit <at> 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nC7lL-0000dz-0e for submit <at> 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 <maxim.cournoyer@HIDDEN>) id 1nC7lJ-0000dn-6G for submit <at> 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 <maxim.cournoyer@HIDDEN>) id 1nC7lJ-0007CZ-1I for bug-guix@HIDDEN; 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 <maxim.cournoyer@HIDDEN>) id 1nC7lH-0005hp-JK for bug-guix@HIDDEN; Mon, 24 Jan 2022 17:24:32 -0500 Received: by mail-qv1-xf2a.google.com with SMTP id k4so22707843qvt.6 for <bug-guix@HIDDEN>; 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 <bug-guix@HIDDEN> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jan 2022 14:24:29 -0800 (PST) From: Maxim Cournoyer <maxim.cournoyer@HIDDEN> Date: Mon, 24 Jan 2022 17:24:29 -0500 Message-ID: <87zgnk4vs2.fsf@HIDDEN> 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@HIDDEN; 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-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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 [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (maxim.cournoyer[at]gmail.com) -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.51.188.17 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.3 SPOOFED_FREEMAIL No description available. 1.5 SPOOF_GMAIL_MID From Gmail but it doesn't seem to be... X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) 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
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Maxim Cournoyer <maxim.cournoyer@HIDDEN> Subject: bug#53514: Acknowledgement (Guix should not set global variables that may affect host) Message-ID: <handler.53514.B.16430630752483.ack <at> debbugs.gnu.org> References: <87zgnk4vs2.fsf@HIDDEN> X-Gnu-PR-Message: ack 53514 X-Gnu-PR-Package: guix Reply-To: 53514 <at> debbugs.gnu.org Date: Mon, 24 Jan 2022 22:25:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 53514 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 53514: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D53514 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#53514: Guix should not set global variables that may affect host Resent-From: Liliana Marie Prikler <liliana.prikler@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Tue, 25 Jan 2022 07:23:02 +0000 Resent-Message-ID: <handler.53514.B53514.164309532618879 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 53514 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>, 53514 <at> debbugs.gnu.org Received: via spool by 53514-submit <at> debbugs.gnu.org id=B53514.164309532618879 (code B ref 53514); Tue, 25 Jan 2022 07:23:02 +0000 Received: (at 53514) by debbugs.gnu.org; 25 Jan 2022 07:22:06 +0000 Received: from localhost ([127.0.0.1]:46761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nCG9V-0004uR-Rk for submit <at> debbugs.gnu.org; Tue, 25 Jan 2022 02:22:06 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:32979) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <liliana.prikler@HIDDEN>) id 1nCG9T-0004u5-EQ for 53514 <at> debbugs.gnu.org; Tue, 25 Jan 2022 02:22:04 -0500 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4JjdZw1FVBz3xYv; Tue, 25 Jan 2022 08:22:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1643095320; bh=+PE2gPu8oWCXI9ClfgVyKLyuOQTccgNZcyYnLl9QKNc=; h=Subject:From:To:Date:In-Reply-To:References; b=DmaOMNOnMwvts9DHVRTnx/HT5iiQaXaQhlsHv+9nvsJs1VI32BmnMH39nMyRF/HjH PBM26x8w/iwY2moXJLxzgfjdkrmzp2mv6AOEzawsn+61wpJrkfUaGRKX2zWEdcfAC2 WuUyMzejjWwPjGMkzNp0xIh8Mn4Q9LIAUvBvRZaU= Message-ID: <e7aac16cd2f922576d3c8da29bece57aa6b3c353.camel@HIDDEN> From: Liliana Marie Prikler <liliana.prikler@HIDDEN> Date: Tue, 25 Jan 2022 08:21:59 +0100 In-Reply-To: <87zgnk4vs2.fsf@HIDDEN> References: <87zgnk4vs2.fsf@HIDDEN> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi, Am Montag, dem 24.01.2022 um 17:24 -0500 schrieb Maxim Cournoyer: > 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? I'm not convinced that patching XDG_DATA_DIRS is a good solution here. Even if we go forward and implement this for each and every library/application, (it would be reasonably simple to do so for glib and qt at least, but there's many more consumers, including Guix itself), we'd just force users on foreign distros to set up their XDG_DATA_DIRS for us if they e.g. want to have desktop icons available, so they'd quickly encounter the same issue on their own. I see two ways forward for this: First, "ignore it" and just document the behaviour. This isn't just a bug Guix is suffering from, it also affects other third-party package installers like Flatpak and Snap. Since distros increasingly become aware of them, this will soon no longer be an issue for most our users. Second, extend search-paths with a way of enforcing a default value when none is set. This way, Guix will still override XDG_DATA_DIRS, but since $HOME/.local/share:/usr/share is set as the default as per spec, it will do what the distro expected. WDYT?
X-Loop: help-debbugs@HIDDEN Subject: bug#53514: Guix should not set global variables that may affect host Resent-From: Maxim Cournoyer <maxim.cournoyer@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Tue, 25 Jan 2022 23:15:01 +0000 Resent-Message-ID: <handler.53514.B53514.164315246822099 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 53514 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Liliana Marie Prikler <liliana.prikler@HIDDEN> Cc: 53514 <at> debbugs.gnu.org Received: via spool by 53514-submit <at> debbugs.gnu.org id=B53514.164315246822099 (code B ref 53514); Tue, 25 Jan 2022 23:15:01 +0000 Received: (at 53514) by debbugs.gnu.org; 25 Jan 2022 23:14:28 +0000 Received: from localhost ([127.0.0.1]:50480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nCV1A-0005kN-1D for submit <at> debbugs.gnu.org; Tue, 25 Jan 2022 18:14:28 -0500 Received: from mail-qk1-f172.google.com ([209.85.222.172]:37728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>) id 1nCV18-0005kA-QK for 53514 <at> debbugs.gnu.org; Tue, 25 Jan 2022 18:14:27 -0500 Received: by mail-qk1-f172.google.com with SMTP id 71so10454178qkf.4 for <53514 <at> debbugs.gnu.org>; Tue, 25 Jan 2022 15:14:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=vq3dNVde1RT7iJx1g6W/LNFAW93vX2j+08H7YOXYLo4=; b=jSyMF6FNxqo2K8j9SjS/S9tK2OWhj5MXCNDLtquljc+vbdE96JJJY//ITa3LicjQ5e i59grt56o37YwhxST63ZZkCJv0l0tgd5IO0vu5niXwn9wMgSja2LKOwvvEvBqQ++RPfq nasADAj/ziU/3DEktuovuYN/d9BTeYWFgKCrKXiSqIcqaBgClOjm4AStdli/qa6LAcYs CD8tn8xKb9ENAH0GKB+jK9LWKLmTbgb96ThteIoNhDCFCTrgzAmSVjZfN4L58qGb8KVT M3piWM9CW8YP3UZRrpUYOyayG/ziOpMoMfZeNY/cMgxopw4perpbWYaO94P5NQnrf/rj OJ7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=vq3dNVde1RT7iJx1g6W/LNFAW93vX2j+08H7YOXYLo4=; b=I8sNXQq4ULv+cA0MG8ysP5RA6Ojl0d3EkrrdxuxI0qCIhGEp/LK2qjY2VowPLS0Z7f 4p1MHH4ty3wk+WdLwiAjvOoRa7NFgqMyHb67eYNWlH31qOba08/t2ZYCh8NO9iYUEuKr WaJS/IsDMimZX/zuzMWzx3YtcerjZd7Z+ckNtNVj5ucH3wrhJQzPPU5hyr8sHqQ8bFZF E7RpmYlTM4cn6UkgZsg9zUTI5EYlwjqGXwBK0MeZQn/kon+RgkpV1xu0I6+bfOVHa0Pq 72HON37MSVVzAgsk2xZHDzH/5M1U0oq+hlte63qQ5jIw4zX6ujt0XRbmpx9zHYhsFkPt avpQ== X-Gm-Message-State: AOAM532KDo4LOufty4oDZMHmuVlNluPEnG5T+BjNmJz5YEZSIyVyQXpd 16/8KjX7ISnvm8GgbbnBFO+ZT7/l5dU= X-Google-Smtp-Source: ABdhPJyI7cOkEzuABKisej75yb9T3opWPIT+P7Wq4rFdp2zhbCQ6vyb1tOwNt1nZLi2wohui54rGXQ== X-Received: by 2002:a05:620a:2848:: with SMTP id h8mr16937235qkp.610.1643152461130; Tue, 25 Jan 2022 15:14:21 -0800 (PST) Received: from hurd (dsl-10-136-58.b2b2c.ca. [72.10.136.58]) by smtp.gmail.com with ESMTPSA id g7sm2675257qkc.104.2022.01.25.15.14.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jan 2022 15:14:20 -0800 (PST) From: Maxim Cournoyer <maxim.cournoyer@HIDDEN> References: <87zgnk4vs2.fsf@HIDDEN> <e7aac16cd2f922576d3c8da29bece57aa6b3c353.camel@HIDDEN> Date: Tue, 25 Jan 2022 18:14:19 -0500 In-Reply-To: <e7aac16cd2f922576d3c8da29bece57aa6b3c353.camel@HIDDEN> (Liliana Marie Prikler's message of "Tue, 25 Jan 2022 08:21:59 +0100") Message-ID: <87a6fj4ddg.fsf@HIDDEN> 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-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi Liliana, Liliana Marie Prikler <liliana.prikler@HIDDEN> writes: > Hi, > > Am Montag, dem 24.01.2022 um 17:24 -0500 schrieb Maxim Cournoyer: >> Hello! >>=20 >> 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]. >>=20 >> 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. >>=20 >> 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. >>=20 >> Any takers? > I'm not convinced that patching XDG_DATA_DIRS is a good solution here. > Even if we go forward and implement this for each and every > library/application, (it would be reasonably simple to do so for glib > and qt at least, but there's many more consumers, including Guix > itself), we'd just force users on foreign distros to set up their > XDG_DATA_DIRS for us if they e.g. want to have desktop icons available, > so they'd quickly encounter the same issue on their own. They may end up doing so, but at least they wouldn't be locked out of their graphical session just for installing a package from Guix, which is a clear improvement over the current situation. > I see two ways forward for this: First,=C2=A0"ignore it" and just docume= nt > the behaviour. This isn't just a bug Guix is suffering from, it also > affects other third-party package installers like Flatpak and Snap. > > Since distros increasingly become aware of them, this will soon no > longer be an issue for most our users. Second, extend search-paths > with a way of enforcing a default value when none is set. This way, > Guix will still override XDG_DATA_DIRS, but since > $HOME/.local/share:/usr/share is set as the default as per spec, it > will do what the distro expected. That sounds good to, and should be easier to achieve. Thanks, Maxim
Received: (at control) by debbugs.gnu.org; 6 Feb 2023 07:38:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 06 02:38:57 2023 Received: from localhost ([127.0.0.1]:47316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pOw5Z-0000kq-6F for submit <at> debbugs.gnu.org; Mon, 06 Feb 2023 02:38:57 -0500 Received: from mail.envs.net ([5.199.136.28]:48198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <iyzsong@HIDDEN>) id 1pOw5V-0000kh-SK for control <at> debbugs.gnu.org; Mon, 06 Feb 2023 02:38:55 -0500 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 9D01838A04AC for <control <at> debbugs.gnu.org>; Mon, 6 Feb 2023 07:38:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1675669130; bh=9XGSaLzCkLTD7JzVu98PE5un44GTmnXwLVAU0NGzWQ8=; h=Date:To:From:Subject:From; b=h18Mgr8Iywnm4O5E6N/msfe+VCyeElKmf/6+9nVNptxtDuaK7f569wIB7FEhMXt15 Ha2LHlDD4k8OIjHONWHaK4XKNugE9cLIlUEZPrqKv6DbOQXCflQm8/7iHfA02La8O5 eeylGkeEVgcbSdSyBX/hAckEpxI/WsEvJbH7ysrS30nygfLJem7n8+mNT9czk5/kVN grufYtjB48n0QUlXFQP3TDbDxXmve0Q+SZTl6w2x+zBS5vA/NXCkMF8dUvBq+OJxev cjZRg6GFLFLLF04Zi/NSTR3aQgWUHRsI5b2cZc3Zsig9bswP3foZO8tbvHnDYLmZGn 2s+eoCOD1895p/5hUo1OzQaBAJNxZFLQnxqnBCLAFxDxnQXoxaBdNr06WUd08b3q2v e9ij7VaOhLzEHRYrqF95gT1r+Y9+OuyY9UH+u8YX1DzzjYdHg16n90N/3gZdt9i8VY Ftbf9TO/8oSEix329IL8dOSocoLL7DVeow+leS6pLDuvSHBri4uQx0l7Mi5LjDcqqi zXHgsii8U4aKZp2xeBZshg9wq4evzvVN0QZ51abbyB1v9sTO8Cod/k5sDJn9RuwIWO gnkh1KZeQSWCeo9WrPWe0Ss9hM4jTbT4VkIXGl2qlsWBtOLeikb7WnvTz/sbjb7X+F XwLh1yeNEc4EvnTXsJxsVGoA= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Hlcq0n2jub95 for <control <at> debbugs.gnu.org>; Mon, 6 Feb 2023 07:38:48 +0000 (UTC) Received: from localhost (unknown [182.150.116.135]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA for <control <at> debbugs.gnu.org>; Mon, 6 Feb 2023 07:38:48 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id e13c6544 for <control <at> debbugs.gnu.org>; Mon, 6 Feb 2023 07:39:04 +0000 (UTC) Date: Mon, 6 Feb 2023 15:39:04 +0800 (CST) To: control <at> debbugs.gnu.org From: =?utf-8?B?5a6L5paH5q2m?= <iyzsong@HIDDEN> Subject: control message for bug #54129 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <d8a76d5e7a751084@localhost> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) merge 54129 53514 quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.