[Bug 936756] Re: lxc complains about cgroup not available

Serge Hallyn 936756 at bugs.launchpad.net
Mon Feb 20 14:06:09 UTC 2012


actually lxc-create doesn't need the cgroups, so that doesn't mean there
is no problem.  However, your mount output only shows that a tmpfs
called cgroup is mounted under /sys/fs/cgroup.  It doesn't show that
actual cgroup filesystems are mounted under there.  Take a look at
/proc/self/mounts, and you should see something like:

serge at ubuntu:~$ grep cgroup /proc/self/mounts
cgroup /sys/fs/cgroup tmpfs rw,relatime,mode=755 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/cpu cgroup rw,relatime,cpu 0 0
cgroup /sys/fs/cgroup/cpuacct cgroup rw,relatime,cpuacct 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,relatime,memory 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,relatime,devices 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,relatime,freezer 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,relatime,blkio 0 0
cgroup /sys/fs/cgroup/perf_event cgroup rw,relatime,perf_event 0 0

You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.

  lxc complains about cgroup not available

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list