From: Daniel Lezcano Date: Tue, 22 Jun 2010 22:44:13 +0000 (+0200) Subject: fix /proc not mounted in debian container X-Git-Tag: lxc-0.7.1~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7dff83460f259c934da8eb2aef0eac5b437b808;p=thirdparty%2Flxc.git fix /proc not mounted in debian container Mount some systemm fs for the container. By default, /proc is no longer mounted in debian. Signed-off-by: Daniel Lezcano --- diff --git a/templates/lxc-debian.in b/templates/lxc-debian.in index e3c888366..a33f5f813 100644 --- a/templates/lxc-debian.in +++ b/templates/lxc-debian.in @@ -203,6 +203,11 @@ lxc.cgroup.devices.allow = c 136:* rwm lxc.cgroup.devices.allow = c 5:2 rwm # rtc lxc.cgroup.devices.allow = c 254:0 rwm + +# mounts point +lxc.mount.entry=proc $rootfs/proc proc nodev,noexec,nosuid 0 0 +lxc.mount.entry=devpts $rootfs/dev/pts devpts defaults 0 0 +lxc.mount.entry=sysfs $rootfs/sys sysfs defaults 0 0 EOF if [ $? -ne 0 ]; then