From: Sven Eden Date: Thu, 26 Jan 2017 08:56:23 +0000 (+0100) Subject: Remove dependency of systemd units, services and slices for new sessions. X-Git-Tag: v226.4~1^2~37 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=db74dfab5842da3f83d3bb9e2fa3bf8736939ecf;hp=db74dfab5842da3f83d3bb9e2fa3bf8736939ecf Remove dependency of systemd units, services and slices for new sessions. * elogind does not support systemd services and units. But at least the units are needed to support the systemd cgroup slice/scope system. * Remove systemd subscription to scope, service and slice jobs. These can not be supported in any way, as they depend on systemd running the machine. * The functions session_start_scope(), user_start_service() and user_start_slice() no longer try to call systemd via dbus for assistance. This way they generate their proper scope, service and slice names, and store them in the Managers HashMaps for session and user units. This should enable us to reverse track pids to users and such stuff, as that is what systemd-logind does, not knowing whether any unit *really* has been started or not. However, this will not work out of the box until we find a way to integrate cg_create_everywhere() into elogind without becoming dependent of systemd unit, service and job knowledge again. ---