https://bugzilla.novell.com/show_bug.cgi?id=814626 https://bugzilla.novell.com/show_bug.cgi?id=814626#c20 Stanislav Brabec <sbrabec@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sbrabec@suse.com AssignedTo|sbrabec@suse.com |fcrozat@suse.com --- Comment #20 from Stanislav Brabec <sbrabec@suse.com> 2013-09-17 20:41:57 CEST --- Regarding XDG_RUNTIME_DIR: There is no special code in su for keeping this variable. su itself can only change these variables: TERM, HOME, SHELL, USER, LOGNAME and PATH, and su -l should drop all other. But there is another code, that can cause this problem: su (su -l) uses PAM /etc/pam.d/su-l. It contains following line: session include common-session Looking at /etc/pam.d/common-session-pc, I see: session optional pam_systemd.so And its /lib64/security/pam_systemd.so matches XDG_RUNTIME_DIR. Looking at pam_systemd source code, there is really a code, that handles XDG_RUNTIME_DIR specially: pam_sm_open_session() There is probably a problem with sequence, as it sets XDG_RUNTIME_DIR for incorrect UID (UID before su instead of UID after su). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.