GNU bug report logs - #53514
Guix should not set global variables that may affect host

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Mon, 24 Jan 2022 22:25:02 UTC

Severity: normal

Merged with 54129

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: Guix should not set global variables that may affect host
Date: Mon, 24 Jan 2022 17:24:29 -0500
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




This bug report was last modified 2 years and 128 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.