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.

Curious!

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.
https://bugs.launchpad.net/bugs/925110

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

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to