The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/3300

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Mount fs on /dev/shm and /dev/mqueue to experiment IPC in namespaces

Signed-off-by: Rachid Koucha <rachid.kou...@gmail.com>
From 1f76a6a77751adb6d56310abde8a260cc107d214 Mon Sep 17 00:00:00 2001
From: Rachid Koucha <47061324+rachid-kou...@users.noreply.github.com>
Date: Mon, 16 Mar 2020 21:19:15 +0100
Subject: [PATCH] Auto-create /dev/shm and /dev/mqueue

Mount fs on /dev/shm and /dev/mqueue to experiment IPC in namespaces

Signed-off-by: Rachid Koucha <rachid.kou...@gmail.com>
---
 templates/lxc-busybox.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
index b6fe8f1e17..c7ddc2d79a 100644
--- a/templates/lxc-busybox.in
+++ b/templates/lxc-busybox.in
@@ -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="\
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to