after emerge of app-emulation/lxc-1.1 lxc-ls was not working because default path was changed from /etc/lxc to /var/lib/lxc. ebuild info says that the old behaviour can be restored by changing : /etc/lxc/default.conf the correct config file is: /etc/lxc/lxc.conf Reproducible: Always Steps to Reproduce: 1. update lxc 2. 3. Actual Results: * Starting from version lxc-1.1.0-r3, the default lxc path has been * moved from /etc/lxc to /var/lib/lxc. If you still want to use /etc/lxc * please add the following to your /etc/lxc/default.conf * lxc.lxcpath = /etc/lxc Expected Results: * Starting from version lxc-1.1.0-r3, the default lxc path has been * moved from /etc/lxc to /var/lib/lxc. If you still want to use /etc/lxc * please add the following to your /etc/lxc/lxc.conf * lxc.lxcpath = /etc/lxc
Current versions (2.0.1 will be checked in shortly) install /etc/lxc/default.conf. This may be a valid issue in older versions, I haven't checked, but I don't have the bandwidth now to fix older releases.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1eb76c6972a8a7cef8f44cac4bb7a5b3e8673e2 commit c1eb76c6972a8a7cef8f44cac4bb7a5b3e8673e2 Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2017-12-15 23:05:34 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2017-12-16 00:23:58 +0000 app-emulation/lxc: fix postinst documentation Bug: https://bugs.gentoo.org/573116 Closes: https://bugs.gentoo.org/610902 Package-Manager: Portage-2.3.18, Repoman-2.3.6 app-emulation/lxc/lxc-2.0.9.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)}