]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-alpine: mount /dev/shm as tmpfs 1226/head
authorJakub Jirutka <jakub@jirutka.cz>
Wed, 12 Oct 2016 11:32:18 +0000 (13:32 +0200)
committerJakub Jirutka <jakub@jirutka.cz>
Wed, 12 Oct 2016 11:33:27 +0000 (13:33 +0200)
Signed-off-by: Jakub Jirutka <jakub@jirutka.cz>
config/templates/alpine.common.conf.in

index 55ea3d20aeaeecad42b2a88b3b7997b0ae98f3cd..1be61f74a1f6681e0fd3d1d132718f02ec3f7e6e 100644 (file)
@@ -19,5 +19,8 @@ lxc.cap.drop = sys_tty_config
 lxc.cap.drop = syslog
 lxc.cap.drop = wake_alarm
 
-# Mount tmpfs under /run.
+# Mount /run as tmpfs.
 lxc.mount.entry=run run tmpfs rw,nodev,relatime,mode=755 0 0
+
+# Mount /dev/shm as tmpfs; needed for building python and possibly other packages.
+lxc.mount.entry=shm dev/shm tmpfs rw,nodev,noexec,nosuid,relatime,mode=1777,create=dir 0 0