[lxc-devel] [lxc/master] Deactivate autodev in busybox template
Rachid-Koucha on Github
lxc-bot at linuxcontainers.org
Mon Mar 16 18:06:06 UTC 2020
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 433 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200316/b1ccc1d3/attachment.bin>
-------------- next part --------------
From 3d15a897015a9deb595e0be71960b6802903cf49 Mon Sep 17 00:00:00 2001
From: Rachid Koucha <47061324+Rachid-Koucha at users.noreply.github.com>
Date: Mon, 16 Mar 2020 19:05:45 +0100
Subject: [PATCH] Deactivate autodev in busybox template
Add lxc.autodev = 0 to use the dev directory built by the busybox template
Signed-off-by: Rachid Koucha <rachid.koucha at gmail.com>
---
templates/lxc-busybox.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in
index 27d19c2b34..5bfbd26b2a 100644
--- a/templates/lxc-busybox.in
+++ b/templates/lxc-busybox.in
@@ -235,6 +235,7 @@ lxc.cap.drop = sys_module mac_admin mac_override sys_time
# When using LXC with apparmor, uncomment the next line to run unconfined:
#lxc.apparmor.profile = unconfined
+lxc.autodev = 0
lxc.mount.auto = cgroup:mixed proc:mixed sys:mixed
lxc.mount.entry = shm /dev/shm tmpfs defaults 0 0
EOF
More information about the lxc-devel
mailing list