GNU bug report logs - #37123
gnome-shell: LD_LIBRARY_PATH setting propagates to entire session

Previous Next

Package: guix;

Reported by: Mark H Weaver <mhw <at> netris.org>

Date: Tue, 20 Aug 2019 19:23:02 UTC

Severity: important

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#37123: closed (gnome-shell: LD_LIBRARY_PATH setting
 propagates to entire session)
Date: Thu, 02 Dec 2021 09:58:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 02 Dec 2021 09:54:51 +0000
with message-id <877dcnz5w3.fsf <at> elephly.net>
and subject line gnome-shell: LD_LIBRARY_PATH setting propagates to entire session
has caused the debbugs.gnu.org bug report #37123,
regarding gnome-shell: LD_LIBRARY_PATH setting propagates to entire session
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
37123: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37123
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Mark H Weaver <mhw <at> netris.org>
To: bug-guix <at> gnu.org
Subject: gnome-shell: LD_LIBRARY_PATH setting propagates to entire session
Date: Tue, 20 Aug 2019 15:21:37 -0400
Since commit 2b0c755d195c79bfc95cdbe802e1e2dea1adb7a2 in August 2018,
our 'gnome-shell' executable has been wrapped by a script that sets
LD_LIBRARY_PATH.

One consequence of this, which I just noticed, is that if 'gnome-shell'
is based on 'core-updates' (or in my case, 'core-updates-next'), many
programs based on 'master' will fail to run within the resulting GNOME
session.

I ran into this issue because I recently rebuilt my Guix system based on
'core-updates-next' and booted into it, although it will take more time
to finish rebuilding my user profile.  Many programs, including Emacs
and Nautilus, fail to launch.  A workaround is to launch a terminal,
unset LD_LIBRARY_PATH within the resulting shell, and then manually run
the other programs from within that shell.  (Since then, I've built a
trimmed-down version of my profile based on 'core-updates-next'.)

I was unable to easily find an existing bug report tracking this issue,
so I created this one.

       Mark


[Message part 3 (message/rfc822, inline)]
From: Ricardo Wurmus <rekado <at> elephly.net>
To: 37123-done <at> debbugs.gnu.org
Subject: gnome-shell: LD_LIBRARY_PATH setting propagates to entire session
Date: Thu, 02 Dec 2021 09:54:51 +0000
Commit f1fd313e486491caf1ff5874810f2ee06091e825 removes LD_LIBRARY_PATH
from the wrapper.  That’s on core-updates-frozen.

I reconfigured my system with this change and gnome-shell starts up
fine, and things like Gnome Weather work correctly.  So I’m pretty
confident that we no longer need to do this.

Yay!

-- 
Ricardo


This bug report was last modified 3 years and 232 days ago.

Previous Next


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