cgroup-bin init scripts has errors at upstart
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libcgroup (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bug Description
in /etc :
diff --git a/cgconfig.conf b/cgconfig.conf
index 6211f46..24dd9fd 100644
--- a/cgconfig.conf
+++ b/cgconfig.conf
@@ -44,7 +44,7 @@
#
mount {
- cpu = /sys/fs/
+ cpu = /sys/fs/cgroup/cpu;
cpuacct = /sys/fs/
devices = /sys/fs/
memory = /sys/fs/
diff --git a/init/
index 8509b29..6cec12f 100644
--- a/init/
+++ b/init/
@@ -16,7 +16,7 @@ pre-start script
mount -t tmpfs cgroups /sys/fs/cgroup
- if [ $CREATE_DEFAULT == "yes" ]; then
+ if [ "$CREATE_DEFAULT" = "yes" ]; then
fi
end script
This was fixed last week by stgraber for oneiric, but should be SRUd for natty.