[regression] LD_LIBRARY_PATH lost from session environment
We're having problems with $LD_LIBRARY_PATH
getting lost in all GNOME terminal windows. This breaks some features in Cendio ThinLinc (a remote desktop software) that uses $LD_LIBRARY_PATH
to redirect access to some local devices (e.g. PC/SC for smart cards).
This used to work fine, but I'm afraid we don't know exactly when it regressed. RHEL 7 is fine (v3.28.2) but Fedora 31 is broken (v3.34.2). Still broken on Fedora 32 (v3.36.1.1).
I've verified that gnome-terminal-server
has the proper environment:
$ cat /proc/`pgrep -f gnome-terminal-server`/environ | tr '\0' '\n' | grep LD
LD_LIBRARY_PATH=/opt/thinlinc/lib64:/opt/thinlinc/lib
MODULES_RUN_QUARANTINE=LD_LIBRARY_PATH LD_PRELOAD
However any bash
started by it does not.
PS. Is there any way to modify the environment new terminals get? Something like dbus-update-activation-environment
?