From: Matthijs Kooijman Date: Sun, 14 Aug 2011 14:19:54 +0000 (+0200) Subject: lxc: Limit the template container to 256 pts nodes. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=706a3a58bd2d75845d421077e54b9a3624cfd852;p=matthijs%2Fservers%2Ftika.git lxc: Limit the template container to 256 pts nodes. The default device configuration only allows access to /dev/pts/* nodes up to 255, so let's keep the pts limit in sync with that (but note that this limit does not seem to be implemented currently, according to lxc.conf(5)). --- diff --git a/var/lib/lxc/template/config b/var/lib/lxc/template/config index 829bde5..fb76f49 100644 --- a/var/lib/lxc/template/config +++ b/var/lib/lxc/template/config @@ -1,5 +1,5 @@ lxc.tty = 4 -lxc.pts = 1024 +lxc.pts = 256 lxc.rootfs = /var/lib/lxc/template/rootfs # Deny all devices, except the following