Re: [lxc-devel] [PATCH] lxc-destroy container only if it is in the STOPPED state

2012-12-19 Thread Serge Hallyn
Quoting Dwight Engen (dwight.en...@oracle.com): > Currently, lxc-destory will attempt to destroy a container if it is not in > the RUNNING state, but doing so is not good when the container is FROZEN, or > in other transitional states. > > Signed-off-by: Dwight Engen Acked-by: Serge E. Hallyn

Re: [lxc-devel] [PATCH] lxc-destroy container only if it is in the STOPPED state

2012-12-19 Thread Stéphane Graber
On 12/19/2012 04:32 PM, Serge Hallyn wrote: > Quoting Dwight Engen (dwight.en...@oracle.com): >> Currently, lxc-destory will attempt to destroy a container if it is not in >> the RUNNING state, but doing so is not good when the container is FROZEN, or >> in other transitional states. >> >> Signed-o

[lxc-devel] [PATCH] Support MS_SHARED /

2012-12-19 Thread Serge Hallyn
(I'll be out until Jan 2, but in the meantime, here is hopefully a little newyears gift - this seems to allow lxc-start with / being MS_SHARED on the host) When / is MS_SHARED (for instance with f18 and modern arch), lxc-start fails on pivot_root. The kernel enforces that, when doing pivot_root,