From: Stéphane Graber Date: Wed, 15 Jan 2014 18:25:48 +0000 (-0500) Subject: oracle: Fix running template unprivileged X-Git-Tag: lxc-1.0.0.beta2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ce2946360098f936d525ceabd8cb7c60207c005;p=thirdparty%2Flxc.git oracle: Fix running template unprivileged Without this /dev/console won't exist and upstart will fail to start any job marking as "console output" including the rather important rcS. Signed-off-by: Stéphane Graber Acked-by: Serge E. Hallyn --- diff --git a/config/templates/oracle.userns.conf.in b/config/templates/oracle.userns.conf.in index dec2ae87e..892fa1eb6 100644 --- a/config/templates/oracle.userns.conf.in +++ b/config/templates/oracle.userns.conf.in @@ -6,6 +6,7 @@ lxc.cgroup.devices.allow = lxc.devttydir = # Extra bind-mounts for userns +lxc.mount.entry = /dev/console dev/console none bind,create=file 0 0 lxc.mount.entry = /dev/null dev/null none bind,create=file 0 0 lxc.mount.entry = /dev/zero dev/zero none bind,create=file 0 0 lxc.mount.entry = /dev/full dev/full none bind,create=file 0 0