From: Natanael Copa Date: Fri, 24 Apr 2015 08:26:40 +0000 (+0200) Subject: lxc-alpine: create /dev/shm before mounting X-Git-Tag: lxc-1.0.8~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09a0913ff5165a2eed01f59b8918396cac44df55;p=thirdparty%2Flxc.git lxc-alpine: create /dev/shm before mounting This is needed for lxc.autodev=1 to work. Signed-off-by: Natanael Copa Acked-by: Serge E. Hallyn --- diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in index 6d06e5319..16cadb7c9 100644 --- a/templates/lxc-alpine.in +++ b/templates/lxc-alpine.in @@ -252,7 +252,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,mode=1777 0 0 +lxc.mount.entry=shm dev/shm tmpfs nodev,nosuid,noexec,mode=1777,create=dir 0 0 EOF