cgroup-bin init scripts has errors at upstart

Bug #795905 reported by molostoff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libcgroup (Ubuntu)
Fix Released
Medium
Unassigned
Nominated for Natty by Serge Hallyn

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//cgroup/cpu;
+ cpu = /sys/fs/cgroup/cpu;
        cpuacct = /sys/fs/cgroup/cpuacct;
        devices = /sys/fs/cgroup/devices;
        memory = /sys/fs/cgroup/memory;
diff --git a/init/cgconfig.conf b/init/cgconfig.conf
index 8509b29..6cec12f 100644
--- a/init/cgconfig.conf
+++ b/init/cgconfig.conf
@@ -16,7 +16,7 @@ pre-start script

        mount -t tmpfs cgroups /sys/fs/cgroup
        /usr/sbin/cgconfigparser -l $CGCONFIG
- if [ $CREATE_DEFAULT == "yes" ]; then
+ if [ "$CREATE_DEFAULT" = "yes" ]; then
                /usr/sbin/create_default_cgroups.sh
        fi
 end script

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

This was fixed last week by stgraber for oneiric, but should be SRUd for natty.

Changed in libcgroup (Ubuntu):
status: New → Confirmed
status: Confirmed → Fix Released
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.