This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "lxc".
The branch, master has been updated via c08556c6ece8ad8308f7636adb0ad25b60e3a16d (commit) via 1560f6c9a7c822fd625914eefa0b985f67d76a0a (commit) via e0dc0de76ed1ad9e284a37bd01268227d4eae8c9 (commit) via 63376d7db32acf2f8582627e5ff01d8d3f0d46d1 (commit) via 246541036cf5434749d91a566b70b7ddcdb294bd (commit) via 872e18998b723779e1e1b36130bc28e438bd9d1e (commit) via 7ee5bb5583abe0821780c2056c0dfff3444a4fdc (commit) via 6dae68151518a26f87169cf0d3bb2fd39624b75c (commit) via 236087a6c8791f1ade2f80e8ed89712eee161d3f (commit) via 90b59fd059e0c08a5ad3c598fdf6e8758ab10582 (commit) via ef184f8c54534c38ac52dd84f46af0e624aa12f0 (commit) from 9eb09f87215e8df035df975635f8a68b3201a5b1 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit c08556c6ece8ad8308f7636adb0ad25b60e3a16d Author: Daniel Lezcano <daniel.lezc...@free.fr> Date: Wed Feb 24 10:57:43 2010 +0100 use lazy umount when umount returns EBUSY When the umount fails, we force the umount and make the mount point unaccessible by using a lazy umount. Signed-off-by: Daniel Lezcano <dlezc...@fr.ibm.com> commit 1560f6c9a7c822fd625914eefa0b985f67d76a0a Author: Daniel Lezcano <dlezc...@fr.ibm.com> Date: Wed Feb 24 10:57:43 2010 +0100 fix no rootfs no console When there is no rootfs, don't create a console. Signed-off-by: Daniel Lezcano <dlezc...@fr.ibm.com> commit e0dc0de76ed1ad9e284a37bd01268227d4eae8c9 Author: Daniel Lezcano <daniel.lezc...@free.fr> Date: Wed Feb 24 10:57:43 2010 +0100 set terminal settings when console is a tty As the console output can be a tty, we want to have the terminal to be set as a specific manner to not echo and receive signals from the keyboard. Signed-off-by: Daniel Lezcano <dlezc...@fr.ibm.com> commit 63376d7db32acf2f8582627e5ff01d8d3f0d46d1 Author: Daniel Lezcano <dlezc...@fr.ibm.com> Date: Wed Feb 24 10:57:43 2010 +0100 allocate a console to be proxied The actual behaviour of the console is messy as: * it relies on a heuristic (tty or not, rootfs or not, etc ...) * the container init stole the tty and we lose the control The following patch: * allocates a tty * maps this tty to the container console * proxy the io from the console to the file specified in the configuration lxc.console=<file> That allows to specify a file, a fifo, a $(tty), and can be extended with an uri like file://mypath, net://1.2.3.4:1234, etc ... That solves the problem with the heuristic and the container does no longer stole our current tty. Note by default, the console output will go to a blackhole if no configuration is specified making the container showing nothing. In order to access the console from the tty, use lxc-start -n foo -s lxc.console=$(tty) I propose the make the container to daemonize by default now. I tried the following: in a shell: touch /var/lib/lxc/foo/console tail --retry -f /var/lib/lxc/foo/console in another shell: lxc-start -n foo -s lxc.console=/var/lib/lxc/foo/console Signed-off-by: Daniel Lezcano <dlezc...@fr.ibm.com> commit 246541036cf5434749d91a566b70b7ddcdb294bd Author: Daniel Lezcano <daniel.lezc...@free.fr> Date: Wed Feb 24 10:57:43 2010 +0100 rename network type enum Use a prefixed enum to avoid conflict later. Signed-off-by: Daniel Lezcano <dlezc...@fr.ibm.com> commit 872e18998b723779e1e1b36130bc28e438bd9d1e Author: Daniel Lezcano <daniel.lezc...@free.fr> Date: Wed Feb 24 10:57:43 2010 +0100 Fix header inclusion No need to include the lxc_conf structure definition, a forward declaration is enough. Signed-off-by: Daniel Lezcano <dlezc...@fr.ibm.com> commit 7ee5bb5583abe0821780c2056c0dfff3444a4fdc Author: Daniel Lezcano <daniel.lezc...@free.fr> Date: Wed Feb 24 10:57:42 2010 +0100 use a mainloop for the console Use the mainloop to manage io of the console. Signed-off-by: Daniel Lezcano <dlezc...@fr.ibm.com> commit 6dae68151518a26f87169cf0d3bb2fd39624b75c Author: Daniel Lezcano <daniel.lezc...@free.fr> Date: Wed Feb 24 10:57:42 2010 +0100 factor-out-console code Factor out the console code and encapsulate the code in functions. Signed-off-by: Daniel Lezcano <dlezc...@fr.ibm.com> commit 236087a6c8791f1ade2f80e8ed89712eee161d3f Author: Daniel Lezcano <daniel.lezc...@free.fr> Date: Wed Feb 24 10:57:42 2010 +0100 fix empty network namespace When there is an empty network namespace, we must not move the network device. Signed-off-by: Daniel Lezcano <dlezc...@fr.ibm.com> commit 90b59fd059e0c08a5ad3c598fdf6e8758ab10582 Author: Daniel Lezcano <daniel.lezc...@free.fr> Date: Wed Feb 24 10:57:42 2010 +0100 fix compilation warning Add missing include Signed-off-by: Daniel Lezcano <dlezc...@fr.ibm.com> commit ef184f8c54534c38ac52dd84f46af0e624aa12f0 Author: Daniel Lezcano <daniel.lezc...@free.fr> Date: Wed Feb 24 10:57:42 2010 +0100 fix cpuset configuration with smp only Do not check CPUSET configuration when SMP is not enabled. Signed-off-by: Daniel Lezcano <dlezc...@fr.ibm.com> ----------------------------------------------------------------------- Summary of changes: src/lxc/conf.c | 115 ++++++++++++-------- src/lxc/conf.h | 43 ++++++-- src/lxc/confile.c | 30 +++++- src/lxc/console.c | 129 ++++++++++++++++++++++- src/lxc/{restart.c => console.h} | 12 +-- src/lxc/lxc-checkconfig.in | 14 ++- src/lxc/lxc_console.c | 218 ++++++++++++++++++++++---------------- src/lxc/lxc_start.c | 45 +-------- src/lxc/start.c | 79 ++++---------- src/lxc/start.h | 6 +- src/lxc/state.c | 2 +- 11 files changed, 420 insertions(+), 273 deletions(-) copy src/lxc/{restart.c => console.h} (82%) hooks/post-receive -- lxc ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel