The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/1226

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===

From 48938fe71da106587f94654246ea13d284c50291 Mon Sep 17 00:00:00 2001
From: Jakub Jirutka <ja...@jirutka.cz>
Date: Wed, 12 Oct 2016 13:32:18 +0200
Subject: [PATCH] lxc-alpine: mount /dev/shm as tmpfs

Signed-off-by: Jakub Jirutka <ja...@jirutka.cz>
---
 config/templates/alpine.common.conf.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/config/templates/alpine.common.conf.in 
b/config/templates/alpine.common.conf.in
index 55ea3d2..1be61f7 100644
--- a/config/templates/alpine.common.conf.in
+++ b/config/templates/alpine.common.conf.in
@@ -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
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to