I've tried using lxc-attach to run a process in a running
container,but it didn't work.The command I use is as follow:
lxc-execute -n test /home/lisperl/forever
lxc-attach -n test /bin/bash

The error is :
lxc-attach: No such file or directory - failed to open '/proc/2540/ns/pid'
lxc-attach: failed to enter the namespace

Then I cd to /proc/2540/ns and ls
there are only ipc net uts .

Finally I tried using lxc-start to start container and using
lxc-attach,it turned out to be the same error.
The edition of LXC is 0.7.5
So,Can someone tell me why?
-- 

Zhefeng Wang
University of Science and Technology of China
Email:zhefw...@gmail.com

In God we trust, all others bring data

------------------------------------------------------------------------------
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

Reply via email to