[lxc-devel] [PATCH] lxc-alpine: make sure /dev/shm is world writeable

Stéphane Graber stgraber at ubuntu.com
Thu Nov 27 22:49:36 UTC 2014


On Thu, Nov 27, 2014 at 03:20:50PM +0100, Natanael Copa wrote:
> Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>

Acked-by: Stéphane Graber <stgraber 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 7a22d5e..47df559 100644
> --- a/templates/lxc-alpine.in
> +++ b/templates/lxc-alpine.in
> @@ -246,7 +246,7 @@ lxc.cgroup.devices.allow = c 254:0 rm
>  lxc.mount.entry=proc proc proc nodev,noexec,nosuid 0 0
>  lxc.mount.entry=run run tmpfs nodev,noexec,nosuid,relatime,size=1m,mode=0755 0 0
>  lxc.mount.entry=none dev/pts devpts gid=5,mode=620 0 0
> -lxc.mount.entry=shm dev/shm tmpfs nodev,nosuid,noexec 0 0
> +lxc.mount.entry=shm dev/shm tmpfs nodev,nosuid,noexec,mode=1777 0 0
>  
>  EOF
>  
> -- 
> 2.1.3
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20141127/031bdb5f/attachment.sig>


More information about the lxc-devel mailing list