[lxc-devel] [PATCH] RFC: how to fix race with fast init?

Serge Hallyn serge.hallyn at ubuntu.com
Mon Mar 11 15:25:51 UTC 2013


Quoting Serge Hallyn (serge.hallyn at ubuntu.com):
> Quoting Daniel Lezcano (daniel.lezcano at free.fr):
> > This problem shouldn't appears with lxc-start.
> 
> It hasn't (that we know of), but then the init task in lxc-start takes
> a lot longer.  I haven't ried, what happens when you
> 
> 	lxc-start -n r1 -- lxc-init /bin/true
> 
> (my toy box isn't on right now, can't test tonight)

Hah!  Yes,  

	sudo lxc-start -n r2 -- /usr/lib/x86_64-linux-gnu/lxc/lxc-init /bin/true

hangs the same way  :)

-serge




More information about the lxc-devel mailing list