https://bugzilla.novell.com/show_bug.cgi?id=747380 https://bugzilla.novell.com/show_bug.cgi?id=747380#c0 Summary: "su -l <user>" does not set $XDG_RUNTIME_DIR for the new <user> Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: i586 OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: werner.lueckel@aon.at QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0) Gecko/20100101 Firefox/10.0 If I login to another <user> with "su -l <user>", $XDG_RUNTIME_DIR is not set for that <user> but keeps set as for the calling user. As a result, 'dconf' doesn't work since 'dconf' relies on $XDG_RUNTIME_DIR/ beeing there and accessable for writing. I found a "work-around": insert in "/etc/pam.d/su-l" the entry: "session required pam_loginuid.so" before: "session include common-session" Now /run/user/<user>/ is made and $XDG_RUNTIME_DIR is set properly. Reproducible: Always Steps to Reproduce: 1. echo $XDG_RUNTIME_DIR -> e.g.: /run/user/lueckel 2. su -l guest 3. echo $XDG_RUNTIME_DIR -> also: /run/user/lueckel Actual Results: $XDG_RUNTIME_DIR points to the "old" location: /run/user/lueckel and there is no directory /run/user/guest/ Expected Results: $XDG_RUNTIME_DIR should point to /run/user/guest/ and a directory /run/user/guest/ should be made -- 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.