From 93f28e2bcdf49f6309414e1167ea6f9e9d7ea8cc Mon Sep 17 00:00:00 2001 From: KATOH Yasufumi Date: Tue, 27 Jan 2015 18:48:14 +0900 Subject: [PATCH] lxc-plamo: Set lxc.autodev to 0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit At this time, a container that is created by lxc-plamo can't work with lxc.autodev=1 Signed-off-by: KATOH Yasufumi Acked-by: Stéphane Graber --- config/templates/plamo.common.conf.in | 3 +++ config/templates/plamo.userns.conf.in | 3 +++ 2 files changed, 6 insertions(+) diff --git a/config/templates/plamo.common.conf.in b/config/templates/plamo.common.conf.in index 22d92074b..9b0d02b3f 100644 --- a/config/templates/plamo.common.conf.in +++ b/config/templates/plamo.common.conf.in @@ -8,6 +8,9 @@ lxc.mount.entry = none dev/shm tmpfs nosuid,nodev,noexec,mode=1777 0 0 # Doesn't support consoles in /dev/lxc/ lxc.devttydir = +# /dev/* is created manually by template +lxc.autodev = 0 + # Extra cgroup device access ## rtc lxc.cgroup.devices.allow = c 254:0 rm diff --git a/config/templates/plamo.userns.conf.in b/config/templates/plamo.userns.conf.in index 707bb30c0..bf5093607 100644 --- a/config/templates/plamo.userns.conf.in +++ b/config/templates/plamo.userns.conf.in @@ -1,2 +1,5 @@ # This derives from the global userns config lxc.include = @LXCTEMPLATECONFIG@/userns.conf + +# /dev/* is created manually by template +lxc.autodev = 0 \ No newline at end of file