From 9444b1f20e311f073864d81e913bd4f32fe95cfd Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 20 Jun 2013 03:45:08 +0200 Subject: logind: add infrastructure to keep track of machines, and move to slices - This changes all logind cgroup objects to use slice objects rather than fixed croup locations. - logind can now collect minimal information about running VMs/containers. As fixed cgroup locations can no longer be used we need an entity that keeps track of machine cgroups in whatever slice they might be located. Since logind already keeps track of users, sessions and seats this is a trivial addition. - nspawn will now register with logind and pass various bits of metadata along. A new option "--slice=" has been added to place the container in a specific slice. - loginctl gained commands to list, introspect and terminate machines. - user.slice and machine.slice will now be pulled in by logind.service, since only logind.service requires this slice. --- src/login/logind-user.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/login/logind-user.h') diff --git a/src/login/logind-user.h b/src/login/logind-user.h index 080354da7..16d798541 100644 --- a/src/login/logind-user.h +++ b/src/login/logind-user.h @@ -49,6 +49,7 @@ struct User { char *runtime_path; char *service; char *cgroup_path; + char *slice; Session *display; -- cgit v1.2.3