Public bug reported:

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

** Affects: libcgroup (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/795905

Title:
  cgroup-bin init scripts has errors at upstart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libcgroup/+bug/795905/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to