]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-alpine: create /dev/shm before mounting
authorNatanael Copa <ncopa@alpinelinux.org>
Fri, 24 Apr 2015 08:26:40 +0000 (10:26 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 28 Aug 2015 22:02:16 +0000 (18:02 -0400)
This is needed for lxc.autodev=1 to work.

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
templates/lxc-alpine.in

index 6d06e531991284763e16f7221ad09f4e702c70f5..16cadb7c9748cebc9fccaab3573d573e9b23b594 100644 (file)
@@ -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