<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Le 12/03/2010 13:51, Daniel Lezcano a écrit :
<blockquote cite="mid:4B9A38BD.2090209@free.fr" type="cite"><br>
<a class="moz-txt-link-abbreviated" href="mailto:lxc@zitta.fr">lxc@zitta.fr</a> wrote:
<br>
<blockquote type="cite">Le 11/03/2010 19:47, Daniel Lezcano a écrit :
<br>
<blockquote type="cite"><a class="moz-txt-link-abbreviated" href="mailto:lxc@zitta.fr">lxc@zitta.fr</a> wrote:
<br>
<blockquote type="cite">I created a new container (karmic), then
I type any command there is
<br>
curious message, but it works:
<br>
</blockquote>
Do you mean you created a system container with karmic inside ?
<br>
</blockquote>
Yes, I'm testing a new version of my provisioning scripts.
<br>
<blockquote type="cite">Can you give the kernel version, the lxc
version, the container
<br>
configuration and the command used to spawn the container ?
<br>
</blockquote>
<br>
config as attachment.
<br>
<br>
black provisioning # uname -a
<br>
Linux black 2.6.31-zen11-lxc-bt #1 ZEN SMP PREEMPT Tue Feb 23 09:13:02
<br>
CET 2010 x86_64 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz
GenuineIntel
<br>
GNU/Linux
<br>
<br>
black provisioning # eix -I lxc | grep Installed
<br>
Installed versions: 0.6.4-r2(22:25:37 04/01/2010)(doc -examples)
<br>
<br>
Container started with : lxc-start -d -n mycontainer
<br>
<br>
I access to it via ssh.
<br>
<br>
Just a question, config file is used at once at create?
<br>
<blockquote type="cite">
<blockquote type="cite">root@mycontainer:~# ls /
<br>
-bash: child setpgid (28212 to 28212): No such process
<br>
bin boot dev etc home lib lib64 media mnt opt proc root
<br>
sbin selinux srv sys tmp usr var
<br>
</blockquote>
</blockquote>
</blockquote>
<br>
When you are in the container, can you give the ouput of:
<br>
<br>
echo $$
<br>
ps axjf
<br>
<br>
<br>
<br>
</blockquote>
<tt>yes, I can :<br>
<br>
</tt>
<blockquote><tt>root@mycontainer:~# ls</tt><br>
<tt>-bash: child setpgid (1905 to 1905): No such process</tt><br>
<tt>root@mycontainer:~# echo $$</tt><br>
<tt>74</tt><br>
<tt>root@mycontainer:~# ps axjf </tt><br>
<tt>-bash: child setpgid (1907 to 1907): No such process</tt><br>
<tt> PPID PID PGID SID TTY TPGID STAT UID TIME COMMAND</tt><br>
<tt> 0 1 1 1 ? -1 Ss 0 0:00
/sbin/init</tt><br>
<tt> 1 13 10 10 ? -1 Sl 101 0:00 rsyslogd
-c4</tt><br>
<tt> 1 54 54 54 ? -1 Ss 0 0:00
/usr/sbin/sshd</tt><br>
<tt> 1 68 68 68 tty1 81 Ss 0 0:00
/bin/login -- </tt><br>
<tt> 68 74 74 68 tty1 81 S 0 0:00 \_ -bash</tt><br>
<tt> 74 81 81 68 tty1 81 R+ 0 0:00 \_
ps axjf</tt><br>
</blockquote>
<br>
</body>
</html>