aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-01-23 22:00:08 -0600
committerWilliam Hubbs <williamh@gentoo.org>2012-01-23 22:00:08 -0600
commitcacea4e7f3de67181d54317759e9d3361504cfe4 (patch)
treea5abed6fadc47e818f65bde10bd741c3ad11216e
parentce4c9b5397662869a707cd68a373aa751e125a50 (diff)
Cgroups: activate the openrc control group release agent
-rw-r--r--init.d/sysfs.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.d/sysfs.in b/init.d/sysfs.in
index 37350edd..962fcfdb 100644
--- a/init.d/sysfs.in
+++ b/init.d/sysfs.in
@@ -84,6 +84,7 @@ mount_cgroups()
mount -t cgroup \
-o none,nodev,noexec,nosuid,name=openrc,release_agent="$agent" \
openrc /sys/fs/cgroup/openrc
+ echo 1 > /sys/fs/cgroup/openrc/notify_on_release
while read name hier groups enabled rest; do
case "${enabled}" in
1) mkdir /sys/fs/cgroup/${name}