Commit bc19636d by Dennis Schridde

Fix creation of dev/mqueue and dev/shm on Gentoo

The dev/mqueue and dev/shm directories do not exist when using lxc.autodev, thus they have to be created upon mount. Signed-off-by: 's avatarDennis Schridde <devurandom@gmx.net>
parent 963abb46
...@@ -8,8 +8,8 @@ lxc.include = @LXCTEMPLATECONFIG@/common.conf ...@@ -8,8 +8,8 @@ lxc.include = @LXCTEMPLATECONFIG@/common.conf
# Container user ? see gentoo.common.conf # Container user ? see gentoo.common.conf
# do not mount sysfs, see http://blog.bofh.it/debian/id_413 # do not mount sysfs, see http://blog.bofh.it/debian/id_413
lxc.mount.entry=mqueue dev/mqueue mqueue rw,nodev,noexec,nosuid 0 0 lxc.mount.entry=mqueue dev/mqueue mqueue rw,nodev,noexec,nosuid,create=dir 0 0
lxc.mount.entry=shm dev/shm tmpfs rw,nosuid,nodev,noexec,relatime 0 0 lxc.mount.entry=shm dev/shm tmpfs rw,nosuid,nodev,noexec,relatime,create=dir 0 0
lxc.mount.entry=run run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0 lxc.mount.entry=run run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0
# this part is based on 'linux capabilities', see: man 7 capabilities # this part is based on 'linux capabilities', see: man 7 capabilities
......
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