From: Markos Chandras Date: Thu, 12 Mar 2015 20:52:11 +0000 (+0000) Subject: templates: gentoo.common: Add /dev/shm tmpfs mount entry X-Git-Tag: lxc-2.0.0.beta1~342^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F468%2Fhead;p=thirdparty%2Flxc.git 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 --- 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