[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] Only ummount /proc, /sys, /dev if the root source is '/'



On 07/05/2012 10:09 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> Previous commits added code to unmount the existing /proc,
> /sys and /dev hierarchies on the root filesystem of the
> container. This should only have been done if the container's
> root filesystem was the same as the host's root. ie if
> the root source is '/'.   As it is, this causes LXC containersr
> to fail to start if their root source is not '/'
> 
> Signed-off-by: Daniel P. Berrange <berrange redhat com>
> ---
>  src/lxc/lxc_container.c |   10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]