[lxc-devel] [PATCH] lxc-alpine: create /dev/shm before mounting

Serge Hallyn serge.hallyn at ubuntu.com
Fri Apr 24 13:02:25 UTC 2015


Quoting Natanael Copa (ncopa at alpinelinux.org):
> This is needed for lxc.autodev=1 to work.
> 
> Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>

Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>

> ---
>  templates/lxc-alpine.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in
> index 886a838..963c42a 100644
> --- a/templates/lxc-alpine.in
> +++ b/templates/lxc-alpine.in
> @@ -251,7 +251,7 @@ lxc.cgroup.devices.allow = c 254:0 rm
>  # mounts point
>  lxc.mount.auto=cgroup:mixed proc:mixed sys:mixed
>  lxc.mount.entry=run run tmpfs nodev,noexec,nosuid,relatime,size=1m,mode=0755 0 0
> -lxc.mount.entry=shm dev/shm tmpfs nodev,nosuid,noexec,mode=1777 0 0
> +lxc.mount.entry=shm dev/shm tmpfs nodev,nosuid,noexec,mode=1777,create=dir 0 0
>  
>  EOF
>  
> -- 
> 2.3.5
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


More information about the lxc-devel mailing list