- 06 Apr, 2016 7 commits
-
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Stéphane Graber authored
lxc_mount_auto_mounts(): free memory on failure
-
Stéphane Graber authored
lxc-create: bugfixes and small improvements
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Christian Brauner authored
netlink_open: close socket on error
-
Wolfgang Bumiller authored
All uses of netlink_open() assume that on error the nl_handler doesn't need to be closed, but some error cases happen after the socket was opened successfully and used to simply return -errno. Signed-off-by:Wolfgang Bumiller <w.bumiller@proxmox.com>
-
Christian Brauner authored
- call lxc_container_put() before we exit() - reorder includes - use EXIT_FAILURE and EXIT_SUCCESS macros Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
- 05 Apr, 2016 9 commits
-
-
Stéphane Graber authored
add more error handling + cleanup copy_storage()
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Serge Hallyn authored
set lxc.rootfs.backend on container creation
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Christian Brauner authored
Since specifying lxc.rootfs.backend can lead to performance improvements we always set it during container creation. This also fixes a bug. do_bdev_create() tried to be smart and retrieve the lower directory when bdev->type == overlayfs or aufs thereby cutting the path. However, this operation is done in ovl_mount() and aufs_mount() and both functions need the full src path for this. The bug didn't show before because when creating a overlayfs container with e.g.: lxc-create -n c -t busybox -B overlayfs still left bdev->type set to dir and so the code for retrieving the lower dir in do_bdev_create() was skipped. But by setting lxc.rootfs.backend on container creation we force bdev->type to be set to e.g. overlayfs and the code gets executed thereby exposing the bug. Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Serge Hallyn authored
use correct "overlayfs" instead of "ovl"
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@mailbox.org>
-
Stéphane Graber authored
doc: Add lxc.rootfs.backend in Japanese lxc.container.conf(5)
-
KATOH Yasufumi authored
Update for commit f9039861Signed-off-by:
KATOH Yasufumi <karma@jazz.email.ne.jp>
-
- 04 Apr, 2016 2 commits
-
-
Stéphane Graber authored
Add a document of lxc.rootfs.backend in Korean manpage
-
Sungbae Yoo authored
Update for commit f9039861Signed-off-by:
Sungbae Yoo <sungbae.yoo@samsung.com>
-
- 03 Apr, 2016 9 commits
-
-
Stéphane Graber authored
fix spelling mistakes spotted by Debian's lintian
-
Evgeni Golov authored
Signed-off-by:Evgeni Golov <evgeni@debian.org>
-
Christian Brauner authored
fix btrfs_recursive_destroy
-
Oleg Freedholm authored
Signed-off-by:Oleg Freedholm <overlayfs@gmail.com>
-
Stéphane Graber authored
switch user facing name to lxc.rootfs.backend
-
Serge Hallyn authored
Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Serge Hallyn authored
Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Christian Brauner authored
rootfs.bdev_type: implement get and clear
-
Serge Hallyn authored
clear is just set(x, ""), but before this patch that didn't work bc "" is nota valid bdev type. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
- 02 Apr, 2016 6 commits
-
-
Christian Brauner authored
use more accurate bdev_type name for rootfs.bdev
-
Serge Hallyn authored
It'll make future code reading easier. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Christian Brauner authored
2016 04 02/bdev
-
Serge Hallyn authored
If that is specified, then we only use the specified backing store type. This can be useful if you know that lxc.rootfs is a directory type and you do not want lxc to waste time searching for zfs, btrfs, etc. Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Serge Hallyn authored
Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com>
-
Oleg Freedhom authored
A change in kernel 4.2 caused btrfs_recursive_destroy to fail to delete unprivileged containers. This patch restores the pre-kernel-4.2 behaviour. Ref: Issue 935. Signed-off-by:Oleg Freedhom <overlayfs@gmail.com>
-
- 31 Mar, 2016 6 commits
-
-
Stéphane Graber authored
Signed-off-by:Stéphane Graber <stgraber@ubuntu.com>
-
Stéphane Graber authored
c/r: support for the criu pageserver
-
Niklas Eiling authored
Signed-off-by:Niklas Eiling <niklas.eiling@rwth-aachen.de>
-
Christian Brauner authored
Fix buffer overflow in do_start()
-
Aleksandr Mezin authored
Signed-off-by:Aleksandr Mezin <mezin.alexander@gmail.com>
-
Niklas Eiling authored
this enables lxc to perform "disk-less migrations" where memory pages are sent directly to the destination machine instead of being written to the sources filesystem first. For this, the migrate_opts struct has been added the strings "pageserver_address" and "pageserver_port" so that criu can be told where to look for a pageserver. Signed-off-by:Niklas Eiling <niklas.eiling@rwth-aachen.de>
-
- 30 Mar, 2016 1 commit
-
-
Serge Hallyn authored
fix possible buffer overflow
-