]> git.ipfire.org Git - thirdparty/lxc.git/log
thirdparty/lxc.git
7 years agonetwork: non-functional changes 1768/head
Christian Brauner [Mon, 28 Aug 2017 10:23:29 +0000 (12:23 +0200)] 
network: non-functional changes

This moves all of the network handling code into network.{c,h}. This makes what
is going on much clearer. Also it's easier to find relevant code if it is all
in one place.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: increase lxc-user-nic buffer
Christian Brauner [Sun, 27 Aug 2017 12:48:52 +0000 (14:48 +0200)] 
conf: increase lxc-user-nic buffer

This will allow us log more detailed failures.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agolxc-user-nic: check db before trying to delete
Christian Brauner [Sun, 27 Aug 2017 07:17:10 +0000 (09:17 +0200)] 
lxc-user-nic: check db before trying to delete

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agolxc-user-nic: non-functional changes
Christian Brauner [Sun, 27 Aug 2017 13:03:16 +0000 (15:03 +0200)] 
lxc-user-nic: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agonetwork: delete ovs for unprivileged networks
Christian Brauner [Sun, 27 Aug 2017 03:02:23 +0000 (05:02 +0200)] 
network: delete ovs for unprivileged networks

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agonetwork: log ifindex
Christian Brauner [Sun, 27 Aug 2017 03:01:14 +0000 (05:01 +0200)] 
network: log ifindex

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agonetwork: send ifindex for unpriv networks
Christian Brauner [Sun, 27 Aug 2017 02:59:57 +0000 (04:59 +0200)] 
network: send ifindex for unpriv networks

We use the ifindex as an indicator that liblxc created the network so let's
record it for the unprivileged case as well.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agolxc-user-nic: rework renaming net devices
Christian Brauner [Sat, 26 Aug 2017 22:39:17 +0000 (00:39 +0200)] 
lxc-user-nic: rework renaming net devices

This should make things a little less convoluted.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: adapt to lxc-user-nic usage
Christian Brauner [Sat, 26 Aug 2017 21:04:01 +0000 (23:04 +0200)] 
conf: adapt to lxc-user-nic usage

- lxc-user-nic gains the subcommands {create,delete}
- dup2() STDERR_FILENO as well so that we can show helpful messages in our logs
  on failure
- initialize output buffer so that we don't print garbage

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agotests: adapt lxc-user-nic tests to new syntax
Christian Brauner [Sat, 26 Aug 2017 22:00:58 +0000 (00:00 +0200)] 
tests: adapt lxc-user-nic tests to new syntax

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agolxc-user-nic: add new {create,delete} subcommands
Christian Brauner [Sat, 26 Aug 2017 21:16:03 +0000 (23:16 +0200)] 
lxc-user-nic: add new {create,delete} subcommands

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agolxc-user-nic: fix memleak
Christian Brauner [Sat, 26 Aug 2017 21:10:18 +0000 (23:10 +0200)] 
lxc-user-nic: fix memleak

get_new_nicname() calls lxc_mkifname() which allocates memory and returns it to
the caller. The way get_new_nicname() and get_nic_if_avail() were implemented
they hid that fact by returning a boolean. That doesn't make sense. Let's
rather have them return a pointer to the allocated nic name which the caller
needs to free.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agolxc-user-nic: non-functional changes
Christian Brauner [Sat, 26 Aug 2017 16:53:29 +0000 (18:53 +0200)] 
lxc-user-nic: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agocgfsng: non-functional changes
Christian Brauner [Fri, 25 Aug 2017 07:52:14 +0000 (09:52 +0200)] 
cgfsng: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: do not deref null pointer
Christian Brauner [Sat, 26 Aug 2017 22:48:34 +0000 (00:48 +0200)] 
conf: do not deref null pointer

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: non-functional changes
Christian Brauner [Sat, 26 Aug 2017 22:36:40 +0000 (00:36 +0200)] 
conf: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoattach: non-functional changes
Christian Brauner [Fri, 25 Aug 2017 05:35:02 +0000 (07:35 +0200)] 
attach: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: do not check union on wrong net type
Christian Brauner [Thu, 24 Aug 2017 22:02:47 +0000 (00:02 +0200)] 
conf: do not check union on wrong net type

