[packages/libcgroup] really enable all cgroups by default
glen
glen at pld-linux.org
Thu Feb 18 17:03:07 CET 2016
commit fce027e6d8ada5ff5dab0ce1c8fec864ef8cf1ba
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Feb 18 18:01:56 2016 +0200
really enable all cgroups by default
libcgroup-conf.patch | 22 +++++++++++-----------
libcgroup.spec | 2 +-
2 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/libcgroup.spec b/libcgroup.spec
index 05b590a..13609de 100644
--- a/libcgroup.spec
+++ b/libcgroup.spec
@@ -2,7 +2,7 @@ Summary: Tools and library to control and monitor control groups
Summary(pl.UTF-8): Narzędzia i biblioteka do kontrolowania i monitorowania grup kontroli
Name: libcgroup
Version: 0.41
-Release: 3
+Release: 4
License: LGPL v2+
Group: Applications/System
Source0: http://downloads.sourceforge.net/libcg/%{name}-%{version}.tar.bz2
diff --git a/libcgroup-conf.patch b/libcgroup-conf.patch
index 5ff82e3..3087819 100644
--- a/libcgroup-conf.patch
+++ b/libcgroup-conf.patch
@@ -47,18 +47,18 @@ diff -ur libcgroup-0.37/samples/cgconfig.conf libcgroup-0.37-conf/samples/cgconf
+# For SysV style init to work you need to mount tmpfs on /sys/fs/cgroup
+# first (see /etc/fstab).
+#
-+#mount {
-+# blkio = /sys/fs/cgroup/blkio;
-+# cpu = /sys/fs/cgroup/cpu;
-+# cpuacct = /sys/fs/cgroup/cpuacct;
-+# cpuset = /sys/fs/cgroup/cpuset;
++mount {
++ blkio = /sys/fs/cgroup/blkio;
++ cpu = /sys/fs/cgroup/cpu;
++ cpuacct = /sys/fs/cgroup/cpuacct;
++ cpuset = /sys/fs/cgroup/cpuset;
+## debug = /sys/fs/cgroup/debug;
-+# devices = /sys/fs/cgroup/devices;
-+# freezer = /sys/fs/cgroup/freezer;
-+# memory = /sys/fs/cgroup/memory;
-+# net_cls = /sys/fs/cgroup/net_cls;
-+# perf_event = /sys/fs/cgroup/perf_event;
-+#}
++ devices = /sys/fs/cgroup/devices;
++ freezer = /sys/fs/cgroup/freezer;
++ memory = /sys/fs/cgroup/memory;
++ net_cls = /sys/fs/cgroup/net_cls;
++ perf_event = /sys/fs/cgroup/perf_event;
++}
+
diff -ur libcgroup-0.37/samples/cgconfig.sysconfig libcgroup-0.37-conf/samples/cgconfig.sysconfig
--- libcgroup-0.37/samples/cgconfig.sysconfig 2010-10-20 15:59:13.000000000 +0200
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libcgroup.git/commitdiff/fce027e6d8ada5ff5dab0ce1c8fec864ef8cf1ba
More information about the pld-cvs-commit
mailing list