[lxc-devel] [patch] fix improper null termination

2010-01-29 Thread Ryousei Takano
Hi Daniel, This patch correctly terminates the string returned by readlink(2) with a NULL charactor. Thanks, Ryousei --- src/lxc/start.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lxc/start.c b/src/lxc/start.c index 032fdf6..684a700 100644 --- a/src/lxc/star

[lxc-devel] Permission of /dev/null to 0600 when booting daemon mode without logging

2010-01-29 Thread Ryousei Takano
Hi daniel and all, I have ran the CentOS 5 container on the CentOS 5. When lxc-start executes with daemon mode and without logging, the permission of /dev/null on the host OS changes from 0666 to 0600. I guess it is because lxc uses bind mount due to remap from /dev/console to /dev/null with

[lxc-devel] [RFC] Unified message bus for containers

2010-01-29 Thread Andrian Nord
Problem: Currently there is at least two implementations of message passing between hostspace and containerspace - af_unix and abstract socket. First is used for commands and second - for state-reporting. This is too much, imo. Also, second type is not thread safe. Suggestion: As container starte