Commit da2cac40 by Markos Chandras Committed by Stéphane Graber

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: 's avatarMarkos Chandras <hwoarang@gentoo.org>
parent 7342f2ff
...@@ -56,3 +56,7 @@ lxc.cgroup.devices.allow = c 10:232 rwm ...@@ -56,3 +56,7 @@ lxc.cgroup.devices.allow = c 10:232 rwm
# Blacklist some syscalls which are not safe in privileged # Blacklist some syscalls which are not safe in privileged
# containers # containers
lxc.seccomp = @LXCTEMPLATECONFIG@/common.seccomp 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment