rpms/libcgroup/devel fedora-config.patch,NONE,1.1
Jan Šafránek
jsafrane at fedoraproject.org
Thu Oct 22 07:25:26 UTC 2009
- Previous message (by thread): rpms/python-mutagen/devel .cvsignore, 1.11, 1.12 import.log, 1.3, 1.4 python-mutagen.spec, 1.17, 1.18 sources, 1.11, 1.12
- Next message (by thread): rpms/perl-MooseX-CascadeClearing/devel MooseX-CascadeClearing-autoinstall_off.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jsafrane
Update of /cvs/pkgs/rpms/libcgroup/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27341
Added Files:
fedora-config.patch
Log Message:
Change the default configuration to mount everything to /cgroup - libvirtd needs the controllers mounted somewhere.
fedora-config.patch:
cgconfig.conf | 48 +++++++++++++-----------------------------------
cgrules.conf | 4 +++-
2 files changed, 16 insertions(+), 36 deletions(-)
--- NEW FILE fedora-config.patch ---
Fedora specific configuration - we want to mount all controllers by default for libvirt.
diff -up libcgroup-0.34/samples/cgconfig.conf.orig libcgroup-0.34/samples/cgconfig.conf
--- libcgroup-0.34/samples/cgconfig.conf.orig 2009-03-04 10:40:06.000000000 +0100
+++ libcgroup-0.34/samples/cgconfig.conf 2009-10-19 10:17:37.000000000 +0200
@@ -10,39 +10,17 @@
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
-#group daemons/www {
-# perm {
-# task {
-# uid = root;
-# gid = webmaster;
-# }
-# admin {
-# uid = root;
-# gid = root;
-# }
-# }
-# cpu {
-# cpu.shares = 1000;
-# }
-#}
+# See man cgconfig.conf for further details.
#
-#group daemons/ftp {
-# perm {
-# task {
-# uid = root;
-# gid = ftpmaster;
-# }
-# admin {
-# uid = root;
-# gid = root;
-# }
-# }
-# cpu {
-# cpu.shares = 500;
-# }
-#}
-#
-#mount {
-# cpu = /mnt/cgroups/cpu;
-# cpuacct = /mnt/cgroups/cpuacct;
-#}
+# By default, mount all controllers to /cgroup/<controller>
+
+mount {
+ cpuset = /cgroup/cpuset;
+ cpu = /cgroup/cpu;
+ cpuacct = /cgroup/cpuacct;
+ memory = /cgroup/memory;
+ devices = /cgroup/devices;
+ freezer = /cgroup/freezer;
+ net_cls = /cgroup/net_cls;
+}
+
diff -up libcgroup-0.34/samples/cgrules.conf.orig libcgroup-0.34/samples/cgrules.conf
--- libcgroup-0.34/samples/cgrules.conf.orig 2009-06-29 13:21:11.000000000 +0200
+++ libcgroup-0.34/samples/cgrules.conf 2009-10-19 10:14:00.000000000 +0200
@@ -47,5 +47,7 @@
#peter cpu test1/
#% memory test2/
#@root * admingroup/
-#* * default/
+
+# As default rule, all processes belong to root group:
+* * /
# End of file
- Previous message (by thread): rpms/python-mutagen/devel .cvsignore, 1.11, 1.12 import.log, 1.3, 1.4 python-mutagen.spec, 1.17, 1.18 sources, 1.11, 1.12
- Next message (by thread): rpms/perl-MooseX-CascadeClearing/devel MooseX-CascadeClearing-autoinstall_off.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list