[lxc-devel] [GIT] lxc branch, master, updated. 7cee8789514fb42d6a48d50b904e24284f5526e3
Daniel Lezcano
git at users.sourceforge.net
Mon May 18 20:32:38 UTC 2009
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 7cee8789514fb42d6a48d50b904e24284f5526e3 (commit)
via 95b5ffafae852dd4fa2c8a17ac4791fb13fcd048 (commit)
via 75b1e1981dd936d8a1e5549d168cde5075177646 (commit)
via 272bc5af96da4c4768083500ac9b15826ac55166 (commit)
via 2ea004b8c6dec1bcacb0fd07b382dde806be70fd (commit)
via a30284df84bd32db0eedafdaff44203ab317e176 (commit)
via c8f55b0eff9386b52c21830c59c728d144dbb660 (commit)
via f4072342e0b6f1d9ce40fa8e6ecaad60be9ddd78 (commit)
via 79507e493e7a6d2c2d80b34b90b03d00edcc4f1c (commit)
via 7f8306138afadb81b6794815637a6851f44519a8 (commit)
via 23075e69dc219c2a955a2c30c8600aacd0b68651 (commit)
via b0ed5e6423ca1f0b74f8c0ad12901c845e3ffbd1 (commit)
via 8559e7039c60be8a91a372541ed4ca30ca398530 (commit)
via e043236e2a35948aeeb3cf85feab7c2f1e2b1fd1 (commit)
via 41cfbac9dd3e449dfda6fd908f8e13cc4ec40990 (commit)
via 4237c6ca1f44de0345fbd63acc762401aaf49c68 (commit)
via 9618063c87c64f9d8b154ef539c644c7ec382339 (commit)
via cda02a28c0f41feb359ebbddd68ed5f1dcd4930e (commit)
via 441e49639508dce2a3fd94dabe5f40fead110ebf (commit)
via fcffb59fc8d806252ccbf188c3dbd08cc1a68172 (commit)
via 4c200d12e0ef2236cd1f99831a04713faa951a75 (commit)
via 305dbab7e69c94f9abe2f343f9398b48c7c900d8 (commit)
from d737c0749582e05e29a6da8c177cc21515ddb50e (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 7cee8789514fb42d6a48d50b904e24284f5526e3
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon May 18 22:30:39 2009 +0200
remove lxc_error_t enum that is now useless
There is no more need of the LXC_ERROR defines
and related lxc_strerror function.
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 95b5ffafae852dd4fa2c8a17ac4791fb13fcd048
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon May 18 22:30:39 2009 +0200
remove LXC_ERROR_* usage in src/lxc/conf.c as not required
This is useless because error is already reported by the functions
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 75b1e1981dd936d8a1e5549d168cde5075177646
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon May 18 22:27:36 2009 +0200
lxc-monitor and lxc-wait to return 255 in case of error
to have same exit code for all lxc commands
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 272bc5af96da4c4768083500ac9b15826ac55166
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon May 18 22:27:36 2009 +0200
lxc-cgroup to return 255 in case of error
to have same exit code for all lxc commands
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 2ea004b8c6dec1bcacb0fd07b382dde806be70fd
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon May 18 22:27:36 2009 +0200
lxc-console to return 255 in case of error
to have same exit code for all lxc commands
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit a30284df84bd32db0eedafdaff44203ab317e176
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon May 18 22:27:36 2009 +0200
lxc-checkpoint ad lxc-restart to return 255 in case of error
to have same exit code for all lxc commands
Note that the lxc-restart is not yet reporting
the error of restarted application as done with lxc-start.
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit c8f55b0eff9386b52c21830c59c728d144dbb660
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon May 18 22:27:36 2009 +0200
lxc-freeze and lxc-unfreeze to return 255 in case of error
to have same exit code for all lxc commands
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit f4072342e0b6f1d9ce40fa8e6ecaad60be9ddd78
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon May 18 22:27:35 2009 +0200
correct error reporting for lxc_setstate
there was a missing init of local variable
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
Signed-off-by: Michel Normand <normand at fr.ibm.com>
commit 79507e493e7a6d2c2d80b34b90b03d00edcc4f1c
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon May 18 22:27:35 2009 +0200
lxc-destroy return 255 in case of error
to have same exit code for all lxc commands
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 7f8306138afadb81b6794815637a6851f44519a8
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon May 18 22:27:35 2009 +0200
lxc-create to return 255 in case of error
to have same exit code for all lxc commands
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 23075e69dc219c2a955a2c30c8600aacd0b68651
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon May 18 22:27:35 2009 +0200
lxc-stop to return 255 in case of error
to have same exit code for all lxc commands
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit b0ed5e6423ca1f0b74f8c0ad12901c845e3ffbd1
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon May 18 22:27:35 2009 +0200
lxc-execute to report exit code of started application
The exit code of the application as reported by lxc-execute is:
0-126 exit code of the application itself
128+n signal n received by the application
255 lxc error
Note that this is the same type of changes as done
for lxc-start command line.
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 8559e7039c60be8a91a372541ed4ca30ca398530
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon May 18 22:27:35 2009 +0200
add support of lxc log file to lxc-init
pass to lxc-init the log options given to lxc-execute
(in fact logfile logpriority and quiet)
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
Signed-off-by: Michel Normand <normand at fr.ibm.com>
commit e043236e2a35948aeeb3cf85feab7c2f1e2b1fd1
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon May 18 22:27:34 2009 +0200
lxc-start to report exit code of started application
The exit code of the application as reported by lxc-start is:
0-126 exit code of the application itself
128+n signal n received by the application
255 lxc error
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 41cfbac9dd3e449dfda6fd908f8e13cc4ec40990
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon May 18 22:11:46 2009 +0200
add long options step4
add the long options to the remaining lxc_*.c files
that need changes in struct lxc_arguments.
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 4237c6ca1f44de0345fbd63acc762401aaf49c68
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon May 18 22:11:46 2009 +0200
add long options step3
add the long options to remaining lxc_*.c files
that do not impact the struct lxc_arguments
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 9618063c87c64f9d8b154ef539c644c7ec382339
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon May 18 22:11:45 2009 +0200
add long options step2
add the long options to lxc-start
with a small change in lxc_start proto to avoid compilation warning
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit cda02a28c0f41feb359ebbddd68ed5f1dcd4930e
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon May 18 22:11:45 2009 +0200
add long options step1
add the long options to lxc-execute as an exemple
of usage of the new functions added in src/lxc/arguments.*
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 441e49639508dce2a3fd94dabe5f40fead110ebf
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon May 18 22:11:45 2009 +0200
add quiet option
This added quiet option allow to disable
the reporting via stderr of the lxc error messages.
Note that the usage function is still printing in case of error,
but will be removed by later patches
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit fcffb59fc8d806252ccbf188c3dbd08cc1a68172
Author: Michel Normand <normand at fr.ibm.com>
Date: Mon May 18 22:11:45 2009 +0200
in lxc-unshare remove log options
remove the -o and -l log options in src/lxc-unshared.c
because these are useless for such a basic test command.
It is sufficient to report the error to stderr.
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 4c200d12e0ef2236cd1f99831a04713faa951a75
Author: Michel Normand <normand at fr.ibm.com>
Date: Sun May 17 13:43:51 2009 +0200
report error in lxc_get_lock
report error in lxc_get_lock and remove the call to lxc_strerror
that become useless for these errors.
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
commit 305dbab7e69c94f9abe2f343f9398b48c7c900d8
Author: Michel Normand <normand at fr.ibm.com>
Date: Sun May 17 13:43:51 2009 +0200
create a new lxc_check_lock function
added in src/lock.c to replace call to lxc_get_lock and lxc_put_lock,
when only need to check if container is active or not.
Signed-off-by: Michel Normand <normand at fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
-----------------------------------------------------------------------
Summary of changes:
src/lxc/Makefile.am | 1 +
src/lxc/arguments.c | 203 ++++++++++++++++++++++++++++++++++++++++++++++
src/lxc/arguments.h | 80 ++++++++++++++++++
src/lxc/checkpoint.c | 15 +---
src/lxc/conf.c | 30 ++++----
src/lxc/console.c | 3 +-
src/lxc/create.c | 22 ++---
src/lxc/destroy.c | 6 +-
src/lxc/error.c | 62 ++++++--------
src/lxc/error.h | 36 +--------
src/lxc/freezer.c | 14 +---
src/lxc/lock.c | 66 +++++++++++-----
src/lxc/lock.h | 2 +-
src/lxc/log.c | 7 +-
src/lxc/log.h | 2 +-
src/lxc/lxc.h | 2 +-
src/lxc/lxc_cgroup.c | 85 ++++++++++----------
src/lxc/lxc_checkpoint.c | 91 +++++++++++----------
src/lxc/lxc_console.c | 80 +++++++++----------
src/lxc/lxc_create.c | 76 +++++++++---------
src/lxc/lxc_destroy.c | 66 ++++++---------
src/lxc/lxc_execute.c | 117 +++++++++++++++------------
src/lxc/lxc_freeze.c | 63 ++++++---------
src/lxc/lxc_info.c | 59 ++++++--------
src/lxc/lxc_init.c | 64 ++++++++++-----
src/lxc/lxc_monitor.c | 62 +++++++--------
src/lxc/lxc_restart.c | 72 ++++++++---------
src/lxc/lxc_start.c | 75 +++++++----------
src/lxc/lxc_stop.c | 65 ++++++---------
src/lxc/lxc_unfreeze.c | 62 ++++++---------
src/lxc/lxc_unshare.c | 14 +---
src/lxc/lxc_wait.c | 85 +++++++++++---------
src/lxc/monitor.c | 2 +-
src/lxc/start.c | 27 +++----
src/lxc/start.h | 2 +-
src/lxc/state.c | 8 +-
src/lxc/stop.c | 14 +---
37 files changed, 966 insertions(+), 774 deletions(-)
create mode 100644 src/lxc/arguments.c
create mode 100644 src/lxc/arguments.h
hooks/post-receive
--
lxc
More information about the lxc-devel
mailing list