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@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@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@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@solo:~# ls /sys/fs/cgroup/ |grep lxc
lxc_vm_14-vm-lenny-x86-amd64-1
root@solo:~# lxc-info -n lxc_vm_14-vm-lenny-x86-amd64-1
state: RUNNING
pid: 7425
root@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@solo:~# lxc-ls -l
any idea ?
regards
--
--------------------------------------
-- Jean-Marc LACROIX --
-- mailto : jeanmarc.lacr...@free.fr --
---------------------------------------
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users