aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.d/sysfs.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/init.d/sysfs.in b/init.d/sysfs.in
index 7021feb7..37350edd 100644
--- a/init.d/sysfs.in
+++ b/init.d/sysfs.in
@@ -79,6 +79,11 @@ mount_cgroups()
return 0
fi
+ local agent="@LIBEXECDIR@/sh/cgroup-release-agent.sh"
+ mkdir /sys/fs/cgroup/openrc
+ mount -t cgroup \
+ -o none,nodev,noexec,nosuid,name=openrc,release_agent="$agent" \
+ openrc /sys/fs/cgroup/openrc
while read name hier groups enabled rest; do
case "${enabled}" in
1) mkdir /sys/fs/cgroup/${name}