[systemd-bugs] [Bug 62866] Users logging in gets previous user's XDG_RUNTIME_DIR
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Mar 28 19:21:31 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=62866
Lennart Poettering <lennart at poettering.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |NOTOURBUG
--- Comment #3 from Lennart Poettering <lennart at poettering.net> ---
Jeez. Not sure why I am even doing this, but here's the code of slim:
http://git.berlios.de/cgi-bin/gitweb.cgi?p=slim;a=blob;f=app.cpp;h=b1b9d98d596505866d8a3bada8c90186c6a226e2;hb=HEAD
If you check that out you will see that it reuses the PAM session process. i.e.
After the session is closed it simply restarts the main logic from the same
process. And that's what is not OK. It has to terminate it and run the next
login dialog from a new process.
Anyway, what slim does here is broken, and it will break with systemd, and it
will fuck up resource limits, audit trails, security labels, yadda yadda. So,
yeah, if you don't use any of that in your PAM stack, then sure you have a good
chance things won't explode into your face right-away, but it still isn't
correct.
There's nothing to fix here in systemd, it's slim that is at fault here.
Closing.
--
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/20130329/62f214b3/attachment.html>
More information about the systemd-bugs
mailing list