mirror of
git://github.com/lxc/lxc
synced 2025-08-31 21:15:17 +00:00
config: remove /dev/console bind mount
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>
This commit is contained 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
|
||||
|
Reference in New Issue
Block a user