Bug 7516 - Local device redirection broken in GNOME on Fedora
Summary: Local device redirection broken in GNOME on Fedora
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.15.0
Assignee: Bugzilla mail exporter
Depends on:
Reported: 2020-06-15 14:39 CEST by Pierre Ossman
Modified: 2022-05-24 16:25 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Description Pierre Ossman cendio 2020-06-15 14:39:38 CEST
Some of our local devices, e.g. smart cards, no longer work in gnome-terminal or anything launced from it. The reason being that it has started stripping out LD_LIBRARY_PATH.

Not sure when this started. It works on RHEL 7 (gnome-terminal-3.28.2-2.el7.x86_64), but not on Fedora 31 (gnome-terminal-3.34.2-2.fc31.x86_64).

See also bug 1936.
Comment 1 Pierre Ossman cendio 2020-06-15 14:49:33 CEST
Reported upstream:

Comment 2 Pierre Ossman cendio 2020-06-16 10:04:44 CEST
This is worse than initially thought. Everything spawned by gnome-shell loses LD_LIBRARY_PATH, so it affects the entire desktop.

The issue is that Fedora has starting setting caps on the gnome-shell binary:

> $ getcap /usr/bin/gnome-shell
> /usr/bin/gnome-shell = cap_sys_nice+ep

Removing those caps fixes things, but that's just a temporary measure.

I've reported the issue to Fedora here:


This means this bug is just one case of bug 1936.
Comment 3 Samuel Mannehed cendio 2020-06-16 13:31:25 CEST
We have decided to make a platform specific note for this, doing so will not close this bug however.
Comment 4 Pierre Ossman cendio 2020-06-17 11:09:47 CEST
A platform specific note has now been added.

RHEL 8 has gotten a recent GNOME upgrade, fortunately they don't seem to have backported this bug.
Comment 5 Pierre Ossman cendio 2022-05-24 16:25:25 CEST
GNOME has fixed this, and the fix is also present in Fedora 35 and RHEL 9. Good enough for me. Closing.

Note You need to log in before you can comment on or make changes to this bug.