]> git.pld-linux.org Git - packages/libcgroup.git/commitdiff
really enable all cgroups by default auto/th/libcgroup-0.41-4
authorElan Ruusamäe <glen@delfi.ee>
Thu, 18 Feb 2016 16:01:56 +0000 (18:01 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 18 Feb 2016 16:01:56 +0000 (18:01 +0200)
libcgroup-conf.patch
libcgroup.spec

index 5ff82e387c24296f98ba6b2a94f48fb91e5487cf..3087819239c3fac02b2595fa5cb713f7c7d7d51f 100644 (file)
@@ -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
index 05b590a45ce2150b59e2e44ed016c8de7b6d8699..13609de24ae587db3811dc715b1c1c94d8542af5 100644 (file)
@@ -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
This page took 0.132195 seconds and 4 git commands to generate.