Skip to content

Commit

Permalink
config: remove /dev/console bind mount
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christian Brauner committed May 9, 2017
1 parent 2a12fef commit 2c056d3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion config/templates/userns.conf.in
Expand Up @@ -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
Expand Down

0 comments on commit 2c056d3

Please sign in to comment.