- 25 Jun, 2011 1 commit
-
-
Serge Hallyn authored
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>
-
- 27 May, 2011 1 commit
-
-
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>
-
- 20 May, 2011 2 commits
-
-
Daniel Lezcano authored
Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
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>
-
- 06 May, 2011 3 commits
-
-
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>
-
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>
-
- 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>
-
- 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 3 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>
-
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 5 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>
-
Daniel Lezcano authored
Don't assume the user knows the kernel internals :) Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 27 Jan, 2011 2 commits
-
-
Daniel Lezcano authored
Author of the patch : Jonathan Liu <???> posted as a bug fix on the lxc sourceforge website. OS: Arch Linux 32-bit /etc/init.d/rcS do not use full path to syslogd, mount and udhcpc executables. As busybox requires /proc mounted if CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe" to run these commands without full path, the full path should be used in the startup script as /proc is mounted later in the script. It also fails to start the machine if /lib64 does not exist on the host system as there is a mount entry for /lib64 in the config. The attached patch changes commands in /etc/init.d/rcS to use full path and adds a check for /lib64 on host before adding lib64 mount entries to config. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Let's export the 'container' variable and let init receive it as a kernel command line option. In the upstart init scripts, we can distinguish if we are in a container context or not. =============================================================================== # /dev/console - getty # # This service maintains a getty on /dev/console from the point the # system is started until it is shut down again. # It only runs in lxc containers. start on stopped rc RUNLEVEL=[2345] stop on runlevel [!2345] env container pre-start script [ "x$container" != "xlxc" ] && { stop; exit 0; } exit 0; end script respawn exec /sbin/getty -8 38400 /dev/console =============================================================================== Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 23 Jan, 2011 1 commit
-
-
Daniel Lezcano authored
We use udev within these containers and we prevent the /dev files to be created with the cgroup whitelist. So when the udevd receives the event from the kernel, it will fail to create some nodes in /dev and will spit error on the console. We set the log level to zero, so udev will silently fail. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 22 Jan, 2011 1 commit
-
-
Serge Hallyn authored
Rename 'ubuntu' template to 'lucid' Add new maverick and natty templates, which do much less tweaking of the environment. These should only be used on a kernel which supports sysfs tagging for /sys/class/net, as udev will be running in the container. The natty template needed to slightly change the installed packages for dhclient to be correclty installed. Signed-off-by:
Serge Hallyn <serge.hallyn@canonical.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 18 Jan, 2011 1 commit
-
-
Reto Gantenbein authored
Adds correct file capa detection for >2.6.32 The kernel compile parameter was removed with kernel release 2.6.33 Since then file capabilities are enabled by default kernel commit: b3a222e52e4d4be77cc4520a57af1a4a0d8222d1 Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 17 Jan, 2011 2 commits
-
-
David Ward authored
Each network interface was brought up regardless of the configuration, as the wrong boolean operator was being used to test the IFF_UP flag. Signed-off-by:
David Ward <david.ward@ll.mit.edu> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
We should always have the veth host's side up, otherwise if we omit the up flag in the configurationn, letting the container to configure its interface, the network will be never enabled as the host's side is not up. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 16 Jan, 2011 1 commit
-
-
Joerg Gollnick authored
Dear all, while setting up a container on x86_64 (archlinux host/guest) I had trouble with mounting dev/pts and others from container.fstab and a ssh login does not work (only ssh container bash -i gives you a shell) The cause is that conf.c does not initialize mntflags. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 14 Jan, 2011 1 commit
-
-
Daniel Lezcano authored
Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 13 Jan, 2011 2 commits
-
-
Daniel Lezcano authored
This line is at the wrong place ... Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Missed to add lxc-lenny to the template. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-