[Bug 925110] Re: lxc-ls fails as non-root sometimes (second bug)

Serge Hallyn 925110 at bugs.launchpad.net
Wed Feb 1 21:52:44 UTC 2012

thanks for filing this bug.

lxc-ls actually handles the case where mount -t cgroup shows nothing,
by then checking in /proc/self/mounts.

The /sys/fs/cgroup/<subsys>/<init-cgroup>/lxc directory is explicitly
created with 0755.  The container's  directory (mistakenly) is not,
i.e. /sys/fs/cgroup/<subsys>/<init-cgroup>/lxc/container1.  But your
output isn't showing that, it's showing lxc itself.


Can you tell us what else you have installed?

dpkg -l | grep libvirt
dpkg -l | grep cgroup

and how long it has been running?

** Changed in: lxc (Ubuntu)
       Status: New => Confirmed

** Changed in: lxc (Ubuntu)
   Importance: Undecided => Medium

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

  lxc-ls fails as non-root sometimes (second bug)

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list