Blame SOURCES/fedora-config.patch

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