On Mon, Dec 09, 2013 at 02:10:15PM +0200, Bogdan Purcareata wrote:
> Prevent container start from failing when running Busybox containers on hosts 
> without securityfs support.
> 
> Signed-off-by: Bogdan Purcareata <[email protected]>

Acked-by: Stéphane Graber <[email protected]>

> ---
>  templates/lxc-busybox.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
> index 97614c6..8232334 100644
> --- a/templates/lxc-busybox.in
> +++ b/templates/lxc-busybox.in
> @@ -292,7 +292,7 @@ EOF
>              echo "lxc.mount.entry = /$dir $dir none ro,bind 0 0" >> 
> $path/config
>          fi
>      done
> -    echo "lxc.mount.entry = /sys/kernel/security sys/kernel/security none 
> ro,bind 0 0" >>$path/config
> +    echo "lxc.mount.entry = /sys/kernel/security sys/kernel/security none 
> ro,bind,optional 0 0" >>$path/config
>      echo "lxc.mount.auto = proc:mixed sys" >>$path/config
>  }
>  
> -- 
> 1.7.11.7
> 
> 
> _______________________________________________
> lxc-devel mailing list
> [email protected]
> http://lists.linuxcontainers.org/listinfo/lxc-devel

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

Attachment: signature.asc
Description: Digital signature

_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to