Blame SOURCES/fedora-config.patch

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