]> git.proxmox.com Git - mirror_lxc.git/commitdiff
lxc-fedora: remove 4:0 and 4:1 from devices whitelist
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 4 Oct 2013 15:53:21 +0000 (10:53 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 4 Oct 2013 15:53:21 +0000 (10:53 -0500)
They are the real /dev/tty{0,1}, which are physical consoles.  Lxc
bind-mounts over them.  Don't let the container use these!

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
templates/lxc-fedora.in

index d406012422dbc2e358e35e2fc2b4acd676a34181..484170c83b9bc5fd32633f346938dea77ff75114 100644 (file)
@@ -859,8 +859,6 @@ lxc.cgroup.devices.allow = c 1:5 rwm
 # consoles
 lxc.cgroup.devices.allow = c 5:1 rwm
 lxc.cgroup.devices.allow = c 5:0 rwm
-lxc.cgroup.devices.allow = c 4:0 rwm
-lxc.cgroup.devices.allow = c 4:1 rwm
 # /dev/{,u}random
 lxc.cgroup.devices.allow = c 1:9 rwm
 lxc.cgroup.devices.allow = c 1:8 rwm