This will obviously not work.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: refactor network deletion
Christian Brauner [Thu, 24 Aug 2017 14:10:30 +0000 (16:10 +0200)] 
conf: refactor network deletion

I'm ashamed at how aweful my previous code was.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoopenvswitch: delete ports intelligently
Christian Brauner [Thu, 24 Aug 2017 13:31:38 +0000 (15:31 +0200)] 
openvswitch: delete ports intelligently

So far, when creating veth devices attached to openvswitch bridges we used to
fork() off a thread on container startup. This thread was kept around until the
container shut down. I have no good explanation why we did it that why but it's
certainly not necessary. Instead, let's fork() off the thread on container
shutdown to delete the veth.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agotemplates/ubuntu: conditionally move upstart ssh job, as it is now optional.
Dimitri John Ledkov [Tue, 29 Aug 2017 14:11:55 +0000 (15:11 +0100)] 
templates/ubuntu: conditionally move upstart ssh job, as it is now optional.

Mimic the code from the debian template.

Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
7 years agoarguments: non-functional changes
Christian Brauner [Fri, 25 Aug 2017 05:17:20 +0000 (07:17 +0200)] 
arguments: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoaf_unix: non-functional changes
Christian Brauner [Fri, 25 Aug 2017 05:11:26 +0000 (07:11 +0200)] 
af_unix: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agortnl: non-functional changes
Christian Brauner [Fri, 25 Aug 2017 05:07:43 +0000 (07:07 +0200)] 
rtnl: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: log lxc-user-nic output
Christian Brauner [Thu, 24 Aug 2017 11:43:15 +0000 (13:43 +0200)] 
conf: log lxc-user-nic output

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: non-functional changes
Christian Brauner [Thu, 24 Aug 2017 11:26:10 +0000 (13:26 +0200)] 
conf: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agonetwork: log cleanup thread pid for openswitch
Christian Brauner [Wed, 23 Aug 2017 20:10:21 +0000 (22:10 +0200)] 
network: log cleanup thread pid for openswitch

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoUse deb.debian.org as the default Debian mirror
Salvatore Bonaccorso [Thu, 24 Aug 2017 07:24:29 +0000 (09:24 +0200)] 
Use deb.debian.org as the default Debian mirror

The httpredir.debian.org service has been discontinued in favour of
deb.debian.org and httpredir.debian.org now redirects to deb.debian.org.

https://lists.debian.org/debian-mirrors/2017/02/msg00000.html
https://wiki.debian.org/DebianGeoMirror#httpredir.debian.org_.2F_http.debian.net

Cf. https://bugs.debian.org/872719

Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
7 years agocgroups: non-functional changes
Christian Brauner [Wed, 23 Aug 2017 23:32:32 +0000 (01:32 +0200)] 
cgroups: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: non-functional fixup
Christian Brauner [Wed, 23 Aug 2017 11:08:02 +0000 (13:08 +0200)] 
conf: non-functional fixup

Surfaced while building lxc-2.0.8 on e2k architecture with lcc,
looks like its -Wall is more pedantic than gcc's:

lcc: "conf.c", line 1514: error: unrecognized character escape sequence
          [-Werror]
        DEBUG("created directory for console and tty devices at \%s\"", path);
                                                                ^
 in expansion of macro "DEBUG" at line 1514

Another byte is a leading whitespace fix while at that.

Signed-off-by: Michael Shigorin <mike@altlinux.org>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agotools: add additional cgroup checks
Christian Brauner [Tue, 22 Aug 2017 12:22:21 +0000 (14:22 +0200)] 
tools: add additional cgroup checks

- list all cgroup v1 mountpoints
- list all cgroup v2 mountpoints
- report "missing" when no mountpoint for the systemd controller was found
- report "missing" when no mountpoint for the freezer controller was found

Closes https://github.com/lxc/lxd/issues/3687.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agotools: use "which"
Christian Brauner [Mon, 21 Aug 2017 15:33:30 +0000 (17:33 +0200)] 
tools: use "which"

Somehow "type" doesn't really work.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoAdd CONFIG_NETFILTER_XT_MATCH_COMMENT to lxc-checkconfig
Stéphane Graber [Sat, 19 Aug 2017 16:28:46 +0000 (12:28 -0400)] 
Add CONFIG_NETFILTER_XT_MATCH_COMMENT to lxc-checkconfig

