- 18 May, 2009 2 commits
-
-
Michel Normand authored
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@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
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@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 17 May, 2009 2 commits
-
-
Michel Normand authored
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@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
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@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 15 May, 2009 2 commits
-
-
Michel Normand authored
This is adding a stderror log appender that is used as default one. Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
the support of multiple appenders need to associate one va_list per appender. This is the purpose of this patch to copy the va_list before to call the appender. Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 14 May, 2009 10 commits
-
-
Daniel Lezcano authored
Instead of messing with the netlink messages, let's use the abstract unix socket and assume we will have a single receiver and multiple sender. With this patch mcr-wait and mcr-monitor are mutually exclusive... for the moment. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
and report error message as soon as detected error in these two functions Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by:
Michel Normand <normand@fr.ibm.com>
-
Michel Normand authored
I assume this is a typo error. Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by:
Michel Normand <normand@fr.ibm.com>
-
Michel Normand authored
this is adding -o and -l options to all cli of lxc Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
do it in all cli, except: * the usage functions that will be removed by another patch * the lxc_init that need more work * the lxc_priority that is not used anymore Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
this is required to log error where needed and to to avoid additionnal log later on. Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
required to support either: lxc-cgroup -n foo subsystem value lxc-cgroup -nfoo subsystem value Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
replace the specific clone options by a -s option with the Ored list of namespaces to be cloned. take the opportunity of this change to have the -u <uid> option to not automatically set the clone flag to CLONE_NEWUSER but to be dependant of the new -s USER option. Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
Do it except for the usage functions that will be removed by another patch This is a follow on a previous patch that treated all src/lxc/lxc_*.c but this file. Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
avoid segfault when invalid parameter git-unshare -u 666666 and improve error reporting Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 07 May, 2009 1 commit
-
-
Daniel Lezcano authored
When no tty number is specified in the command line, let the tty service to provide choose one available tty and provide this one. The documentation is updated wrt this modification and I did a little fix to generate the date of the documentation. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 29 Apr, 2009 3 commits
-
-
Daniel Lezcano authored
Export the fine grain api of lxc to be usable for external component which wants to have more control on the container. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Make the lxc code more modular and use it for lxc_start function. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Define a handler to store the resource informations for the container. That allows to factor out some code and will help to encapsulate a little more the 'start' code which is too big. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 26 Apr, 2009 4 commits
-
-
Daniel Lezcano authored
This reverts commit 2c9bd007. Pointless and useless right now and certainly wrong as several threads in the library may want to log to the same, to be defined later.
-
Daniel Lezcano authored
Rename configure.in to configure.ac as it is the correct name for the recent version. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
As the m4 directory is not used, remove the usage from the scripts. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
When auto-regen is done at the make time, eg. when the configure.in script has been modified, the configure is not correctly generated because the 'config' directory is missing for aclocal, and that makes the generation to fail due to the missing macros defined in config directory. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 24 Apr, 2009 7 commits
-
-
Daniel Lezcano authored
Inc the minor version for the next release. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Let's compile the documentation when everything has compiled well, that saves time for devel ;) Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Add the autogen script to the tarball so people using the dist version can patch the auto* files and regenerate them directly for the dist tarball. Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com> Reported-by:
Michael K Johnson <johnsonm@rpath.com>
-
Daniel Lezcano authored
By convention the script calling the auto tools is named autogen.sh. I rename 'bootstrap' to 'autogen.sh' in order to stick to this convention. Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com> Reported-by:
Michael K Johnson <johnsonm@rpath.com>
-
Daniel Lezcano authored
License header is missing in the log files. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
this is a required patch to be able to compile lxc on a RedHat 5 update 1 which has such define. This is also required for the F_DUPFD_CLOEXEC define Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 21 Apr, 2009 4 commits
-
-
Daniel Lezcano authored
Add the tls attribute for the global static variables in the logs. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Cedric Le Goater authored
some headers and macros are now redundant Signed-off-by:
Cedric Le Goater <legoater@free.fr> Acked-by:
Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Cedric Le Goater authored
This patch defines a new log category in each file using logging and replaced the former logging routines with the new ones. Signed-off-by:
Cedric Le Goater <legoater@free.fr> Acked-by:
Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Cedric Le Goater authored
lxc_log_init() should be called in each main() of a command to define the default log priority and log file. Signed-off-by:
Cedric Le Goater <legoater@free.fr> Acked-by:
Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 20 Apr, 2009 5 commits
-
-
Michel Normand authored
exclude generated tarball from git managed files Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
This is required to be able to make the build on a machine that mount lxc source but not all machine filesystem. . Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Ryousei Takano authored
This patch adds support for various mount options. It is also able to pass extra mount option data to mount(2). For example, it allows users to mount aufs file system at lxc_start time. See the thread http://sourceforge.net/mailarchive/forum.php?thread_name=E6D98D6C-F633-419A-9424-F24EBB3E11D9%40aist.go.jp&forum_name=lxc-devel for details. Signed-off-by:
Ryousei Takano <takano-ryousei@aist.go.jp> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Môshe van der Sterre authored
Set the close on exec flag on the pty fd so they are automatically closed when execing the container. Signed-off-by:
Môshe van der Sterre <me@moshe.nl> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Môshe van der Sterre authored
Hello, It took me some thinking to figure out DEVPTS_MULTIPLE_INSTANCES was disabled. Maybe checking for it in lxc-checkconfig will be helpfull to others. Greetings, Môshe van der Sterre Signed-off-by:
Môshe van der Sterre <moshevds@gmail.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-