Bug 1103119 - lxc-ls not found
Summary: lxc-ls not found
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: lxc
Version: 20
Hardware: ppc64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Thomas Moschny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-30 10:19 UTC by Vaishnavi Bhat
Modified: 2014-06-05 19:24 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-06-05 19:24:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Vaishnavi Bhat 2014-05-30 10:19:32 UTC
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.

Comment 1 Michael H. Warfield 2014-06-04 21:08:28 UTC
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.

Comment 2 Thomas Moschny 2014-06-05 19:24:48 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.