Closes https://github.com/lxc/lxd/issues/3685

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
7 years agoconfile: lxc_listconfigs -> lxc_list_config_items
Christian Brauner [Thu, 10 Aug 2017 22:19:10 +0000 (00:19 +0200)] 
confile: lxc_listconfigs -> lxc_list_config_items

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconfile: non-functional changes
Christian Brauner [Thu, 10 Aug 2017 22:13:25 +0000 (00:13 +0200)] 
confile: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "debian: jessie and stretch keyring support"
Stéphane Graber [Fri, 11 Aug 2017 19:06:02 +0000 (15:06 -0400)] 
Revert "debian: jessie and stretch keyring support"

This reverts commit 87eacd4d49033d38d7e3257046079a77fd60e588.

While that commit looks right, the actual signing key doesn't match and
debootstrap therefore fails to bootstrap, as can be seen here:

https://jenkins.linuxcontainers.org/view/All/job/lxc-template-debian/

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
7 years agoFix mem leak with realpath
Shukui Yang [Fri, 11 Aug 2017 09:12:24 +0000 (17:12 +0800)] 
Fix mem leak with realpath

Signed-off-by: Shukui Yang <yangshukui@huawei.com>
7 years agoandroid: fix includes
Christian Brauner [Thu, 10 Aug 2017 21:00:12 +0000 (23:00 +0200)] 
android: fix includes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agolxccontainer: remove 5s timeout
Christian Brauner [Tue, 8 Aug 2017 19:48:48 +0000 (21:48 +0200)] 
lxccontainer: remove 5s timeout

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agodebian: jessie and stretch keyring support
有张纸 [Tue, 8 Aug 2017 10:06:38 +0000 (18:06 +0800)] 
debian: jessie and stretch keyring support

Signed-off-by: feng xiahou xiahoufeng@yahoo.com
7 years agodebian: Add buster as a valid release
Stéphane Graber [Mon, 7 Aug 2017 21:49:40 +0000 (17:49 -0400)] 
debian: Add buster as a valid release

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
7 years agostart: ensure cgroups are cleaned up
Christian Brauner [Thu, 3 Aug 2017 21:55:23 +0000 (23:55 +0200)] 
start: ensure cgroups are cleaned up

When a container is marked as being in STOPPED state it is possible for another
thread to start it again even though not all cleanup operations for that
container have finished. This is not a problem for most things like sockets and
friends which are unique to the container. It is however a problem for cgroups
which are named after that container in that we cause our cgroup driver to
waste cpu cycles finding a new cgroup name.

Closes  #1726.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agotravis: fix builds
Christian Brauner [Wed, 2 Aug 2017 16:41:57 +0000 (18:41 +0200)] 
travis: fix builds

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agouserns.conf: remove obsolete bind-mounts
Christian Brauner [Tue, 1 Aug 2017 23:31:16 +0000 (01:31 +0200)] 
userns.conf: remove obsolete bind-mounts

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: NOTICE() on mounts on container's /dev
Christian Brauner [Tue, 1 Aug 2017 23:28:35 +0000 (01:28 +0200)] 
conf: NOTICE() on mounts on container's /dev

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: lxc_fill_autodev()
Christian Brauner [Tue, 1 Aug 2017 21:34:50 +0000 (23:34 +0200)] 
conf: lxc_fill_autodev()

non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoutils: switch to has_fs_type()
Christian Brauner [Tue, 1 Aug 2017 21:33:43 +0000 (23:33 +0200)] 
utils: switch to has_fs_type()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoutils: add has_fs_type() + is_fs_type()
Christian Brauner [Tue, 1 Aug 2017 21:23:24 +0000 (23:23 +0200)] 
utils: add has_fs_type() + is_fs_type()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: mount_autodev()
Christian Brauner [Tue, 1 Aug 2017 20:54:09 +0000 (22:54 +0200)] 
conf: mount_autodev()

non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: lxchook_names
Christian Brauner [Tue, 1 Aug 2017 20:48:06 +0000 (22:48 +0200)] 
conf: lxchook_names

non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: mount_entry()
Christian Brauner [Tue, 1 Aug 2017 20:46:14 +0000 (22:46 +0200)] 
conf: mount_entry()

