Re: [lxc-devel] [Lxc-users] child setpgid [...] : No such process
Le 12/03/2010 13:51, Daniel Lezcano a écrit : l...@zitta.fr wrote: Le 11/03/2010 19:47, Daniel Lezcano a écrit : l...@zitta.fr wrote: I created a new container (karmic), then I type any command there is curious message, but it works: Do you mean you created a system container with karmic inside ? Yes, I'm testing a new version of my provisioning scripts. Can you give the kernel version, the lxc version, the container configuration and the command used to spawn the container ? config as attachment. black provisioning # uname -a Linux black 2.6.31-zen11-lxc-bt #1 ZEN SMP PREEMPT Tue Feb 23 09:13:02 CET 2010 x86_64 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz GenuineIntel GNU/Linux black provisioning # eix -I lxc | grep Installed Installed versions: 0.6.4-r2(22:25:37 04/01/2010)(doc -examples) Container started with : lxc-start -d -n mycontainer I access to it via ssh. Just a question, config file is used at once at create? r...@mycontainer:~# ls / -bash: child setpgid (28212 to 28212): No such process bin boot dev etc home lib lib64 media mnt opt proc root sbin selinux srv sys tmp usr var When you are in the container, can you give the ouput of: echo $$ ps axjf yes, I can : r...@mycontainer:~# ls -bash: child setpgid (1905 to 1905): No such process r...@mycontainer:~# echo $$ 74 r...@mycontainer:~# ps axjf -bash: child setpgid (1907 to 1907): No such process PPID PID PGID SID TTY TPGID STAT UID TIME COMMAND 0 1 1 1 ? -1 Ss 0 0:00 /sbin/init 1131010 ? -1 Sl 101 0:00 rsyslogd -c4 1545454 ? -1 Ss 0 0:00 /usr/sbin/sshd 1686868 tty181 Ss 0 0:00 /bin/login -- 68747468 tty181 S0 0:00 \_ -bash 74818168 tty181 R+ 0 0:00 \_ ps axjf -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel
Re: [lxc-devel] [Lxc-users] child setpgid [...] : No such process
l...@zitta.fr wrote: Le 12/03/2010 13:51, Daniel Lezcano a écrit : l...@zitta.fr wrote: Le 11/03/2010 19:47, Daniel Lezcano a écrit : l...@zitta.fr wrote: I created a new container (karmic), then I type any command there is curious message, but it works: Do you mean you created a system container with karmic inside ? Yes, I'm testing a new version of my provisioning scripts. Can you give the kernel version, the lxc version, the container configuration and the command used to spawn the container ? config as attachment. black provisioning # uname -a Linux black 2.6.31-zen11-lxc-bt #1 ZEN SMP PREEMPT Tue Feb 23 09:13:02 CET 2010 x86_64 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz GenuineIntel GNU/Linux black provisioning # eix -I lxc | grep Installed Installed versions: 0.6.4-r2(22:25:37 04/01/2010)(doc -examples) Container started with : lxc-start -d -n mycontainer I access to it via ssh. Just a question, config file is used at once at create? r...@mycontainer:~# ls / -bash: child setpgid (28212 to 28212): No such process bin boot dev etc home lib lib64 media mnt opt proc root sbin selinux srv sys tmp usr var When you are in the container, can you give the ouput of: echo $$ ps axjf yes, I can : r...@mycontainer:~# ls -bash: child setpgid (1905 to 1905): No such process r...@mycontainer:~# echo $$ 74 r...@mycontainer:~# ps axjf -bash: child setpgid (1907 to 1907): No such process PPID PID PGID SID TTY TPGID STAT UID TIME COMMAND 0 1 1 1 ? -1 Ss 0 0:00 /sbin/init 1131010 ? -1 Sl 101 0:00 rsyslogd -c4 1545454 ? -1 Ss 0 0:00 /usr/sbin/sshd 1686868 tty181 Ss 0 0:00 /bin/login -- 68747468 tty181 S0 0:00 \_ -bash 74818168 tty181 R+ 0 0:00 \_ ps axjf Very weird ... Another one :) strace -f -eclone,setpgid bash and then /bin/true (or whatever). -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel