[systemd-bugs] [Bug 62866] Users logging in gets previous user's XDG_RUNTIME_DIR
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Oct 28 00:53:59 CET 2013
https://bugs.freedesktop.org/show_bug.cgi?id=62866
--- Comment #5 from Lennart Poettering <lennart at poettering.net> ---
The various PAM modules alter a number of process attributes (such as cgroup
membership in the case of pam_systemd, or resource limits for pam_limits, and
so on). If you recycle the PID you will inherit those. You need to start with a
fresh set of attributes by forking off a clean process from some well-defined
parent process, before you restart PAM.
pam_systemd for example will move the calling process into a cgroup of its own
and that's really a one-way operation.
Really, you cannot have the same process create multiple PAM sessions one after
the other. The various PAM modules in use do not allow that, pam_systemd is
just one of them.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20131027/20387200/attachment.html>
More information about the systemd-bugs
mailing list