Commit fe5c5ea6 by Serge Hallyn

lxc-fedora: remove 4:0 and 4:1 from devices whitelist

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: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
parent f3e52710
...@@ -859,8 +859,6 @@ lxc.cgroup.devices.allow = c 1:5 rwm ...@@ -859,8 +859,6 @@ lxc.cgroup.devices.allow = c 1:5 rwm
# consoles # consoles
lxc.cgroup.devices.allow = c 5:1 rwm lxc.cgroup.devices.allow = c 5:1 rwm
lxc.cgroup.devices.allow = c 5:0 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 # /dev/{,u}random
lxc.cgroup.devices.allow = c 1:9 rwm lxc.cgroup.devices.allow = c 1:9 rwm
lxc.cgroup.devices.allow = c 1:8 rwm lxc.cgroup.devices.allow = c 1:8 rwm
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment