[lxc-devel] lxc-1.0.0 reboot error
Serge Hallyn
serge.hallyn at ubuntu.com
Tue Feb 25 18:54:10 UTC 2014
Quoting Vitaly Lavrov (vel21ripn at gmail.com):
> On 23.02.2014 03:36, Stéphane Graber wrote:
> >Hi,
> >
> >Thanks for your patch.
> >
> >Can I just ask you to sign it off? (Signed-off-by: Name <email>)
> Hi!
>
> I found the source of the problem with a reboot of the container, but do not know how best to fix it.
> We have a race condition between the end of the old container and the creation of the network interfaces
> in the new container. Insert usleep (100000) before lxc_delete_network() solves the problem with a reboot,
> but it's a bad way.
>
> How to wait until the completion of the container?
How exactly are you doing the test? just script
lxc-start;
lxc-stop;
lxc-start;
? Using the api?
More information about the lxc-devel
mailing list