Blame SOURCES/fedora-config.patch

0a7b38
Fedora specific configuration - we want to mount all controllers by default for libvirt.
0a7b38
0a7b38
diff -up libcgroup-0.34/samples/cgconfig.conf.orig libcgroup-0.34/samples/cgconfig.conf
0a7b38
--- libcgroup-0.34/samples/cgconfig.conf.orig	2009-03-04 10:40:06.000000000 +0100
0a7b38
+++ libcgroup-0.34/samples/cgconfig.conf	2009-10-19 10:17:37.000000000 +0200
0a7b38
@@ -10,39 +10,8 @@
0a7b38
 #  WITHOUT ANY WARRANTY; without even the implied warranty of
0a7b38
 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
0a7b38
 #
0a7b38
-#group daemons/www {
0a7b38
-#	perm {
0a7b38
-#		task {
0a7b38
-#			uid = root;
0a7b38
-#			gid = webmaster;
0a7b38
-#		}
0a7b38
-#		admin {
0a7b38
-#			uid = root;
0a7b38
-#			gid = root;
0a7b38
-#		}
0a7b38
-#	}
0a7b38
-#	cpu {
0a7b38
-#		cpu.shares = 1000;
0a7b38
-#	}
0a7b38
-#}
0a7b38
 #
0a7b38
-#group daemons/ftp {
0a7b38
-#	perm {
0a7b38
-#		task {
0a7b38
-#			uid = root;
0a7b38
-#			gid = ftpmaster;
0a7b38
-#		}
0a7b38
-#		admin {
0a7b38
-#			uid = root;
0a7b38
-#			gid = root;
0a7b38
-#		}
0a7b38
-#	}
0a7b38
-#	cpu {
0a7b38
-#		cpu.shares = 500;
0a7b38
-#	}
0a7b38
-#}
0a7b38
-#
0a7b38
-#mount {
0a7b38
-#	cpu = /mnt/cgroups/cpu;
0a7b38
-#	cpuacct = /mnt/cgroups/cpuacct;
0a7b38
-#}
0a7b38
+# By default, we expect systemd mounts everything on boot,
0a7b38
+# so there is not much to do.
0a7b38
+# See man cgconfig.conf for further details, how to create groups
0a7b38
+# on system boot using this file.
0a7b38
+
0a7b38
diff -up libcgroup-0.35.1/samples/cgconfig.sysconfig.orig libcgroup-0.35.1/samples/cgconfig.sysconfig
0a7b38
--- libcgroup-0.35.1/samples/cgconfig.sysconfig.orig	2010-03-09 14:56:34.000000000 +0100
0a7b38
+++ libcgroup-0.35.1/samples/cgconfig.sysconfig	2010-03-09 16:30:12.000000000 +0100
0a7b38
@@ -5,8 +5,6 @@
0a7b38
 # controller to limit cpu.shares of this default group and allowing some more
0a7b38
 # important group take most of the CPU.
0a7b38
 #
0a7b38
-# By default, create these groups:
0a7b38
-CREATE_DEFAULT=yes
0a7b38
-
0a7b38
-# Uncomment following line to disable creation of the default group on startup:
0a7b38
-# CREATE_DEFAULT=no
0a7b38
+# By default, do not create these groups:
0a7b38
+# CREATE_DEFAULT=yes
0a7b38
+CREATE_DEFAULT=no