- 16 Aug, 2016 4 commits
-
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
- 15 Aug, 2016 5 commits
-
-
Christian Brauner authored
Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Christian Brauner authored
So far we've simply been using RUNTIME_PATH for the privileged and unprivileged case. We should actually use XDG_RUNTIME_DIR for the unprivileged case. Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Christian Brauner authored
When a container c is on a btrfs filesystem but is directory backed, copying the container will default to snapshot. This is because of should_default_to_snapshot() returning true in this case because c is on a btrfs filesystem. We should make sure that should_default_to_snapshot() only returns true, when c itself is a btrfs subvolume. Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
KATOH Yasufumi authored
* Add undocumented options (-v/--set-var, --keep-var, -f/--rcfile) * Change order of option in SYNOPSIS (-L that is placed after "command") * Add long options in SYNOPSIS Signed-off-by:KATOH Yasufumi <karma@jazz.email.ne.jp>
-
KATOH Yasufumi authored
* Add undocumented options (-v/--set-var, --keep-var, -f/--rcfile) * Change order of option in SYNOPSIS (-L that is placed after "command") * Add long options in SYNOPSIS Signed-off-by:KATOH Yasufumi <karma@jazz.email.ne.jp>
-
- 11 Aug, 2016 30 commits
-
-
Andreas Freudenberg authored
Signed-off-by:Andreas Freudenberg <andreas.freudenberg@licomonch.net>
-
Andreas Freudenberg authored
Signed-off-by:Andreas Freudenberg <andreas.freudenberg@licomonch.net>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Carlo Landmeter authored
Signed-off-by:Carlo Landmeter <clandmeter@gmail.com>
-
Wolfgang Bumiller authored
The rest of this block uses spaces instead of tabs already. Signed-off-by:Wolfgang Bumiller <w.bumiller@proxmox.com>
-
Wolfgang Bumiller authored
Otherwise a container with a non-standard configuration file can be started but not attached to. Fixes the following case: # lxc-start -n ct -f /different/path/my.config # lxc-attach -n ct Error: container ct is not defined Signed-off-by:Wolfgang Bumiller <w.bumiller@proxmox.com>
-
Christian Brauner authored
- tools: move lxc commands to common subfolder - tests: adapt include search path Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Christian Brauner authored
This allows us to avoid using relative includes which is cleaner in the long run when we create subdirectories for other components of liblxc. Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Wolfgang Bumiller authored
This fixes a double free corruption on container-requested reboots when lxc_spawn() fails before receiving the ttys, as lxc_fini() (part of __lxc_start()'s cleanup) calls lxc_delete_tty(). Signed-off-by:Wolfgang Bumiller <w.bumiller@proxmox.com>
-
oc authored
lxc-checkpoint will fail because process createdy by lxc-attach has incorrect cgroup ns. It needs to use "setns" instead of "unshare" to set cgroup ns. Signed-off-by:Chen Haiquan <oc@yunify.com>
-
Sergio Schvezov authored
This allows installing to different locations and using the lxc.pc to build using the generated includedir and libdir. Signed-off-by:Sergio Schvezov <sergio.schvezov@ubuntu.com>
-
Christian Brauner authored
Both functions advertise that they return true when strncmp() == 0 and false when strncmp() != 0 but so far they returned the exact opposite. Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Jakub Jirutka authored
When running under grsecurity kernel or userns, it can't be mounted from inside. Signed-off-by:Jakub Jirutka <jakub@jirutka.cz>
-
Christian Brauner authored
Fixes build failures on arm: criu.c: In function ‘exec_criu’: criu.c:310:4: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Werror=format=] ret = sprintf(ghost_limit, "%lu", opts->user->ghost_limit); ^ In file included from criu.c:42:0: log.h:285:9: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ [-Werror=format=] struct lxc_log_locinfo locinfo = LXC_LOG_LOCINFO_INIT; \ ^ criu.c:312:5: note: in expansion of macro ‘ERROR’ ERROR("failed to print ghost limit %lu", opts->user->ghost_limit); ^ Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Andreas Freudenberg authored
Signed-off-by:Andreas Freudenberg <andreas.freudenberg@licomonch.net>
-
Tycho Andersen authored
This is an old option that we probably should have exposed long ago :) Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Christian Brauner authored
This is required by systemd to cleanly shutdown. Other init systems should not have SIGRTMIN+3 in the blocked signals set. Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Vitaly Lavrov authored
Signed-off-by:Vitaly Lavrov <vel21ripn@gmail.com>
-
Adrian Reber authored
This is a minimal commit which makes the function 'do_restore()' static as it is not used anywhere else in the code. This also removes a trailing space my editor complained about. Signed-off-by:Adrian Reber <areber@redhat.com>
-
Adrian Reber authored
Shortly after CRIU 2.3 has been released a patch has been added to skip in-flight TCP connections. In-flight connections are not completely established connections (SYN, SYN-ACK). Skipping in-flight TCP connections means that the client has to re-initiate the connection establishment. This patch stores the CRIU version detected during version check, so that during dump/checkpoint options can be dynamically enabled depending on the available CRIU version. v2: * use the newly introduced criu version interface * add an option to disable skipping in-flight connections Signed-off-by:Adrian Reber <areber@redhat.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Adrian Reber authored
The commit "c/r: add support for CRIU's --action-script" breaks lxc-checkpoint on the command-line. It produces errors like: sh: $'\260\366\b\001': command not found and then it fails. src/lxc/criu.c expects migrate_opts->action_script to be either NULL, then it is ignored, or to actually contain the name of an action scripts. As the struct migrate_opts has not static storage is has to be explicitly initialized or the value of the structure's members is indeterminate. Signed-off-by:Adrian Reber <areber@redhat.com>
-
Tycho Andersen authored
Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com>
-
Christian Brauner authored
- If version != NULL criu_version_ok() stores the detected criu version in version. Allocates memory for version which must be freed by caller. - If version == NULL criu_version_ok() will return true when the version matches, false in all other cases. Signed-off-by:Christian Brauner <cbrauner@suse.de>
-
Serge Hallyn authored
First, we're doing this so long a there is any cgroup config item - even if no devices ones. Then if devices is not available we fail. This was leading to Rob E's mysterious startup failures. Secondly, we're not even using this info. The user was removed awhile back. Signed-off-by:Serge Hallyn <serge@hallyn.com>
-
Rodrigo Vaz authored
Signed-off-by:Rodrigo Vaz <rodrigo@heroku.com>
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Antonio Terceiro authored
The regression was introduced by commit 3c39b0b7 which makes it possible to create working stretch containers by forcinig `init` to be in the included package list. However, `init` didn't exit before jessie, so now for wheezy we explicitly include `sysvinit`; sysvinit on wheezy is essential, so it would already be included anyway. Signed-off-by:
Antonio Terceiro <terceiro@debian.org>
-
- 28 Jun, 2016 1 commit
-
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-