From: Christian Brauner Date: Mon, 8 May 2017 22:39:28 +0000 (+0200) Subject: config: remove /dev/console bind mount X-Git-Tag: lxc-2.1.0~139^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c056d383699202b560100f127f9e136e256e4a9;p=thirdparty%2Flxc.git config: remove /dev/console bind mount The code in conf will bind-mount a /dev/pts/ device over a dummy regular /dev/console file. If users really want /dev/console bind-mount from the host they can request it explicitly in the containers config file. This change will have no effect on current LX{C,D} behavior since we (as said above) overmount the /dev/console bind-mount anyway. Signed-off-by: Christian Brauner --- diff --git a/config/templates/userns.conf.in b/config/templates/userns.conf.in index 5dc19c72c..78383ebfc 100644 --- a/config/templates/userns.conf.in +++ b/config/templates/userns.conf.in @@ -6,7 +6,6 @@ lxc.cgroup.devices.allow = lxc.devttydir = # Extra bind-mounts for userns -lxc.mount.entry = /dev/console dev/console none bind,create=file 0 0 lxc.mount.entry = /dev/full dev/full none bind,create=file 0 0 lxc.mount.entry = /dev/null dev/null none bind,create=file 0 0 lxc.mount.entry = /dev/random dev/random none bind,create=file 0 0