Bug 8010 - systemd environment variables aren't respected
Summary: systemd environment variables aren't respected
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Agent (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks: 4748
  Show dependency treegraph
 
Reported: 2022-10-21 12:47 CEST by Pierre Ossman
Modified: 2022-10-25 12:59 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2022-10-21 12:47:19 CEST
systemd has a mechanism for setting environment variables for user processes. Primarily this is for user units, but it is in practice also used for graphical sessions, as gdm also respects these. As such, it is probably something we should support.

Some details about this mechanism here:

https://www.freedesktop.org/software/systemd/man/environment.d.html

Where gdm got support for it:

https://gitlab.gnome.org/GNOME/gdm/-/commit/448134d3cdbc54e5359ea33d387993b0defdaefa

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