projects
/
matthijs
/
servers
/
tika.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20230ac
)
lxc: Limit the template container to 256 pts nodes.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Sun, 14 Aug 2011 14:19:54 +0000
(16:19 +0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Sun, 14 Aug 2011 14:27:51 +0000
(16:27 +0200)
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
patch
|
blob
|
history
diff --git
a/var/lib/lxc/template/config
b/var/lib/lxc/template/config
index 829bde5dbd871e97a8b6d167e7c5152bd9a8cdfe..fb76f4930bf6faf6408ca071f40f4020fcf8b871 100644
(file)
--- 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