non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: cull_mntent_opt()
Christian Brauner [Tue, 1 Aug 2017 20:38:44 +0000 (22:38 +0200)] 
conf: cull_mntent_opt()

non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: mount_entry_create_dir_file()
Christian Brauner [Tue, 1 Aug 2017 20:35:29 +0000 (22:35 +0200)] 
conf: mount_entry_create_dir_file()

bugfixes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoandroid: include custom mntent
Christian Brauner [Tue, 1 Aug 2017 19:43:56 +0000 (21:43 +0200)] 
android: include custom mntent

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: mount_entry_on_generic()
Christian Brauner [Tue, 1 Aug 2017 20:18:38 +0000 (22:18 +0200)] 
conf: mount_entry_on_generic()

non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: mount_entry_on_systemfs()
Christian Brauner [Tue, 1 Aug 2017 20:15:56 +0000 (22:15 +0200)] 
conf: mount_entry_on_systemfs()

non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: mount_entry_on_absolute_rootfs()
Christian Brauner [Tue, 1 Aug 2017 20:14:48 +0000 (22:14 +0200)] 
conf: mount_entry_on_absolute_rootfs()

non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: setup_mount_entries()
Christian Brauner [Tue, 1 Aug 2017 20:11:32 +0000 (22:11 +0200)] 
conf: setup_mount_entries()

non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: make_anonymous_mount_file()
Christian Brauner [Tue, 1 Aug 2017 20:07:10 +0000 (22:07 +0200)] 
conf: make_anonymous_mount_file()

non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: setup_mount()
Christian Brauner [Tue, 1 Aug 2017 20:03:14 +0000 (22:03 +0200)] 
conf: setup_mount()

non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconf: mount_file_entries()
Christian Brauner [Tue, 1 Aug 2017 20:00:44 +0000 (22:00 +0200)] 
conf: mount_file_entries()

non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agotemplates/opensuse: support leap 42.3
Thomas Lamprecht [Tue, 1 Aug 2017 06:03:41 +0000 (08:03 +0200)] 
templates/opensuse: support leap 42.3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agotemplates/opensuse: getty.target.wants does not always exists
Thomas Lamprecht [Tue, 1 Aug 2017 06:03:07 +0000 (08:03 +0200)] 
templates/opensuse: getty.target.wants does not always exists

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agotemplates/opensuse: fix tumbleweed software selection
Thomas Lamprecht [Tue, 1 Aug 2017 05:48:21 +0000 (07:48 +0200)] 
templates/opensuse: fix tumbleweed software selection

tumbleweed needs a newer version for a few packages, namely:
* liblua5_3
* bncurses6
* breadline7

As Leap it also has no dhcpd, but udhcp which gets pulled in already.
Further iproute2 and net-tools need manual instalation.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agotemplates/opensuse: tumbleweed has no update repo
Thomas Lamprecht [Tue, 1 Aug 2017 05:34:43 +0000 (07:34 +0200)] 
templates/opensuse: tumbleweed has no update repo

As tumbleweed is a rolling release it has not update repository.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agoutils: rework lxc_deslashify()
Christian Brauner [Sat, 29 Jul 2017 21:10:17 +0000 (23:10 +0200)] 
utils: rework lxc_deslashify()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agotree-wide: struct bdev -> struct lxc_storage
Christian Brauner [Sat, 29 Jul 2017 15:04:44 +0000 (17:04 +0200)] 
tree-wide: struct bdev -> struct lxc_storage

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agostorage: rename files "bdev" -> "storage"
Christian Brauner [Sat, 29 Jul 2017 14:16:33 +0000 (16:16 +0200)] 
storage: rename files "bdev" -> "storage"

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoMerge pull request #1747 from brauner/2017-08-15/stable_2_0_cherry_picks
Stéphane Graber [Tue, 15 Aug 2017 19:21:11 +0000 (15:21 -0400)] 
Merge pull request #1747 from brauner/2017-08-15/stable_2_0_cherry_picks

stable 2.0: revert a bunch of cherry picks

7 years agostorage: handle overlay for stable 2.0 1747/head
Christian Brauner [Tue, 15 Aug 2017 19:05:42 +0000 (21:05 +0200)] 
storage: handle overlay for stable 2.0

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "storage: prefix all dir paths"
Christian Brauner [Tue, 15 Aug 2017 16:40:59 +0000 (18:40 +0200)] 
Revert "storage: prefix all dir paths"

