Skip to content

Commit

Permalink
lxc-alpine: allow /dev/full
Browse files Browse the repository at this point in the history
The template creates /dev/full for the container but needs also give
permission to access it.

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
  • Loading branch information
ncopa authored and hallyn committed Oct 22, 2013
1 parent 69733b5 commit 6bd3f98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/lxc-alpine.in
Expand Up @@ -197,9 +197,10 @@ lxc.cap.drop = sys_module mac_admin mac_override sys_time
# devices
lxc.cgroup.devices.deny = a
# /dev/null and zero
# /dev/null, zero and full
lxc.cgroup.devices.allow = c 1:3 rwm
lxc.cgroup.devices.allow = c 1:5 rwm
lxc.cgroup.devices.allow = c 1:7 rwm
# consoles
lxc.cgroup.devices.allow = c 5:1 rwm
lxc.cgroup.devices.allow = c 5:0 rwm
Expand Down

0 comments on commit 6bd3f98

Please sign in to comment.