aboutsummaryrefslogtreecommitdiffstats
path: root/main/lxc/0001-lxc-alpine-mount-tmpfs-on-dev-shm.patch
blob: 3908004bc0e2ec1ecb1672ace2cd01b1813aa10d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 1bdedfacc260545b77e2da557850ba420a0fb12c Mon Sep 17 00:00:00 2001
From: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
Date: Tue, 28 Jan 2014 19:03:27 +0200
Subject: [PATCH] lxc-alpine: mount tmpfs on /dev/shm
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
---
 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.9.0