- 23 Jun, 2011 3 commits
-
-
Serge E. Hallyn authored
This way I can do lxc-create -t ubuntu -f /etc/lxc.conf -n u1 -- -x and have -x passed to the template Signed-off-by:
Serge Hallyn <serge.hallyn@ubuntu.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Serge E. Hallyn authored
Create an lxc-clone script to clone containers. It should probably be factored into helpers and then enhanced, in particular to convert between LVM and non-LVM containers, create non-snapshot LVM clones, support loopback devices, and, when stable enough, to use overlayfs, btrfs, etc. But this is a start. Signed-off-by:
Serge Hallyn <serge.hallyn@ubuntu.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Serge E. Hallyn authored
If this is acceptable as is, then I'll try to get a simple lxc-clone out tomorrow (taking into account your comments from last time). Signed-off-by:
Serge Hallyn <serge.hallyn@ubuntu.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 02 Jun, 2011 1 commit
-
-
Daniel Lezcano authored
When we accept a connection, we have to set the close-on-exec flag, otherwise that won't be possible to reboot a container through a lxc-console command. Reported-by:
Katoh Yasufumi <karma@jazz.email.ne.jp> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 26 May, 2011 2 commits
-
-
Stéphane Graber authored
-
Stéphane Graber authored
Convert all Debian (and derivative) templates from using 'arch' to using 'dpkg --print-architecture' as debootstrap does
-
- 23 May, 2011 2 commits
-
-
Sven Wegener authored
It's OK, if /dev/ptmx points to /dev/pts/ptmx via a symlink. Signed-off-by:
Sven Wegener <sven.wegener@stealer.net> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Sven Wegener authored
Also add #ifndef for compability with glibc before 2.12. Signed-off-by:
Sven Wegener <sven.wegener@stealer.net> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 20 May, 2011 1 commit
-
-
Cedric Le Goater authored
'setns.h' is not an lxc interface. Also, a side effect of this declaration of 'setns.h' in the lxc header files is to be distributed in the lxc tarball. This breaks the lxc-attach command because the file is not automatically generated at compile time. Signed-off-by:
Cedric Le Goater <clg@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 13 May, 2011 1 commit
-
-
Daniel Lezcano authored
We ignore the line of in the configuration file not beginning by "lxc." So we can mix the configuration file with another information used for another component through the lxc library. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 06 May, 2011 2 commits
-
-
Daniel Lezcano authored
src/lxc/conf.c will explicitly mount it anyway. Furthermore, the fstab entry, which is getting processed first, did not specify -o newinstance. This can cause the host's devpts entry mount options to change, as in https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/607636. Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Serge E. Hallyn authored
src/lxc/conf.c will explicitly mount it anyway. Furthermore, the fstab entry, which is getting processed first, did not specify -o newinstance. This can cause the host's devpts entry mount options to change, as in https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/607636. I believe the lenny, fedora, and debian templates also will need an update. Signed-off-by:
Serge Hallyn <serge.hallyn@ubuntu.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 05 May, 2011 2 commits
-
-
Cedric Le Goater authored
Signed-off-by:
Cedric Le Goater <clg@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Cedric Le Goater authored
The lxc/ prefix is missing in <start.h>. This breaks the inclusion of the header file <lxc/conf.h> in external source code. Signed-off-by:
Cedric Le Goater <clg@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 06 Apr, 2011 2 commits
-
-
Greg Kurz authored
The default appender for logs is currently the file one: this make macros from log.h unusable as long as lxc_log_init() hasn't been called. This prevents errors from even being printed on stderr in lxc_caps_init() for example. Let's make stderr the default appender. Signed-off-by:
Greg Kurz <gkurz@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Cedric Le Goater authored
Signed-off-by:
Cedric Le Goater <clg@fr.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 22 Mar, 2011 7 commits
-
-
Michel Normand authored
this is related to the bug http://sourceforge.net/tracker/?func=detail&aid=3113612&group_id=163076&atid=826303 that suggested to modify bash lxc script to properly use "$@" in place of "$*" Signed-off-by:
Michel Normand <michel.mno@free.fr> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
François-Xavier Bourlet authored
lxc_cgroup_path_get currently cache the cgroup mount point plus the container name at the same time, making every call of the function returning the same value. It mean that actually every call to lxc_cgroup_get with a different container name will in fact use the same container name as used for the primary call. I join a patch to fix that, still doing some caching, but only caching the cgroup moint point this time. This patch actually work for me, as I am using the liblxc for retrieving statistics about all running containers, using lxc_cgroup_get to retrieve every interesting values. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michael Santos authored
Signed-off-by:
Michael Santos <michael.santos@gmail.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michael Santos authored
Signed-off-by:
Michael Santos <michael.santos@gmail.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michael Santos authored
Signed-off-by:
Michael Santos <michael.santos@gmail.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michael Santos authored
IFNAMSIZ includes the trailing NULL. Signed-off-by:
Michael Santos <michael.santos@gmail.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michael Santos authored
Signed-off-by:
Michael Santos <michael.santos@gmail.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 16 Mar, 2011 2 commits
-
-
Michael Santos authored
regexec() expects a null terminated name. Signed-off-by:
Michael Santos <michael.santos@gmail.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Michael Santos authored
Signed-off-by:
Michael Santos <michael.santos@gmail.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 14 Mar, 2011 1 commit
-
-
Daniel Lezcano authored
Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 07 Mar, 2011 2 commits
-
-
Daniel Lezcano authored
Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Change the name of the functions and factor some of them. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 26 Feb, 2011 2 commits
-
-
Daniel Lezcano authored
Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Jan Niehusmann authored
The comment containing the version number at the beginning of the kernel config file changed its format with 2.6.37. This trivial patch makes the grep less specific, so it triggers for both formats. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 19 Feb, 2011 1 commit
-
-
Amit Uttamchandani authored
"udpate" should be "update" in configure_debian(). Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 17 Feb, 2011 1 commit
-
-
Rob Landley authored
The patch fixes two build breaks in the sgml files: lxc-checkpoint.sgml.in Element Title in namespace '' encountered in refsect1, but no template matches. lxc-restart.sgml:58: parser error : AttValue: " or ' expected <arg choice=req><option>--name=<replaceable>NAME</replaceable></option></a Signed-off-by:Rob Landley <rlandley@parallels.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 14 Feb, 2011 1 commit
-
-
Daniel Lezcano authored
David Ward reported this computation could be written in a simpler way. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 06 Feb, 2011 2 commits
-
-
Daniel Lezcano authored
Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 02 Feb, 2011 1 commit
-
-
Daniel Lezcano authored
The return statement is at the wrong place. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 01 Feb, 2011 4 commits
-
-
Daniel Lezcano authored
Add the ability to specify a file to output the console. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Cedric Le Goater authored
Signed-off-by:Cedric Le Goater <clg@fr.ibm.com>
-
Clement Calmels authored
Signed-off-by:
Clement Calmels <clement.calmels@fr.ibm.com> Signed-off-by:
Cedric Le Goater <clg@fr.ibm.com>
-