[lxc-devel] [GIT] lxc branch, master, updated. f2faa8fab9b15637582f7610e6b7b59261e58488
Daniel Lezcano
git at users.sourceforge.net
Thu Apr 29 08:23:42 UTC 2010
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 f2faa8fab9b15637582f7610e6b7b59261e58488 (commit)
via 4d2e2ec66c9fadd4aea0090475cbf87e1b42c1a0 (commit)
via 99a6af5202bdf8688ad0b5255cfa95addf3fc794 (commit)
via 7d1635085fc0157282039585805189cc657f8235 (commit)
via 3cfc0f3a6577266993cd37a097165df9488c7584 (commit)
via e4b3fe5833cf5e8cb85389ceed8a00254c87b01f (commit)
via b78b21258cc26682641bd72fd8fc10d1c6140e33 (commit)
via becc0400fc83516b05a8e76f2cdfbf452cc46c94 (commit)
via 94b81f611fde1efdda844171d7b0d1f2d8f86ce6 (commit)
via a941cc0bf6c215079f56d68930370dcd8c6002af (commit)
via d72d3d7b1685a68d0e72c648dff4ec3a3ed82082 (commit)
via b89885d89696cdb79495b12b97d80d02e1c3f3fc (commit)
via dcb7e5d5d25a3f2adbff8f40a1a87423307ce8fe (commit)
via 26b2d1526876e6155066fece0f1c703cbed322a1 (commit)
via 501cbc717f4a6d9cace36ea78c88d9f00e9b7fdb (commit)
via 883a816820b9384f475a8a82d10b07482d5cf340 (commit)
via affaa6da9dd10a99b9f60e24ceb3a216d56fcba1 (commit)
via 698287d8cfab848ed62020116488b737aef0876b (commit)
from 305bc646f5a579fb258a66dd34f4d9488d0d08fe (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 f2faa8fab9b15637582f7610e6b7b59261e58488
Author: Michel Normand <normand at fr.ibm.com>
Date: Thu Apr 29 10:03:59 2010 +0200
add fd to ignore to lxc_check_inherited function
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 4d2e2ec66c9fadd4aea0090475cbf87e1b42c1a0
Author: Michel Normand <normand at fr.ibm.com>
Date: Thu Apr 29 10:03:59 2010 +0200
lxc: move lxc_unlink_nsgroup out of lxc_fini
to be able to have lxc_fini symetric with lxc_init
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 99a6af5202bdf8688ad0b5255cfa95addf3fc794
Author: Michel Normand <normand at fr.ibm.com>
Date: Thu Apr 29 10:03:59 2010 +0200
lxc: child failing before container rename
do the same checking as already done in lxc/restart.c
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 7d1635085fc0157282039585805189cc657f8235
Author: Michel Normand <normand at fr.ibm.com>
Date: Thu Apr 29 10:03:59 2010 +0200
lxc: remove unused lxc_bridge_detach
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 3cfc0f3a6577266993cd37a097165df9488c7584
Author: Michel Normand <normand at fr.ibm.com>
Date: Thu Apr 29 10:03:59 2010 +0200
lxc: remove perror call in nl.c (V2)
There is only one such perror call, so remove it in nl.c
In this same patch, verify that all functions of nl.c and network.c
are reporting a -errno value in case of error;
value that is reported in lxc log by the callers in conf.c
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit e4b3fe5833cf5e8cb85389ceed8a00254c87b01f
Author: gkurz at linux.vnet.ibm.com <gkurz at linux.vnet.ibm.com>
Date: Thu Apr 29 10:03:59 2010 +0200
lxc: introduce lxc-kill command (v4)
lxc-kill send a signal to the process 1 of the container.
If this command is used on an application container ran by
lxc-execute, the lxc-init will receive the signal and will forward it to
the process 2 which is the command specified in the command line.
Signed-off-by: Greg Kurz <gkurz at fr.ibm.com>
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit b78b21258cc26682641bd72fd8fc10d1c6140e33
Author: Michel Normand <normand at fr.ibm.com>
Date: Thu Apr 29 10:03:59 2010 +0200
man update lxc.conf
reformating given examples
and add reference to examples directory.
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit becc0400fc83516b05a8e76f2cdfbf452cc46c94
Author: Michel Normand <normand at fr.ibm.com>
Date: Thu Apr 29 10:03:59 2010 +0200
man update lxc-create lxc-destroy
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 94b81f611fde1efdda844171d7b0d1f2d8f86ce6
Author: Michel Normand <normand at fr.ibm.com>
Date: Thu Apr 29 10:03:59 2010 +0200
man update lxc-execute and lxc-start (V2)
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit a941cc0bf6c215079f56d68930370dcd8c6002af
Author: Michel Normand <normand at fr.ibm.com>
Date: Thu Apr 29 10:03:59 2010 +0200
man update lxc
update lxc man page to better explain:
* the notions of persistent and volatil container.
* the difference between lxc-execute and lxc-start commands
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit d72d3d7b1685a68d0e72c648dff4ec3a3ed82082
Author: Michel Normand <normand at fr.ibm.com>
Date: Thu Apr 29 10:03:59 2010 +0200
lxc: add usage and help to lxc-netstat (V2)
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit b89885d89696cdb79495b12b97d80d02e1c3f3fc
Author: Michel Normand <normand at fr.ibm.com>
Date: Thu Apr 29 10:03:59 2010 +0200
lxc: lxc-unshare to remove its /cgroup/<pid> (V3)
this is required to avoid to fill /cgroup
with pid number each time lxc-unshare is called.
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit dcb7e5d5d25a3f2adbff8f40a1a87423307ce8fe
Author: Michel Normand <normand at fr.ibm.com>
Date: Thu Apr 29 10:03:59 2010 +0200
remove unused _config_console function
it's usage was removed by patch
28a4b0e55c659428bc8f495fde2e774fbd0fb03c
"open the console later"
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 26b2d1526876e6155066fece0f1c703cbed322a1
Author: Michel Normand <normand at fr.ibm.com>
Date: Thu Apr 29 10:03:59 2010 +0200
get_init_pid moved to lxc/commands.c
as will be used later on in other patches.
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 501cbc717f4a6d9cace36ea78c88d9f00e9b7fdb
Author: Michel Normand <normand at fr.ibm.com>
Date: Thu Apr 29 10:03:59 2010 +0200
report error if statefd parm is not a digit
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 883a816820b9384f475a8a82d10b07482d5cf340
Author: Michel Normand <normand at fr.ibm.com>
Date: Thu Apr 29 10:03:59 2010 +0200
add --statefd option to lxc-checkpoint/restart
This new option is to have user to pass a fd
in place of statefile name.
Simple usage with file open in bash:
===
$rm -f *.log; lxc-execute -n foo -- pi1 44444
$rm -rf /tmp/sf; lxc-checkpoint -n foo -k --statefd 3 3>/tmp/sf && lxc-restart -n bar --statefd 4 4</tmp/sf
===
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit affaa6da9dd10a99b9f60e24ceb3a216d56fcba1
Author: Michel Normand <NORMAND at fr.ibm.com>
Date: Thu Apr 29 10:03:58 2010 +0200
close fd 0 and 1 where not required
the fd 0,1 and 2 are still inherited
and we only need the fd 2 (stderr) after
the start/restart of the application.
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 698287d8cfab848ed62020116488b737aef0876b
Author: Michel Normand <normand at fr.ibm.com>
Date: Thu Apr 29 10:03:58 2010 +0200
avoid compile warning lxc_init.c
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 1 +
doc/Makefile.am | 1 +
doc/lxc-create.sgml.in | 10 +-
doc/lxc-destroy.sgml.in | 6 +-
doc/lxc-execute.sgml.in | 47 +++++--
doc/lxc-kill.sgml.in | 91 +++++++++++++
doc/lxc-start.sgml.in | 42 +++---
doc/lxc.conf.sgml.in | 257 ++++++++----------------------------
doc/lxc.sgml.in | 99 ++++++++------
doc/see_also.sgml.in | 5 +
src/lxc/Makefile.am | 4 +-
src/lxc/arguments.c | 20 +++
src/lxc/arguments.h | 6 +-
src/lxc/commands.c | 28 ++++
src/lxc/commands.h | 1 +
src/lxc/conf.c | 110 ++++++++++-----
src/lxc/confile.c | 15 --
src/lxc/lxc-netstat.in | 39 ++++--
src/lxc/lxc_attach.c | 28 ----
src/lxc/lxc_checkpoint.c | 41 +++++--
src/lxc/lxc_init.c | 39 ++++++
src/lxc/{lxc_info.c => lxc_kill.c} | 66 ++++++---
src/lxc/lxc_restart.c | 48 ++++++--
src/lxc/lxc_unshare.c | 15 ++-
src/lxc/network.c | 178 ++++++++++++-------------
src/lxc/network.h | 5 -
src/lxc/nl.c | 6 +-
src/lxc/start.c | 22 ++-
src/lxc/start.h | 2 +-
29 files changed, 705 insertions(+), 527 deletions(-)
create mode 100644 doc/lxc-kill.sgml.in
copy src/lxc/{lxc_info.c => lxc_kill.c} (53%)
hooks/post-receive
--
lxc
More information about the lxc-devel
mailing list