This reverts commit 276fb978ee319c690e6c9ce9df16fb7a21953d2d.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "storage: add lxc_storage_get_path()"
Christian Brauner [Tue, 15 Aug 2017 16:34:54 +0000 (18:34 +0200)] 
Revert "storage: add lxc_storage_get_path()"

This reverts commit ef72d7d681c49c008bf9da2522c7ef436cf78f46.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "storage: prefix all btrfs paths"
Christian Brauner [Tue, 15 Aug 2017 16:33:21 +0000 (18:33 +0200)] 
Revert "storage: prefix all btrfs paths"

This reverts commit f405c0c5cadbadf5b0beb42a346ca52f593777d3.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "storage: prefix all lvm paths"
Christian Brauner [Tue, 15 Aug 2017 16:33:04 +0000 (18:33 +0200)] 
Revert "storage: prefix all lvm paths"

This reverts commit 6be74c07d0328f0d7b053524626bc83ae2b2276f.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "lvm: check whether lxc.bdev.lvm.vg is set"
Christian Brauner [Tue, 15 Aug 2017 16:32:06 +0000 (18:32 +0200)] 
Revert "lvm: check whether lxc.bdev.lvm.vg is set"

This reverts commit 0790b49260cbb48833367f3357b067fb851419cc.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "lvm: fix check"
Christian Brauner [Tue, 15 Aug 2017 16:30:13 +0000 (18:30 +0200)] 
Revert "lvm: fix check"

This reverts commit 63539ebf3425fa62bbcfda60e7ea1bc7dedef9ef.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "storage: prefix all nbd paths"
Christian Brauner [Tue, 15 Aug 2017 16:28:50 +0000 (18:28 +0200)] 
Revert "storage: prefix all nbd paths"

This reverts commit bdca6500054d3df9f704bcc5fe5d66f3837cce1b.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "storage: prefix all rbd paths"
Christian Brauner [Tue, 15 Aug 2017 16:28:35 +0000 (18:28 +0200)] 
Revert "storage: prefix all rbd paths"

This reverts commit 2e0e18cca610359ae132452bc3b190f3d0335688.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "storage: prefix all zfs paths"
Christian Brauner [Tue, 15 Aug 2017 16:28:22 +0000 (18:28 +0200)] 
Revert "storage: prefix all zfs paths"

This reverts commit aa7802e1095d19388b7b406c03e91a73d53a0b42.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "storage: handle prefixed rootfs paths"
Christian Brauner [Tue, 15 Aug 2017 16:27:53 +0000 (18:27 +0200)] 
Revert "storage: handle prefixed rootfs paths"

This reverts commit 84ae4b69653268029206317aabd5aaefa1f6a590.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "btrfs: simplify + bugfix"
Christian Brauner [Tue, 15 Aug 2017 16:14:59 +0000 (18:14 +0200)] 
Revert "btrfs: simplify + bugfix"

This reverts commit 874a329ca6fd92057a3d243bfa6200906051393a.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "lvm: non-functional changes"
Christian Brauner [Tue, 15 Aug 2017 16:14:46 +0000 (18:14 +0200)] 
Revert "lvm: non-functional changes"

This reverts commit 7a8d7de2476b61005d80503ab8c816809bbc2d89.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "overlay: simplify and adapt to "overlay""
Christian Brauner [Tue, 15 Aug 2017 16:14:33 +0000 (18:14 +0200)] 
Revert "overlay: simplify and adapt to "overlay""

This reverts commit 7f79cc4c3457459dc20c4e40398395c5150618a9.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "tools: remove empty snap directory"
Christian Brauner [Tue, 15 Aug 2017 16:14:19 +0000 (18:14 +0200)] 
Revert "tools: remove empty snap directory"

This reverts commit d51915386e22a19da131a578330ab1115905c326.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "btrfs: non-functional changes"
Christian Brauner [Tue, 15 Aug 2017 16:14:01 +0000 (18:14 +0200)] 
Revert "btrfs: non-functional changes"

