[lxc-devel] lxc-stop hangs if stopped shortly after container enters RUNNING state

Daniel Lezcano daniel.lezcano at free.fr
Thu May 10 19:58:51 UTC 2012


On 04/06/2012 12:22 AM, Damian Eads wrote:
> Hi,
>
> Thank you for an excellent software package. I've found lxc
> exceptionally useful. I am using containers for short period to do a
> small task (e.g. build some arbitrary code), and then I stop the
> container. I initially tried lxc-execute but I was unable to create
> outbound network connections with a mounted rootfs so I switched to
> the lxc-start approach.
>
> If I stop a container shortly after starting it, lxc-stop hangs. I use
> lxc-wait to avoid stopping a container before it enters a RUNNING
> state. This script reproduces the behavior:

Good catch and thanks for providing a script to reproduce the bug.

I will try to reproduce it.

Thanks
   -- Daniel




More information about the lxc-devel mailing list