After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 771786 - wayland-session: don't start new session with stale session env vars
wayland-session: don't start new session with stale session env vars
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2016-09-21 19:54 UTC by Ray Strode [halfline]
Modified: 2016-09-21 19:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
wayland-session: don't start new session with stale session env vars (3.50 KB, patch)
2016-09-21 19:54 UTC, Ray Strode [halfline]
committed Details | Review

Description Ray Strode [halfline] 2016-09-21 19:54:50 UTC
commit 448134d3cdbc54e5359ea33d387993b0defdaefa changed gdm to
import the session from systemd --user.

Unfortunately, it broke log in after log out. The problem is, certain
session specific environment variables from the previous session
were getting leaked into the new session.

This commit wipes the ones causing the most problems on the GDM side,
but gnome-session should also probably purge them from the systemd
--user environment when it exits.
Comment 1 Ray Strode [halfline] 2016-09-21 19:54:56 UTC
Created attachment 336029 [details] [review]
wayland-session: don't start new session with stale session env vars
Comment 2 Ray Strode [halfline] 2016-09-21 19:58:34 UTC
Attachment 336029 [details] pushed as 3d2aa55 - wayland-session: don't start new session with stale session env vars