- 24 Apr, 2009 5 commits
-
-
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>
-
- 31 Mar, 2009 3 commits
-
-
Daniel Lezcano authored
At present the 'init' file is deleted from the 'stop' function and I don't remember why it is done in this place :) The 'init' file is removed from the 'start' when the first process has been deleted. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
As the state of the container is monitored with the netlink, the file state is no longer used to watch the state changes. The previous hack, which adds a tempo of 200ms, is removed and that makes the container being created, started, stopped, destroyed faster, we gain 1 second in a container lifecycle. One second is too much if we launch thousand of containers, one by one like for example in a tests suite. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Ryousei Takano authored
This patch fixes compile warnings: ignoring return value of function, declared with attribute warn_unused_result, and adds error handling. Signed-off-by:
Ryousei Takano <takano-ryousei@aist.go.jp> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 30 Mar, 2009 11 commits
-
-
Guido Trotter authored
The current code assumes that localstatedir is equal to $(prefix)/var, thus failing for example on debian, where prefix is /usr and localstatedir is /var. This patch fixes this by expanding LXCPATH just once in configure.ac to $(localstatedir)/lib/lxc and expanding that variable everywhere else. install-exec-local is changed to just do one mkdir -p, and taking into account of the DESTDIR variable, user for example for packaging. Changing the permission of LXCPATH is done in lxc-setcap Signed-off-by:
Guido Trotter <ultrotter@quaqua.net> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Add the missing header in the package installation. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Changed the struct lxc_conf initialization function to the right place. Signed-off-by:Daniel Lezcano <daniel.lezcano@free.fr>
-
Daniel Lezcano authored
Rename lxc_config.h to confile.h Signed-off-by:Daniel Lezcano <daniel.lezcano@free.fr>
-
Daniel Lezcano authored
Rename lxc_state.h to state.h Signed-off-by:Daniel Lezcano <daniel.lezcano@free.fr>
-
Daniel Lezcano authored
Rename lxc_list.h to list.h Signed-off-by:Daniel Lezcano <daniel.lezcano@free.fr>
-
Daniel Lezcano authored
Rename lxc_log.h to log.h Signed-off-by:Daniel Lezcano <daniel.lezcano@free.fr>
-
Daniel Lezcano authored
Rename lxc_conf.h to conf.h Signed-off-by:Daniel Lezcano <daniel.lezcano@free.fr>
-
Daniel Lezcano authored
Rename lxc_cgroup.h to cgroup.h Signed-off-by:Daniel Lezcano <daniel.lezcano@free.fr>
-
Daniel Lezcano authored
Rename lxc_lock.h to lock.h Signed-off-by:Daniel Lezcano <daniel.lezcano@free.fr>
-
Daniel Lezcano authored
Rename lxc_namespace.h to namespace.h Signed-off-by:Daniel Lezcano <daniel.lezcano@free.fr>
-
- 27 Mar, 2009 1 commit
-
-
Ryousei Takano authored
'uname -m' seems to be more general to get the machine's architecture type. Ubunbu 8.10 (and also all debian based distros?) does not have arch(1). Signed-off-by:
Ryousei Takano <takano-ryousei@aist.go.jp> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 26 Mar, 2009 4 commits
-
-
Ryousei Takano authored
This patch adds the mtu option setting for the lxc-fedora script. Signed-off-by:
Ryousei Takano <takano-ryousei@aist.go.jp> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Ryousei Takano authored
This patch adds the mtu option setting for the lxc-debian script. Signed-off-by:
Ryousei Takano <takano-ryousei@aist.go.jp> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
"I checked lxc-0.6.1 and your commit 75d09f83 (set mtu for netdev). I found a problem of the MTU size of br0. In the current code, device_set_mtu() is called after bridge_attach(), so the MTU size of br0 is set to the default MTU size of veth0 (i.e., 1500 bytes). This causes performance degradation as I reported. We need to modify to call device_set_mtu() before bridge_attach()" Now that we have the network functions accessible, do not longer use the lxc_configure_veth, lxc_configure_macvlan and split the configuration of the veth in order to create it, configure it and finally attach it to the bridge. Reported-by:
Ryousei Takano <takano-ryousei@aist.go.jp> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com> Acked-by:
Ryousei Takano <takano-ryousei@aist.go.jp>
-
Daniel Lezcano authored
The network functions are too encapsulated and do not allow flexibility. Export all these api and prepare the changes for the next patch to set the mtu. Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com> Acked-by:
Ryousei Takano <takano-ryousei@aist.go.jp>
-
- 25 Mar, 2009 1 commit
-
-
Ryousei Takano authored
Hi Daniel, This patch removes unused variable 'strmtu' and fix an incorrect variable name. Signed-off-by:
Ryousei Takano <takano-ryousei@aist.go.jp> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 24 Mar, 2009 2 commits
-
-
Daniel Lezcano authored
increment the minor version number for the next release Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Daniel Lezcano authored
Instead of having the capabilities to be set automatically, it will be up to the user to set them through a specific script 'lxc-setcap'. After installing the lxc tools, if we want them to be available, for a non-root user, lxc-setcap will set the needed capabilities. If, after thinking it, we want to remove the capabilities, the 'lxc-setcap -d' will do this for us. Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com> Acked-by:
Guido Trotter <ultrotter@google.com>
-
- 22 Mar, 2009 2 commits
-
-
Daniel Lezcano authored
When setting the mtu size at the veth creation, the mtu is only set on one side of the veth tunnel, the one attached to the bridge. I changed a little the code and added the device_set_mtu function so it is called after the veth has been created on both side. That moves the mtu veth specific code inside the veth function creation. Hopefully this code could be reused later for different future network configuration (eg. ip tunnel). The mtu option will be simply ignored in case of macvlan network configuration because the macvlan network device inherit the mtu of the physical link. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Takano Ryousei authored
Hi Daniel, I resent my patch. I hope to fix folding failure. This patch allows users to specify the MTU size of the veth interface. It helps to use jumbo frames on the container. Changes from v1: - Fix failing if the 'mtu' is not specified. - Delete the 'mtu' entry at time of lxc-destroy. Signed-off-by:
Ryousei Takano <takano-ryousei@aist.go.jp> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-
- 20 Mar, 2009 2 commits
-
-
Daniel Lezcano authored
lxc-init has moved to libexec, change the corresponding setcap path. Signed-off-by:Daniel Lezcano <dlezcano@fr.ibm.com>
-
Matt Helsley authored
Add signalfd and signalfd4 syscall number definitions for powerpc so that we may compile even with older platform headers. Signed-off-by:
Matt Helsley <matthltc@us.ibm.com> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
-