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-1.0.8~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da2cac4003d2049492a8cf0970ca59f0c710b0a9;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 f29db504c..8bf2f8b07 100644 --- a/config/templates/gentoo.common.conf.in +++ b/config/templates/gentoo.common.conf.in @@ -56,3 +56,7 @@ lxc.cgroup.devices.allow = c 10:232 rwm # Blacklist some syscalls which are not safe in privileged # containers lxc.seccomp = @LXCTEMPLATECONFIG@/common.seccomp + +# /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