Skip to content

Commit

Permalink
config: allow read-write /sys in user namespace
Browse files Browse the repository at this point in the history
Unprivileged containers can safely mount /sys as read-write. This also allows
systemd-udevd to be started in unprivileged containers.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed May 15, 2018
1 parent 9ab207c commit c6df6dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/templates/userns.conf.in
Expand Up @@ -8,3 +8,6 @@ lxc.cap.keep =

# We can't move bind-mounts, so don't use /dev/lxc/
lxc.tty.dir =

# Setup the default mounts
lxc.mount.auto = sys:rw

0 comments on commit c6df6dd

Please sign in to comment.