[Lxc-users] [LXC] lxc-ls 0.7.5 on Debian Weezy backport
LACROIX Jean Marc
jeanmarc.lacroix at free.fr
Wed Mar 28 06:50:20 UTC 2012
Hi,
On Debian X86/amd64 host, i am using lxc-ls command with containers up.
the output from lxc-ls is empty ?
My config:
Host Debian Squeeze up to date (6.0.4)
Kernel 3.2.0 from Debian Wheezy backport
root at solo:/etc# uname -a
Linux solo 3.2.0-0.bpo.2-amd64 #1 SMP Thu Mar 15 20:46:44 UTC 2012
x86_64 GNU/Linux
Lxc is backported from Debian Wheezy to Squeeze with original code
from Debian (internal backport, not from Debian because not yet
available).
root at solo:/etc# dpkg -l |grep lxc
ii lxc 0.7.5-24~bpo60+1
Linux Containers userspace tools
update on cgroup (because not compatible with previous kernel)
root at solo:/etc# mount |grep cgroup
cgroup on /sys/fs/cgroup type cgroup (rw)
All containers up and running, no error when launching /etc/init.d/lxc
root at solo:~# ls /sys/fs/cgroup/ |grep lxc
lxc_vm_14-vm-lenny-x86-amd64-1
root at solo:~# lxc-info -n lxc_vm_14-vm-lenny-x86-amd64-1
state: RUNNING
pid: 7425
root at solo:~# lxc-ps -n lxc_vm_14-vm-lenny-x86-amd64-1
CONTAINER PID TTY TIME CMD
lxc_vm_14-vm-lenny-x86-amd64-1 7425 ? 00:00:00 init
lxc_vm_14-vm-lenny-x86-amd64-1 7722 ? 00:00:00 dhclient3
lxc_vm_14-vm-lenny-x86-amd64-1 7820 ? 00:00:00 dhclient3
lxc_vm_14-vm-lenny-x86-amd64-1 7874 ? 00:00:00 dhclient3
lxc_vm_14-vm-lenny-x86-amd64-1 7894 ? 00:00:00 portmap
lxc_vm_14-vm-lenny-x86-amd64-1 7905 ? 00:00:00 rpc.statd
lxc_vm_14-vm-lenny-x86-amd64-1 7920 ? 00:00:00 rpc.idmapd
lxc_vm_14-vm-lenny-x86-amd64-1 8001 ? 00:00:00 rsyslogd
lxc_vm_14-vm-lenny-x86-amd64-1 8021 ? 00:00:00 sshd
lxc_vm_14-vm-lenny-x86-amd64-1 8038 ? 00:00:00 ypbind
lxc_vm_14-vm-lenny-x86-amd64-1 8118 ? 00:00:00 cron
lxc_vm_14-vm-lenny-x86-amd64-1 8135 pts/4 00:00:00 getty
lxc_vm_14-vm-lenny-x86-amd64-1 8136 pts/0 00:00:00 getty
lxc_vm_14-vm-lenny-x86-amd64-1 8137 pts/1 00:00:00 getty
lxc_vm_14-vm-lenny-x86-amd64-1 8138 pts/2 00:00:00 getty
lxc_vm_14-vm-lenny-x86-amd64-1 8139 pts/3 00:00:00 getty
but .....
lxc-ls return one empty list ?
and ....
root at solo:~# lxc-ls -l
any idea ?
regards
--
--------------------------------------
-- Jean-Marc LACROIX --
-- mailto : jeanmarc.lacroix at free.fr --
---------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20120328/77573afe/attachment.html>
More information about the lxc-users
mailing list