On Thu, 06.02.14 21:37, Djalal Harouni (tix...@opendz.org) wrote:

Heya!

So, I was working on fixes for this in parallel which I have pushed
earlier today, which change a couple of things around in more complex
ways. Some of them conflict with yours changes. I'll commit the
ones of yours that still appear necessary. If you think I am missing
some, please let me know.

The new logic I commited changes around how scopes are used by
logind. Previously the KillUserProcesses= option in logind.conf would
influence KillMode= of the scope. However that was a bad idea since we
actually want to provide people a way to terminate sessions and we
actually need them to order things properly on shutdown so that scopes
go away before the network is removed, and suchlike. Hence I changed the
logic so we are OK with leavig scopes around from the logind side, we
just mark the session entries as "closing". KillUserProcesses= hence
simply controls whether we leave them around and hence the session in
"closing" or whether we actively shut them down.

Sorry for commiting into the middle of your work!

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to