]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
config: remove /dev/console bind mount
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 8 May 2017 22:39:28 +0000 (00:39 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 9 May 2017 21:24:29 +0000 (23:24 +0200)
The code in conf will bind-mount a /dev/pts/<n> 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 <christian.brauner@ubuntu.com>
config/templates/userns.conf.in

index 5dc19c72c6e7eb378890ae865abce854ceb2a206..78383ebfc8bcb8e1c62c14a625e291842e9d7f1b 100644 (file)
@@ -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