From 7ed54c6155982bd8376fdb88bed79c664d5e111f Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Thu, 12 Mar 2015 20:52:11 +0000 Subject: [PATCH] templates: gentoo.common: Add /dev/shm tmpfs mount entry /dev/shm needs to be mounted as tmpfs. It's needed by python and possibly other packages. Signed-off-by: Markos Chandras --- config/templates/gentoo.common.conf.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/templates/gentoo.common.conf.in b/config/templates/gentoo.common.conf.in index ca3ffc160..49cd411b6 100644 --- a/config/templates/gentoo.common.conf.in +++ b/config/templates/gentoo.common.conf.in @@ -21,3 +21,7 @@ lxc.cgroup.devices.allow = c 10:232 rwm ## To use loop devices, copy the following line to the container's ## configuration file (uncommented). #lxc.cgroup.devices.allow = b 7:* rwm + +# /dev/shm needs to be mounted as tmpfs. It's needed by python (bug #496328) +# and possibly other packages. +lxc.mount.entry = none dev/shm tmpfs rw,nosuid,nodev,create=dir -- 2.47.2