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 305bc646f5a579fb258a66dd34f4d9488d0d08fe (commit)
via 2b30b861579107f638d0c5b6ce22dbedf99fa4b7 (commit)
via 7adff31cbb521d52c31a3e6e2447db8bcd8e3784 (commit)
via 91480a0f0a62732f3115d556b689d62d574294ae (commit)
via 563f2f2ccd2891661836c96f92f047a735355c1b (commit)
via 3bdf52d753ecf347b3b5cbff97675032f2de3e5e (commit)
via e0f888d910c2680acf6267391f88ab75ef66771f (commit)
from f78a1f32f41f6acbbf0b78e6498736dbd22e2301 (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 305bc646f5a579fb258a66dd34f4d9488d0d08fe
Author: Daniel Lezcano <[email protected]>
Date: Thu Apr 8 09:44:23 2010 +0200
Fail gracefully with attach
Fail when we try to attach to an non existing container
Signed-off-by: Daniel Lezcano <[email protected]>
commit 2b30b861579107f638d0c5b6ce22dbedf99fa4b7
Author: Daniel Lezcano <[email protected]>
Date: Thu Apr 8 09:44:23 2010 +0200
change to the same directory when attaching
This patch will try to change the default "/" directory to the
directory we were before attaching. In order to work correctly,
the path has to exist in the container, that makes sense with a
shared file system without rootfs.
Signed-off-by: Daniel Lezcano <[email protected]>
commit 7adff31cbb521d52c31a3e6e2447db8bcd8e3784
Author: Daniel Lezcano <[email protected]>
Date: Thu Apr 8 09:44:23 2010 +0200
fork/exec after attach
The command to attach has to be fork/exec.
Signed-off-by: Daniel Lezcano <[email protected]>
commit 91480a0f0a62732f3115d556b689d62d574294ae
Author: Daniel Lezcano <[email protected]>
Date: Thu Apr 8 09:44:23 2010 +0200
restart the container at reboot
When the reboot is detected, reboot the container.
That needs to set all file descriptor opened by lxc-start
to be flagged with the close-on-exec flag, otherwise when
re-execing ourself, we inherit our own fd.
Signed-off-by: Daniel Lezcano <[email protected]>
commit 563f2f2ccd2891661836c96f92f047a735355c1b
Author: Daniel Lezcano <[email protected]>
Date: Thu Apr 8 09:44:23 2010 +0200
shutdown the container when powering off the container
This patch allows to shutdown the container when the system
is powered off in the container.
Signed-off-by: Daniel Lezcano <[email protected]>
commit 3bdf52d753ecf347b3b5cbff97675032f2de3e5e
Author: Daniel Lezcano <[email protected]>
Date: Thu Apr 8 09:44:23 2010 +0200
Store the container name in the handler
Store the container in the handler, so it is accessible
everywhere.
Signed-off-by: Daniel Lezcano <[email protected]>
commit e0f888d910c2680acf6267391f88ab75ef66771f
Author: Daniel Lezcano <[email protected]>
Date: Thu Apr 8 09:44:23 2010 +0200
count the number of tasks in the container
This patch adds a function to count the number of tasks in the
container. The result is not reliable as it may change with a fork
or an exit, but in some cases, for example, there is only one task, or
the container is frozen, the result is accurate.
Signed-off-by: Daniel Lezcano <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
src/lxc/Makefile.am | 6 +-
src/lxc/cgroup.c | 27 +++++++
src/lxc/cgroup.h | 2 +-
src/lxc/commands.c | 7 ++
src/lxc/conf.c | 6 --
src/lxc/conf.h | 1 +
src/lxc/confile.c | 30 ++++++--
src/lxc/lxc.h | 3 +-
src/lxc/lxc_attach.c | 78 ++++++++++++++++-----
src/lxc/lxc_start.c | 19 ++++--
src/lxc/mainloop.c | 6 ++
src/lxc/start.c | 26 ++++++-
src/lxc/start.h | 1 +
src/lxc/utmp.c | 157 +++++++++++++++++++++++++++++++++++++++++
src/lxc/{version.c => utmp.h} | 9 +--
15 files changed, 331 insertions(+), 47 deletions(-)
create mode 100644 src/lxc/utmp.c
copy src/lxc/{version.c => utmp.h} (86%)
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-devel