From 706a3a58bd2d75845d421077e54b9a3624cfd852 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Sun, 14 Aug 2011 16:19:54 +0200 Subject: [PATCH] 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)). --- var/lib/lxc/template/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2