- 13 Nov, 2009 2 commits
-
-
Daniel Lezcaon authored
When a container was created, its configuration is used. When a container was not created, the configuration specified in the command line is used, if not configuration file is used, default values are used. That allows to create 'volatile' container, like tmp files. It is useful for example to spawn different container with the same generic configuration file. That let the user to have its own repository of configuration files. And, more important, that fix temporary created container with lxc-execute to be not deleted when the host crash or the command is killed. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Dhaval Giani authored
Fix compile failure commit 884866b3 introduces a compile failure, make[3]: *** No rule to make target `lock.c', needed by `liblxc_so-lock.o'. Stop. make[3]: Leaving directory `/home/dhaval/work/lxc/lxc/src/lxc' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/dhaval/work/lxc/lxc/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/dhaval/work/lxc/lxc/src' make: *** [all-recursive] Error 1 Remove those entries from the Makefile Signed-off-by:
Dhaval Giani <dhaval@linux.vnet.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 12 Nov, 2009 3 commits
-
-
Daniel Lezcano authored
Fix a typo making the abstract af_unix socket name to be wrong. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
The lock is no longer needed as the mutual exclusion and 'is running' check is done via the af_unix command socket. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Cedric Le Goater authored
The log api may be used by an external component which needs to access these functions. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 11 Nov, 2009 1 commit
-
-
Ryousei Takano authored
Hi Daniel and all, The rpmbuild command fails due to an unnecessary *.a entry in the %file list. This patch removes it from the lxc.spec file. Signed-off-by:
Ryousei Takano <takano-ryousei@aist.go.jp> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 09 Nov, 2009 1 commit
-
-
Andrian Nord authored
Greetings, I've found a small typo into src/lxc/conf.c that leads to nulled prefix for ipv6 addresses. Signed-off-by:
Andrian Nord <NightNord@gmail.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 04 Nov, 2009 2 commits
-
-
Michel Normand authored
I changed the code to have lxc version to reflect the string set in AC_INIT of configure.ac rather than to report only the 3 first digits update: use PACKAGE_VERSION in place of VERSION Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Andrian Nord authored
Andrian Nord <NightNord@gmail.com>: >> > > As documentation requires docbook2man to be installed, which is not, >> > > otherwise, required for proper LXC work or compilation process, it >> > > might be usefull to be able to switch it off. Michel Normand <normand@fr.ibm.com>: > > For me, it is Ok to add a --enable/disable/-doc, > > but not make configure to fail if no option specified > > and no docbook2man package. > > > > For me it should be optionnal. > > I like the current behaviour where configure is running without option > > and is enabling/disabling by itself the doc building. > > Could you send a new patch with this idea ? Andrian Nord <NightNord@gmail.com>: Of course. You mean, that you what default behaviour to remain auto-detection? That is: --enable-doc: require docbook2man or fail, generate mans --enable-doc=auto, or not specified (default): check for docbook2man, generate mans if found, silently ignore if not found (I suppose diagnostic message is redundant, as information already contains into ./configure --help) --disable-doc: never check for docbook2man and don't gen mans Here comes a patch what do this, as far as I see (I'm sorry for violating post-rules in previous mail, now I'll do all right, I hope. Should I attach patch anyway, as it might be usefull for applying?) Signed-off-by:
Andrian Nord <NightNord@gmail.com> Acked-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 03 Nov, 2009 1 commit
-
-
Michel Normand authored
this is a side effect of my previous patch that removed the LXCPATH/name/nsgroup file. 9f44c578Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 23 Oct, 2009 1 commit
-
-
Daniel Lezcano authored
Fix the include path for compiling and clean the Makefile. Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com> Reported-by:
Michel Normand <normand@fr.ibm.com>
-
- 22 Oct, 2009 3 commits
-
-
Cedric Le Goater authored
This is useless in a Linux only environment. The .so version is the version of the package. Signed-off-by:
Cedric Le Goater <clg@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Instead of passing the LXCPATH definition in the compiler command line, use configure.ac to define the value in the config.h file and include this file where it is needed. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
These tests are not relevant now. It would be better to write some real test cases with some script using the lxc cli in order to check non regression. I remove these annoying tests I have to port each time a function prototype is changed. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 15 Oct, 2009 1 commit
-
-
Daniel Lezcano authored
Mount always /dev/mqueue with lxc_init. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 12 Oct, 2009 4 commits
-
-
Daniel Lezcano authored
Factor out some code and fix a memory corruption when dupping the arguments. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Fix the missing network prefix. When no network prefix is specified, the prefix is computed from the network class specified. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Fix test program compilation errors. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Remove the old configuration remaining code. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 09 Oct, 2009 18 commits
-
-
Daniel Lezcano authored
tty_create uses the old conf directory, fixing this. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
The netdev vs network structure is not well defined. Fix that. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
We can factor out the "ip addr add" Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
We don't want to use anymore the configuration directory, let's use the configuration structure. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Move configuration informations from the handler structure to the configuration structure. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
We want to store more information in the configuration structure, especially the ttys. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Do not use the directory configuration Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
There is no more need of this file so remove it. Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
to avoid to use the LXCPATH/<name>/nsgroup Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
remove the usage of LXCPATH/<name>/nsgroup in get/set function. Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
this also avoid to call two times get_cgroup_mount Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Do not use the directory configuration Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Do not use the directory configuration for the mount points. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Avoid to use the directory structure. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Use the configuration structure, not the directory configuration Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
use the configuration structure for setting up the rootfs Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Remove the usage of the directory config for the setup and use the configuration structure instead. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
This patch makes the configuration to read the configuration file in order to pass the configuration to the different functions. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 07 Oct, 2009 3 commits
-
-
Daniel Lezcano authored
When the parent of the first process dies, the container stays there making very difficuly to track it and to kill. We have to use the lxc-ps --lxc and kill the processes, hoping we kill the init process of the container. That's not a big deal until we have thousand of processes in the container :) We want to keep the parent of the container init always there, this process is responsible to manage the container, provide tty, notify the container changing states and ensure self exclusion (eg. avoid to launch several containers with the same name). If this process dies, we consider that as a fatal error and we make the child process to die too. This patch will just add the prctl to to send a SIGKILL to the container init process when its parent exits For the point of view of the pid namespace, when the init process dies all the processes of the namespace are killed too. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
The number of fds passed to epoll is just a hint for the kernel. In our case, we know this is often 2, let's remove this parameter from lxc_mainloop_open and cleanup the code around the caller of this function. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Indent and make the code cleaner. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-