<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,
<br>
<br>
On Debian X86/amd64 host, i am using lxc-ls command with containers up.
<br>
the output from lxc-ls is empty ?
<br>
<br>
My config:
<br>
<br>
Host Debian Squeeze up to date (6.0.4)
<br>
Kernel 3.2.0 from Debian Wheezy backport
<br>
root@solo:/etc# uname -a
<br>
Linux solo 3.2.0-0.bpo.2-amd64 #1 SMP Thu Mar 15 20:46:44 UTC 2012
x86_64 GNU/Linux
<br>
<br>
Lxc is backported from Debian Wheezy to Squeeze with original code
<br>
from Debian (internal backport, not from Debian because not yet
<br>
available).
<br>
root@solo:/etc# dpkg -l |grep lxc
<br>
ii lxc 0.7.5-24~bpo60+1
Linux Containers userspace tools
<br>
<br>
update on cgroup (because not compatible with previous kernel)
<br>
root@solo:/etc# mount |grep cgroup
<br>
cgroup on /sys/fs/cgroup type cgroup (rw)
<br>
<br>
All containers up and running, no error when launching /etc/init.d/lxc
<br>
<br>
root@solo:~# ls <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>sys/fs/cgroup<span
class="moz-txt-tag">/</span></i> |grep lxc
<br>
lxc_vm_14-vm-lenny-x86-amd64-1
<br>
<br>
root@solo:~# lxc-info -n lxc_vm_14-vm-lenny-x86-amd64-1<br>
state: RUNNING<br>
pid: 7425<br>
<br>
root@solo:~# lxc-ps -n lxc_vm_14-vm-lenny-x86-amd64-1<br>
CONTAINER PID TTY TIME CMD<br>
lxc_vm_14-vm-lenny-x86-amd64-1 7425 ? 00:00:00 init<br>
lxc_vm_14-vm-lenny-x86-amd64-1 7722 ? 00:00:00 dhclient3<br>
lxc_vm_14-vm-lenny-x86-amd64-1 7820 ? 00:00:00 dhclient3<br>
lxc_vm_14-vm-lenny-x86-amd64-1 7874 ? 00:00:00 dhclient3<br>
lxc_vm_14-vm-lenny-x86-amd64-1 7894 ? 00:00:00 portmap<br>
lxc_vm_14-vm-lenny-x86-amd64-1 7905 ? 00:00:00 rpc.statd<br>
lxc_vm_14-vm-lenny-x86-amd64-1 7920 ? 00:00:00 rpc.idmapd<br>
lxc_vm_14-vm-lenny-x86-amd64-1 8001 ? 00:00:00 rsyslogd<br>
lxc_vm_14-vm-lenny-x86-amd64-1 8021 ? 00:00:00 sshd<br>
lxc_vm_14-vm-lenny-x86-amd64-1 8038 ? 00:00:00 ypbind<br>
lxc_vm_14-vm-lenny-x86-amd64-1 8118 ? 00:00:00 cron<br>
lxc_vm_14-vm-lenny-x86-amd64-1 8135 pts/4 00:00:00 getty<br>
lxc_vm_14-vm-lenny-x86-amd64-1 8136 pts/0 00:00:00 getty<br>
lxc_vm_14-vm-lenny-x86-amd64-1 8137 pts/1 00:00:00 getty<br>
lxc_vm_14-vm-lenny-x86-amd64-1 8138 pts/2 00:00:00 getty<br>
lxc_vm_14-vm-lenny-x86-amd64-1 8139 pts/3 00:00:00 getty<br>
<br>
<br>
but .....
<br>
lxc-ls return one empty list ?
<br>
and ....<br>
root@solo:~# lxc-ls -l<br>
<br>
any idea ?
<br>
regards
<br>
<br>
<pre class="moz-signature" cols="72">--
--------------------------------------
-- Jean-Marc LACROIX --
-- mailto : <a class="moz-txt-link-abbreviated" href="mailto:jeanmarc.lacroix@free.fr">jeanmarc.lacroix@free.fr</a> --
---------------------------------------
</pre>
</body>
</html>