Report forwarded
to bug-guix@gnu.org: bug#44414; Package guix.
(Tue, 03 Nov 2020 10:00:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Danny Milosavljevic <dannym@scratchpost.org>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org.
(Tue, 03 Nov 2020 10:00:02 GMT) (full text, mbox, link).
Hi,
this is one of the bug reports in the aftermath of the problem I had outlined
in "GNOME in Guix" thread.
Currently, even when using xterm, started by fluxbox, started by gdm-x-session,
the environment variable GI_TYPELIB_PATH is set inside the shell started by
that xterm.
Please don't do set GI_TYPELIB_PATH that way.
Severity set to 'important' from 'normal'
Request was from Ludovic Courtès <ludo@gnu.org>
to control@debbugs.gnu.org.
(Thu, 03 Dec 2020 17:11:03 GMT) (full text, mbox, link).
Information forwarded
to bug-guix@gnu.org: bug#44414; Package guix.
(Fri, 27 Aug 2021 19:55:01 GMT) (full text, mbox, link).
Subject: Re: bug#44414: xterm has GI_TYPELIB_PATH set when started via gdm
via fluxbox
Date: Fri, 27 Aug 2021 15:54:05 -0400
Hello,
Danny Milosavljevic <dannym@scratchpost.org> writes:
> Hi,
>
> this is one of the bug reports in the aftermath of the problem I had outlined
> in "GNOME in Guix" thread.
>
> Currently, even when using xterm, started by fluxbox, started by gdm-x-session,
> the environment variable GI_TYPELIB_PATH is set inside the shell started by
> that xterm.
>
> Please don't do set GI_TYPELIB_PATH that way.
Just confirming that is still the case on a GDM launched session, with:
--8<---------------cut here---------------start------------->8---
cat /proc/$(grep xterm)/environ | xargs -0 -n1 | grep ^GI_TYPELIB
--8<---------------cut here---------------end--------------->8---
Maxim
Information forwarded
to bug-guix@gnu.org: bug#44414; Package guix.
(Mon, 30 Aug 2021 17:33:01 GMT) (full text, mbox, link).
> Danny Milosavljevic <dannym@scratchpost.org> writes:
>
> > Hi,
> >
> > this is one of the bug reports in the aftermath of the problem I had outlined
> > in "GNOME in Guix" thread.
> >
> > Currently, even when using xterm, started by fluxbox, started by gdm-x-session,
> > the environment variable GI_TYPELIB_PATH is set inside the shell started by
> > that xterm.
> >
> > Please don't do set GI_TYPELIB_PATH that way.
I took a look at which package or service might be setting GI_TYPELIB_PATH.
xterm and fluxbox don't use wrap-program, so probably not those.
gdm uses glib-or-gtk-build-system, which has a glib-or-gtk-wrap phase,
which wraps programs, setting various environment variables.
It should probably be disabled in this case. I don't know if GDM uses
GI_TYPELIB_PATH. If it does, somehow GDM must still find the right
typelibs without setting GI_TYPELIB_PATH ... Or maybe it could simply
unset GI_TYPELIB_PATH between fork(...) and exec(...)? (Requires source
code patching ...)
Greetings,
Maxime.
Debbugs is free software and licensed under the terms of the
GNU Public License version 2. The current version can be
obtained from https://bugs.debian.org/debbugs-source/.