summaryrefslogtreecommitdiffstats
path: root/main/lxc/0001-lxc-alpine-mount-tmpfs-on-dev-shm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/lxc/0001-lxc-alpine-mount-tmpfs-on-dev-shm.patch')
-rw-r--r--main/lxc/0001-lxc-alpine-mount-tmpfs-on-dev-shm.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/main/lxc/0001-lxc-alpine-mount-tmpfs-on-dev-shm.patch b/main/lxc/0001-lxc-alpine-mount-tmpfs-on-dev-shm.patch
new file mode 100644
index 000000000..bb52c4a3a
--- /dev/null
+++ b/main/lxc/0001-lxc-alpine-mount-tmpfs-on-dev-shm.patch
@@ -0,0 +1,28 @@
+From 8b591d7f16bf65eb712d71c3e103d7fbef338579 Mon Sep 17 00:00:00 2001
+From: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+Date: Mon, 27 Jan 2014 16:52:31 +0200
+Subject: [PATCH v2] lxc-alpine: mount tmpfs on /dev/shm
+
+Signed-off-by: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+---
+Changes since v1:
+ Added missing sign-off
+
+ templates/lxc-alpine.in | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in
+index 50a6a71..40957ab 100644
+--- a/templates/lxc-alpine.in
++++ b/templates/lxc-alpine.in
+@@ -227,6 +227,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
+
+ EOF
+
+--
+1.8.3.1
+