summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2012-07-03 13:49:58 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2012-07-03 13:49:58 -0500
commit3df0bd64cb8d520cb4e65b1ac307d0b9fa4e83c3 (patch)
tree56ad0b6a76146dec09732cfcc7911d5ba627525c /etc
parenta5b4fab7321c4feac2bc981b7fbf4b32bb5bb981 (diff)
downloadopenrc-3df0bd64cb8d520cb4e65b1ac307d0b9fa4e83c3.tar.gz
openrc-3df0bd64cb8d520cb4e65b1ac307d0b9fa4e83c3.tar.bz2
openrc-3df0bd64cb8d520cb4e65b1ac307d0b9fa4e83c3.tar.xz
cgroups: allow users to turn off creation of controller cgroups
This adds a switch to not create the one-cgroup-per-controller setup of cgroups. reported-by: davidweb@klaftenegger.de X-Gentoo-Bug: 423317 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=423317
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.conf.Linux8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/rc.conf.Linux b/etc/rc.conf.Linux
index ee23bc3..6cc9bef 100644
--- a/etc/rc.conf.Linux
+++ b/etc/rc.conf.Linux
@@ -18,3 +18,11 @@
# This is the number of tty's used in most of the rc-scripts (like
# consolefont, numlock, etc ...)
rc_tty_number=12
+
+# If you have cgroups turned on in your kernel, this switch controls
+# whether or not a group for each controler is mounted under
+# /sys/fs/cgroup.
+# Support for process management by cgroups is planned in the future,
+# so if you turn this off, be aware that you may not be able to use that
+# feature.
+#rc_controller_cgroups="YES"