From: Stéphane Graber Date: Fri, 19 Sep 2014 20:24:49 +0000 (-0400) Subject: Discontinue the use of in-line comments X-Git-Tag: lxc-1.1.0.alpha2~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de9a4bfc2c488aef0055a25af834be9b22738cf0;p=thirdparty%2Flxc.git Discontinue the use of in-line comments Those aren't supported, it's just a lucky coincidence that they weren't causing problems. Signed-off-by: Stéphane Graber Acked-by: Serge E. Hallyn --- diff --git a/config/templates/common.conf.in b/config/templates/common.conf.in index b15b5fa40..f01db082e 100644 --- a/config/templates/common.conf.in +++ b/config/templates/common.conf.in @@ -24,15 +24,24 @@ lxc.cgroup.devices.deny = a lxc.cgroup.devices.allow = c *:* m lxc.cgroup.devices.allow = b *:* m ## Allow specific devices -lxc.cgroup.devices.allow = c 1:3 rwm # /dev/null -lxc.cgroup.devices.allow = c 1:5 rwm # /dev/zero -lxc.cgroup.devices.allow = c 1:7 rwm # /dev/full -lxc.cgroup.devices.allow = c 5:0 rwm # /dev/tty -lxc.cgroup.devices.allow = c 5:1 rwm # /dev/console -lxc.cgroup.devices.allow = c 5:2 rwm # /dev/ptmx -lxc.cgroup.devices.allow = c 1:8 rwm # /dev/random -lxc.cgroup.devices.allow = c 1:9 rwm # /dev/urandom -lxc.cgroup.devices.allow = c 136:* rwm # /dev/pts/* +### /dev/null +lxc.cgroup.devices.allow = c 1:3 rwm +### /dev/zero +lxc.cgroup.devices.allow = c 1:5 rwm +### /dev/full +lxc.cgroup.devices.allow = c 1:7 rwm +### /dev/tty +lxc.cgroup.devices.allow = c 5:0 rwm +### /dev/console +lxc.cgroup.devices.allow = c 5:1 rwm +### /dev/ptmx +lxc.cgroup.devices.allow = c 5:2 rwm +### /dev/random +lxc.cgroup.devices.allow = c 1:8 rwm +### /dev/urandom +lxc.cgroup.devices.allow = c 1:9 rwm +### /dev/pts/* +lxc.cgroup.devices.allow = c 136:* rwm # Blacklist some syscalls which are not safe in privileged # containers