diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-22 09:27:52 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-22 09:27:52 +0100 |
commit | 8ae6831a751f37cc69146795decc0732f625e43d (patch) | |
tree | 0cdbf4a7fb2625cee131478d11ab5de88d11126d /sys-apps/openrc | |
parent | 2ebb817c9a236e6d78ab730ff4f6e9a6320c1986 (diff) |
sys-apps/openrc : disable cgroups version 2 for now, untill app-admin/cgmanager properly supports it
Diffstat (limited to 'sys-apps/openrc')
-rw-r--r-- | sys-apps/openrc/files/openrc-disable-cgroupsv2.patch | 12 | ||||
-rw-r--r-- | sys-apps/openrc/openrc-0.32.1-r1710.ebuild | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/sys-apps/openrc/files/openrc-disable-cgroupsv2.patch b/sys-apps/openrc/files/openrc-disable-cgroupsv2.patch new file mode 100644 index 00000000..900ad4b1 --- /dev/null +++ b/sys-apps/openrc/files/openrc-disable-cgroupsv2.patch @@ -0,0 +1,12 @@ +diff -Nur a/etc/rc.conf b/etc/rc.conf +--- a/etc/rc.conf 2017-10-10 19:38:12.000000000 +0100 ++++ b/etc/rc.conf 2017-10-22 09:24:59.365825762 +0100 +@@ -196,7 +196,7 @@ + # cgroups version 1 on /sys/fs/cgroup. + # "legacy" mounts cgroups version 1 on /sys/fs/cgroup + # "unified" mounts cgroups version 2 on /sys/fs/cgroup +-#rc_cgroup_mode="hybrid" ++rc_cgroup_mode="legacy" + + # This is a list of controllers which should be enabled for cgroups version 2. + # If hybrid mode is being used, controllers listed here will not be diff --git a/sys-apps/openrc/openrc-0.32.1-r1710.ebuild b/sys-apps/openrc/openrc-0.32.1-r1710.ebuild index f102c5ac..9111b944 100644 --- a/sys-apps/openrc/openrc-0.32.1-r1710.ebuild +++ b/sys-apps/openrc/openrc-0.32.1-r1710.ebuild @@ -74,6 +74,7 @@ src_prepare() { fi epatch "${FILESDIR}"/${PN}-enable-rclogger.patch + epatch "${FILESDIR}"/${PN}-disable-cgroupsv2.patch } src_compile() { |