summaryrefslogtreecommitdiff
path: root/src/core/cgroup.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-05-05 18:49:43 +0200
committerKay Sievers <kay@vrfy.org>2014-05-05 18:52:36 +0200
commit99a17ada9caa8e190b5cafa5cd3c19618feeff48 (patch)
treeb9e0be7af59bee7dda5c2dc7a32d74a2dc8981d5 /src/core/cgroup.c
parent61fb23db45c626d92b4e33f09b9287f58a3625a5 (diff)
core: require cgroups filesystem to be available
We should no longer pretend that we can run in any sensible way without the kernel supporting us with cgroups functionality.
Diffstat (limited to 'src/core/cgroup.c')
-rw-r--r--src/core/cgroup.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/cgroup.c b/src/core/cgroup.c
index 1c05c23449..3aeaf56656 100644
--- a/src/core/cgroup.c
+++ b/src/core/cgroup.c
@@ -862,12 +862,6 @@ int manager_setup_cgroup(Manager *m) {
assert(m);
- /* 0. Be nice to Ingo Molnar #628004 */
- if (path_is_mount_point("/sys/fs/cgroup/systemd", false) <= 0) {
- log_warning("No control group support available, not creating root group.");
- return 0;
- }
-
/* 1. Determine hierarchy */
free(m->cgroup_root);
m->cgroup_root = NULL;