Description of problem: --------------------------- lxc-ls command is not found. Only below list of commands are found. # lxc- lxc-attach lxc-checkpoint lxc-create lxc-freeze lxc-monitor lxc-restart lxc-stop lxc-unshare lxc-cgroup lxc-clone lxc-destroy lxc-info lxc-netstat lxc-shutdown lxc-top lxc-version lxc-checkconfig lxc-console lxc-execute lxc-kill lxc-ps lxc-start lxc-unfreeze lxc-wait Version-Release number of selected component (if applicable): --------------------------------------------------------------- lxc-templates-0.9.0-2.fc20.ppc64 lxc-libs-0.9.0-2.fc20.ppc64 lxc-0.9.0-2.fc20.ppc64 Steps to Reproduce: -------------------- 1.install lxc, lxc-templates. 2.create container 3.try to list the containers with the lxc-ls command. # lxc-ls bash: lxc-ls: command not found... Actual results: ------------------ # lxc-ls bash: lxc-ls: command not found... Expected results: List all the containers.
Fixed in upstream. The upstream 0.9.0 lxc.spec file did include an lxc-ls script which was a "legacy" script that may have been missed in the Fedora lxc.spec file. Newer versions using the stable API provide an enhanced lxc-ls application.
lxc-ls is part of the lxc-extra package, try yum install /usr/bin/lxc-ls or yum whatprovides /usr/bin/lxc-ls The reason for moving it into a separate package is that it uses python3 and the python3 lxc bindings.