]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Auto-create /dev/shm and /dev/mqueue 3300/head
authorRachid Koucha <47061324+Rachid-Koucha@users.noreply.github.com>
Mon, 16 Mar 2020 20:19:15 +0000 (21:19 +0100)
committerGitHub <noreply@github.com>
Mon, 16 Mar 2020 20:19:15 +0000 (21:19 +0100)
Mount fs on /dev/shm and /dev/mqueue to experiment IPC in namespaces

Signed-off-by: Rachid Koucha <rachid.koucha@gmail.com>
templates/lxc-busybox.in

index b6fe8f1e17ecc303e87f5628c47cc118c3b6591b..c7ddc2d79a6f403f6fd50f981e0be7d8d562f361 100644 (file)
@@ -76,7 +76,6 @@ ${rootfs}/tmp \
 ${rootfs}/var/log \
 ${rootfs}/var/run \
 ${rootfs}/dev/pts \
-${rootfs}/dev/shm \
 ${rootfs}/lib \
 ${rootfs}/usr/lib \
 ${rootfs}/lib64 \
@@ -237,6 +236,7 @@ lxc.cap.drop = sys_module mac_admin mac_override sys_time
 
 lxc.mount.auto = cgroup:mixed proc:mixed sys:mixed
 lxc.mount.entry = shm dev/shm tmpfs defaults,create=dir 0 0
+lxc.mount.entry = mqueue dev/mqueue mqueue defaults,create=dir 0 0
 EOF
 
   libdirs="\