https://bugzilla.novell.com/show_bug.cgi?id=747380 https://bugzilla.novell.com/show_bug.cgi?id=747380#c3 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #3 from Frederic Crozat <fcrozat@suse.com> 2012-04-11 13:28:29 UTC --- after discussing with upstream, this behaviour is normal, so closing as invalid (extract from irc conversation attached): <fcrozat> hmm, when logging to another user using "su -l", should /run/user/<new_user> be created ?(currently, it isn't) <mezcalero> fcrozat: no, the runtime dir is not changed when you su <fcrozat> mezcalero: and not even with su -l ? I mean, what is the rationale ? (so I can close the bug with a "correct" explanation) <mezcalero> fcrozat: "su" is a command that only minimally transitions to the new session fcrozat: for example, most env vars are left as is fcrozat: basically, only the UID is updated fcrozat: and most other stuff is left as is fcrozat: the audit session and audit login uid for example is left untouched <mezcalero> and we follow this scheme we don't transition XDG_RUNTIME_DIR we don't open a new cgroup if the user just uses "su" <mezcalero> fcrozat: basically we want a unified definition of what a login session is <fcrozat> and for "su -l" ? :) <mezcalero> fcrozat: and thus bind all this stuff together <mezcalero> su -l just says that a different set of scripts is executed by the shell after the transition <mezcalero> fcrozat: basically we piggyback everything to the definition of an audit session fcrozat: and the lifetime of the runtime dir is bound to that too fcrozat: i.e. the cgroup, the audit session, the runtime dir are all created and deleted together <mezcalero> that's how we do the ref counting basically <fcrozat> mezcalero: ok. But this mean the only way to get a new session is either tty (or graphical login) or ssh, not through "su -l" <mezcalero> fcrozat: no, with su you do get a limited new session, where su and HOME are changed, but little else -- 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.