[systemd-bugs] [Bug 55272] logind: Session.kill_processes not working

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 26 12:01:52 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=55272

--- Comment #1 from Matthew Monaco <dgbaley27 at 0x01b.net> ---
I was backwards there. In response to dbus ReleaseSession(),
session_remove_fifo() is called. But this doesn't have any effect until we're
in session_check_gc(), which normally isn't called until the session is but in
the GC Queue.

However, normally, the way the session is put in the GC Queue is after logind
receivs the dbus signal that the sessions cgroup is empty. This obviously won't
happen in cases where kill-user-sessions=1 is actually required.

(I still think gc_is_empty_recursive() in session_check_gc() should be guarded
by !s->kill_processes)

-- 
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/20120926/3c9f13ac/attachment.html>


More information about the systemd-bugs mailing list