]> git.pld-linux.org Git - packages/lxc.git/commitdiff
Allow to mknod all devices (but no access to use them)
authorElan Ruusamäe <glen@delfi.ee>
Mon, 18 Nov 2013 22:53:34 +0000 (00:53 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 18 Nov 2013 22:53:34 +0000 (00:53 +0200)
lxc-pld.in.sh

index 0d985a8dc88e6c33ef139c51c10a4de2dd2a90b3..30236c11bd79b5003104c0066b22f76c7d5a0a2c 100755 (executable)
@@ -237,8 +237,15 @@ lxc.autodev = $auto_dev
 # When using LXC with apparmor, uncomment the next line to run unconfined:
 #lxc.aa_profile = unconfined
 
-#cgroups
+## Devices
+# Allow all devices
+#lxc.cgroup.devices.allow = a
+# Deny all devices
 lxc.cgroup.devices.deny = a
+# Allow to mknod all devices (but not using them)
+lxc.cgroup.devices.allow = c *:* m
+lxc.cgroup.devices.allow = b *:* m
+
 # /dev/null and zero
 lxc.cgroup.devices.allow = c 1:3 rwm
 lxc.cgroup.devices.allow = c 1:5 rwm
This page took 0.151576 seconds and 4 git commands to generate.