- 31 May, 2010 1 commit
-
-
Michel Normand authored
Signed-off-by:
Michel Normand <michel.mno@free.fr> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 28 May, 2010 8 commits
-
-
Daniel Lezcano authored
Avoid a warning at compile time by disabling temporary the code. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Make a function and fix bad parameter to umount. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Changed cvs to git url. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
On buggy docbook-utils, old syntax leads to a bad formatting. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Notify the checkpoint / restart commands do nothing for the moment. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Add documentation for checkpoint / restart CLI. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Greg Kurz authored
Buggy behaviour always deserves an assertion. Signed-off-by:
Greg Kurz <gkurz@fr.ibm.com> Signed-off-by:
Cedric Le Goater <clg@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Fix whitespace. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 27 May, 2010 7 commits
-
-
Daniel Lezcano authored
These fields were moved to another structure but not removed from there. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Cedric Le Goater authored
Save one call by using the ptmxmode mount option. Signed-off-by:
Cedric Le Goater <clg@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
As specified by FHS: /usr/lib includes object files, libraries, and internal binaries that are not intended to be executed directly by users or shell scripts. Applications may use a single subdirectory under /usr/lib. If an application uses a subdirectory, all architecture-dependent data exclusively used by the application must be placed within that subdirectory. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Previous path was $libdir/lxc, changed to $libdir/lxc/rootfs. Added a README file to be placed in this directory, describing the purpose of this empty directory. Having a file to be installed in this directory makes the Makefile to automatically create the directory at install time. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
This file is a duplicate of utils.h Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
clg@linux.vnet.ibm.com authored
capabilities are reseted just after the filesystem is mounted. lxc_setup_fs() is moved up, before the process is forked. Signed-off-by:
Cedric Le Goater <clg@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 26 May, 2010 10 commits
-
-
Cedric Le Goater authored
The following patch wrap the calls on the synchronisation socketpair in a lxc_sync_ API. It hopefully clarifies what is done in the start sequence to the expense of more lines of code ... Signed-off-by:
Cedric Le Goater <clg@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Cedric Le Goater authored
now that we have specific operations and specific arguments for each sequence, lxc_restart() and lxc_start() can easily be merged under a common subroutine. Signed-off-by:
Cedric Le Goater <clg@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Cedric Le Goater authored
the following patch moves the start argument in private structs which are opaque to lxc_spawn(). To achieve this goal, we need to move the sv[2] socketpair and lxc_handler Signed-off-by:
Cedric Le Goater <clg@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Cedric Le Goater authored
These are trivial changes: start_arg->name is redundant with lxc_handler->name sv[2] can be stored directly under start_arg Signed-off-by:
Cedric Le Goater <clg@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Cedric Le Goater authored
label 'out_close' is used only once. Signed-off-by:
Cedric Le Goater <clg@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Cedric Le Goater authored
struct lxc_operations offers 2 operations : start and post_start which are used by the lxc-start and lxc-restart sequences to define specific actions. Signed-off-by:Cedric Le Goater <clg@fr.ibm.com>
-
Michel Normand authored
In order to define a specific function for restart, let's create an ops where we will be able to specify a function for restart too. Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
In order to be able to use a single 'start' function for start and restart, let's prepare do_start to get an extra statefile parameter. Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michel Normand authored
Signed-off-by:
Michel Normand <normand@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 24 May, 2010 1 commit
-
-
Denis Rizaev authored
I did a little investigation about runlevels and i think we can assume runlevels 2-5 as normal. So, we can check if system was in runlevel 2-5 and proc count is 1 and now we are in 0/6. Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by:
Denis Rizaev <Denis.Rizaev@trueoffice.ru>
-
- 19 May, 2010 4 commits
-
-
Nathan Lynch authored
asprintf(3) returns -1 (not 0) on error. Signed-off-by:
Nathan Lynch <ntl@pobox.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
That breaks the reboot because when we reexec, fd 0 and fd 1 will be closed and these one are created by lxc, not inherited. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
We don't close the command socket after the transaction, that leads to a fd leak. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Indent the signalfd structure definition correctly. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 18 May, 2010 2 commits
-
-
Daniel Lezcano authored
Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Add the broadcast specification, if none is specified, it is automatically computed from the addr & mask. syntax: lxc.network.ipv4 = 172.20.0.2/24 172.20.255.255 Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 12 May, 2010 7 commits
-
-
Ferenc Wagner authored
Signed-off-by:
Ferenc Wagner <wferi@niif.hu> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Ferenc Wagner authored
The removal does not account for possible leading path components that were also created during creation of pivotdir. Signed-off-by:
Ferenc Wagner <wferi@niif.hu> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
As we defined a path where to mount the rootfs, we can use without ambiguity because it is defined by default at compile time or by the configuration. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Define lxc.rootfs.mount option in order to override the default mount point for rootfs. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
We have pivot_dir and rootfs defined in lxc_conf structure. Let's encapsulate them in a rootfs structure. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Add a configure option to set a mount point path when using a rootfs, that will replace the actual behavior which creates uneeded /tmp/lxc** directories. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Mindless changes by removing whitespace. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-