[lxc-devel] BUG in tty_open when using containers and ptrace

Serge E. Hallyn serue at us.ibm.com
Mon Jul 13 20:26:10 UTC 2009


Quoting Grzegorz Nosek (root at localdomain.pl):
> On Mon, Jul 13, 2009 at 02:02:11PM -0500, Serge E. Hallyn wrote:
> > I've tried but failed to reproduce.  Do you have a script or a more
> > precise recipe you can share?
> 
> I do have a script but all it does is starting and shutting down
> a container in a loop. I can strip down and publish the virtualbox vm
> image somewhere, if that helps.

The container init is /bin/sh, and you
while [ 1 ]; do
	virsh --connect lxc:/// start vm1
	virsh --connect lxc:/// destroy vm1
done

?  (I thought there was something about stracing the container
init too, so i was basically doing the above while also
stracing the bash shell)

-serge




More information about the lxc-devel mailing list