{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/cgmanager/issues/18","labels_url":"https://api.github.com/repos/lxc/cgmanager/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/lxc/cgmanager/issues/18/comments","events_url":"https://api.github.com/repos/lxc/cgmanager/issues/18/events","html_url":"https://github.com/lxc/cgmanager/issues/18","id":108478298,"number":18,"title":"unified cgroup hierarchy","user":{"login":"brauner","id":7353573,"avatar_url":"https://avatars.githubusercontent.com/u/7353573?v=3","gravatar_id":"","url":"https://api.github.com/users/brauner","html_url":"https://github.com/brauner","followers_url":"https://api.github.com/users/brauner/followers","following_url":"https://api.github.com/users/brauner/following{/other_user}","gists_url":"https://api.github.com/users/brauner/gists{/gist_id}","starred_url":"https://api.github.com/users/brauner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brauner/subscriptions","organizations_url":"https://api.github.com/users/brauner/orgs","repos_url":"https://api.github.com/users/brauner/repos","events_url":"https://api.github.com/users/brauner/events{/privacy}","received_events_url":"https://api.github.com/users/brauner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-26T16:14:03Z","updated_at":"2015-09-26T16:32:13Z","closed_at":null,"body":"I tried to run `lxcfs v0.10` and `cgmanager v0.39` with the unified cgroup hierarchy with `systemd 226` by passing `systemd.unified_cgroup_hierarchy=1`  to `systemd`. This doesn't seem to work. The assertions in `cgmanager.c`: `nih_assert(server != NULL);` fails. This might have something to do with how `systemd 226` starts the `dbus` session but I am not sure:\r\n\r\n> \"systemd now supports the concept of user buses replacing\r\n          session buses, if used with dbus-1.10 (and enabled via dbus\r\n          --enable-user-session). It previously only supported this on\r\n          kdbus-enabled systems, and this release expands this to\r\n          'dbus-daemon' systems.\" (http://lists.freedesktop.org/archives/systemd-devel/2015-September/034177.html)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/lxc/cgmanager/issues/comments/143468476","html_url":"https://github.com/lxc/cgmanager/issues/18#issuecomment-143468476","issue_url":"https://api.github.com/repos/lxc/cgmanager/issues/18","id":143468476,"user":{"login":"hallyn","id":1359441,"avatar_url":"https://avatars.githubusercontent.com/u/1359441?v=3","gravatar_id":"","url":"https://api.github.com/users/hallyn","html_url":"https://github.com/hallyn","followers_url":"https://api.github.com/users/hallyn/followers","following_url":"https://api.github.com/users/hallyn/following{/other_user}","gists_url":"https://api.github.com/users/hallyn/gists{/gist_id}","starred_url":"https://api.github.com/users/hallyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hallyn/subscriptions","organizations_url":"https://api.github.com/users/hallyn/orgs","repos_url":"https://api.github.com/users/hallyn/repos","events_url":"https://api.github.com/users/hallyn/events{/privacy}","received_events_url":"https://api.github.com/users/hallyn/received_events","type":"User","site_admin":false},"created_at":"2015-09-26T16:32:13Z","updated_at":"2015-09-26T16:32:13Z","body":"Note that while cgmanager is unified-aware, lxcfs is not yet.\n\nThe cgmanager unified support actually means that non-unified-aware aplicaations can use cgmanager as normal, and cgmanager emulates the non-unified api on unified cgfs (by faking .cgm_leaf etc).\n\nI figured the next step for cgmanager would be to work on a new, more abstracted, v2 API (which ignores legacy.vs.unified).  This API would not be as tied to the current filenames.  The current systemd api may be a decent starting point.\n"}}