This reverts commit fb49a3cbebd4cf6433517f8550528ecf2a8aceb9.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "btrfs: export btrfs_snapshot_wrapper()"
Christian Brauner [Tue, 15 Aug 2017 16:13:48 +0000 (18:13 +0200)] 
Revert "btrfs: export btrfs_snapshot_wrapper()"

This reverts commit 707f3fff59abe5db1033b4676e0063b35cfedd7b.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "btrfs: enable unprivileged snapshots"
Christian Brauner [Tue, 15 Aug 2017 16:13:34 +0000 (18:13 +0200)] 
Revert "btrfs: enable unprivileged snapshots"

This reverts commit 2d66f57109b542b7a7a4882db74658374d2b5745.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "btrfs: non-functional changes"
Christian Brauner [Tue, 15 Aug 2017 16:13:11 +0000 (18:13 +0200)] 
Revert "btrfs: non-functional changes"

This reverts commit 8e295bc1a95441ddcf5290153322b8ca78971d8f.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "btrfs: only chown_mapped_root() if not btrfs"
Christian Brauner [Tue, 15 Aug 2017 16:12:58 +0000 (18:12 +0200)] 
Revert "btrfs: only chown_mapped_root() if not btrfs"

This reverts commit d848b631492434985ffc5de9bbd7c631101077cb.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "btrfs: simplify"
Christian Brauner [Tue, 15 Aug 2017 16:12:45 +0000 (18:12 +0200)] 
Revert "btrfs: simplify"

This reverts commit 1aa0201f1446f1387c649467d86e923c9e9ecccf.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "btrfs: simplify"
Christian Brauner [Tue, 15 Aug 2017 16:12:31 +0000 (18:12 +0200)] 
Revert "btrfs: simplify"

This reverts commit 36c55bf31c67d5048b6dd7f85ac425f3b2e22fd3.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "storage: add create_{clone,snapshot}()"
Christian Brauner [Tue, 15 Aug 2017 16:12:18 +0000 (18:12 +0200)] 
Revert "storage: add create_{clone,snapshot}()"

This reverts commit 667fa8cef1afc88bbe20c04523521556cb2946ac.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "btrfs: switch to btrfs_create_{clone,snapshot}()"
Christian Brauner [Tue, 15 Aug 2017 16:12:05 +0000 (18:12 +0200)] 
Revert "btrfs: switch to btrfs_create_{clone,snapshot}()"

This reverts commit 618b655b4ed187b4853841813f9831b85987339a.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "storage: add arg to create_snapshot()"
Christian Brauner [Tue, 15 Aug 2017 16:11:52 +0000 (18:11 +0200)] 
Revert "storage: add arg to create_snapshot()"

This reverts commit a3e85dae4e02ad9d3b8fcf6bf301907ef55a7c01.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "storage: rework lvm backend"
Christian Brauner [Tue, 15 Aug 2017 16:11:26 +0000 (18:11 +0200)] 
Revert "storage: rework lvm backend"

This reverts commit 9a534c222664cb3b2705fcf523d67de8522011d1.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "dir: non-functional changes"
Christian Brauner [Tue, 15 Aug 2017 16:11:11 +0000 (18:11 +0200)] 
Revert "dir: non-functional changes"

This reverts commit 8f2896da31e7822eb7894a5ade9e11652fe75f7f.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "dir: improvements"
Christian Brauner [Tue, 15 Aug 2017 16:10:53 +0000 (18:10 +0200)] 
Revert "dir: improvements"

This reverts commit 23eb8575d414d8b448398e9ed45d83741296a1ca.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "bdev: non-functional changes"
Christian Brauner [Tue, 15 Aug 2017 16:10:36 +0000 (18:10 +0200)] 
Revert "bdev: non-functional changes"

This reverts commit 8608cb0bd3b4ecd8bdf57a397b43ee9f344b8870.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "rsync: add new rsync functions"
Christian Brauner [Tue, 15 Aug 2017 16:10:19 +0000 (18:10 +0200)] 
Revert "rsync: add new rsync functions"

This reverts commit 2ea2f3c8a6509cddbeebab92a0d3c56d4bf48be9.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoRevert "storage: switch to new rsync functions"
Christian Brauner [Tue, 15 Aug 2017 16:07:56 +0000 (18:07 +0200)] 
Revert "storage: switch to new rsync functions"

This reverts commit a493a694166e65edbf412433a605042cc0ac3d0e.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>