[Devel] Re: [PATCH] liblxc: handle interruption/failure of lxc-debian more gracefully

Daniel Lezcano daniel.lezcano at free.fr
Thu Feb 5 04:05:03 PST 2009


Matt Helsley wrote:
> If lxc-debian fails or is interrupted during debootstrap then the next
> invocation of lxc-debian breaks because it only checks for the existence
> of the directory. This forces the user to remove the cache by hand to
> retry the create step.
>
> Let's allow the user to re-run lxc-debian to resume/retry. Store the
> cache in a partial-$ARCH directory until debootstrap succeeds. Then move
> the valid cache to its final destination.
>
> Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
>   
That is definitively better !
Applied, thanks.

  -- Daniel
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list