Public bug reported: You need root to run lxc-ls now, but this happens:
jorge@jilldactyl:~$ lxc-ls lxc: Permission denied - opendir on lxcpath Traceback (most recent call last): File "/usr/bin/lxc-ls", line 200, in <module> for container_name in lxc.list_containers(config_path=lxcpath): File "/usr/lib/python3/dist-packages/lxc/__init__.py", line 390, in list_containers config_path=config_path) ValueError: failure to list containers I asked Serge: <hallyn> jcastro: you have to run lxc-ls as root now jcastro: however, it shouldn't give you a backtrace like that, just a nice error msg <hallyn> so that's bug-worthy ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: lxc 1.0.0~beta1-0ubuntu3 ProcVersionSignature: Ubuntu 3.12.0-7.15-generic 3.12.4 Uname: Linux 3.12.0-7-generic x86_64 ApportVersion: 2.12.7-0ubuntu6 Architecture: amd64 CurrentDesktop: Unity Date: Wed Jan 8 15:56:45 2014 EcryptfsInUse: Yes InstallationDate: Installed on 2013-12-11 (28 days ago) InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1) SourcePackage: lxc UpgradeStatus: Upgraded to trusty on 2014-01-07 (1 days ago) defaults.conf: lxc.network.type = veth lxc.network.link = lxcbr0 lxc.network.flags = up lxcsyslog: ** Affects: lxc (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug trusty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1267242 Title: Running lxc-ls as non-root should provide a nicer error message To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1267242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs