Quoting S.Çağlar Onur ([email protected]):
> Hi Serge,
>
> This seems to fix the creates but starts started to fail this time. One
Yeah I expected that. Through send_state(), command.c and af_unix.c
need some process_lock()s too. I had a preliminary patch on my other
laptop, but I wanted to see if I'd hit all the create ones and whether
that even helped at all before going on :)
> quick note, my concurrent.c still uses ubuntu as it's much more easy to
> replicate the issue with it.
>
> diff --git a/src/tests/concurrent.c b/src/tests/concurrent.c
> index 7faf34c..ffc025c 100644
> --- a/src/tests/concurrent.c
> +++ b/src/tests/concurrent.c
> @@ -40,7 +40,7 @@ void * concurrent(void *arguments) {
> args->return_code = 1;
> if (strcmp(args->mode, "create") == 0) {
> if (!c->is_defined(c)) {
> - if (!c->create(c, "busybox", NULL, NULL, 1, NULL)) {
> + if (!c->create(c, "ubuntu", NULL, NULL, 1, NULL)) {
> fprintf(stderr, "Creating the container (%s) failed...\n",
> name);
> goto out;
> }
Ok, I'm going to assume noone objects to just triggering that on
argv[1] and push a patch to do that. It'll do busybox by default,
or argv[1] if that is passed in.
thanks,
-serge
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-devel