]> git.ipfire.org Git - thirdparty/lxc.git/log
thirdparty/lxc.git
7 years agotemplates/ubuntu: conditionally move upstart ssh job, as it is now optional. 1767/head
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 agoMerge pull request #1763 from brauner/2017-08-28/lxc_2.1_upgrade_script
Stéphane Graber [Mon, 28 Aug 2017 16:00:07 +0000 (12:00 -0400)] 
Merge pull request #1763 from brauner/2017-08-28/lxc_2.1_upgrade_script

lxc-update-config: handle legacy networks

7 years agolxc-update-config: handle legacy networks 1763/head
Christian Brauner [Mon, 28 Aug 2017 14:34:07 +0000 (16:34 +0200)] 
lxc-update-config: handle legacy networks

Older instances of liblxc allowed to specify networks like this:

lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = lxdbr0
lxc.network.name= eth0

lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = lxdbr0
lxc.network.name = eth1

Each occurrence of "lxc.network.type" indicated the definition of a new
network. This syntax is not allowed in newer liblxc instances. Instead, network
must carry an index. So in new liblxc these two networks would be translated to:

lxc.net.0.type = veth
lxc.net.0.flags = up
lxc.net.0.link = lxdbr0
lxc.net.0.name= eth0

lxc.net.1.type = veth
lxc.net.1.flags = up
lxc.net.1.link = lxdbr0
lxc.net.1.name = eth1

The update script did not handle this case correctly. It should now.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoMerge pull request #1757 from brauner/2017-08-10/further_lxc_2.1_preparations
Stéphane Graber [Fri, 25 Aug 2017 06:04:18 +0000 (02:04 -0400)] 
Merge pull request #1757 from brauner/2017-08-10/further_lxc_2.1_preparations

further lxc 2.1 preparations

7 years agoattach: non-functional changes 1757/head
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 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: 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 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 agolxc-user-nic: non-functional changes
Christian Brauner [Thu, 24 Aug 2017 10:57:18 +0000 (12:57 +0200)] 
lxc-user-nic: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agonetwork: non-functional changes
Christian Brauner [Wed, 23 Aug 2017 22:33:53 +0000 (00:33 +0200)] 
network: 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 agotests: add tests for lxc.cgroup.dir
Christian Brauner [Wed, 23 Aug 2017 23:18:36 +0000 (01:18 +0200)] 
tests: add tests for lxc.cgroup.dir

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconfile: add "lxc.cgroup.dir"
Christian Brauner [Wed, 23 Aug 2017 13:03:01 +0000 (15:03 +0200)] 
confile: add "lxc.cgroup.dir"

"lxc.cgroup.dir" can be used to set the name of the directory the container's
cgroup will be created in. For example, setting

    lxc.uts.name = c1
    lxc.cgroup.dir = lxd

would make liblxc create the cgroup

    lxd/c1

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoMerge pull request #1758 from carnil/master
Serge Hallyn [Thu, 24 Aug 2017 16:46:34 +0000 (11:46 -0500)] 
Merge pull request #1758 from carnil/master

Use deb.debian.org as the default Debian mirror

7 years agoUse deb.debian.org as the default Debian mirror 1758/head
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 agotree-wide: non-functional changes
Christian Brauner [Wed, 23 Aug 2017 08:58:22 +0000 (10:58 +0200)] 
tree-wide: non-functional changes

- replace all "//" with "/* */"

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoMerge pull request #1756 from brauner/2017-08-10/further_lxc_2.1_preparations
Serge Hallyn [Tue, 22 Aug 2017 19:42:31 +0000 (14:42 -0500)] 
Merge pull request #1756 from brauner/2017-08-10/further_lxc_2.1_preparations

further lxc 2.1 preparations

7 years agotools: add additional cgroup checks 1756/head
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 agoconfile: non-functional changes
Christian Brauner [Tue, 22 Aug 2017 10:43:18 +0000 (12:43 +0200)] 
confile: non-functional changes

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

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

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconfile: non-functional changes
Christian Brauner [Tue, 22 Aug 2017 09:53:29 +0000 (11:53 +0200)] 
confile: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoMerge pull request #1755 from brauner/2017-08-10/further_lxc_2.1_preparations
Stéphane Graber [Mon, 21 Aug 2017 22:36:56 +0000 (18:36 -0400)] 
Merge pull request #1755 from brauner/2017-08-10/further_lxc_2.1_preparations

templates: remove legacy key from busybox

7 years agotemplates: remove legacy key from busybox 1755/head
Christian Brauner [Mon, 21 Aug 2017 22:02:28 +0000 (00:02 +0200)] 
templates: remove legacy key from busybox

lxc.rebootsignal -> lxc.signal.reboot

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoMerge pull request #1750 from brauner/2017-08-10/further_lxc_2.1_preparations
Serge Hallyn [Mon, 21 Aug 2017 19:46:00 +0000 (14:46 -0500)] 
Merge pull request #1750 from brauner/2017-08-10/further_lxc_2.1_preparations

further lxc 2.1. preparations

7 years agoconf{,ile}: warn user once about legacy config 1750/head
Christian Brauner [Mon, 21 Aug 2017 16:06:20 +0000 (18:06 +0200)] 
conf{,ile}: warn user once about legacy config

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 agotools: add lxc-update-config.in
Christian Brauner [Wed, 16 Aug 2017 23:37:18 +0000 (01:37 +0200)] 
tools: add lxc-update-config.in

This tool can be used to switch from a pre 2.1 to a 2.1 config file.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconfile: lxc.id_map --> lxc.idmap
Christian Brauner [Mon, 21 Aug 2017 15:03:20 +0000 (17:03 +0200)] 
confile: lxc.id_map --> lxc.idmap

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoMerge pull request #1752 from stgraber/master
Christian Brauner [Sun, 20 Aug 2017 11:54:51 +0000 (13:54 +0200)] 
Merge pull request #1752 from stgraber/master

Add CONFIG_NETFILTER_XT_MATCH_COMMENT to lxc-checkconfig

7 years agoAdd CONFIG_NETFILTER_XT_MATCH_COMMENT to lxc-checkconfig 1752/head
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 agotest: add test to get subkeys
Christian Brauner [Tue, 15 Aug 2017 23:51:31 +0000 (01:51 +0200)] 
test: add test to get subkeys

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconfile: list namespaced keys
Christian Brauner [Tue, 15 Aug 2017 23:24:20 +0000 (01:24 +0200)] 
confile: list namespaced keys

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoconfile: lxc_getconfig() -> lxc_get_config()
Christian Brauner [Tue, 15 Aug 2017 23:05:06 +0000 (01:05 +0200)] 
confile: lxc_getconfig() -> lxc_get_config()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoMerge pull request #1746 from brauner/2017-08-10/further_lxc_2.1_preparations
Stéphane Graber [Tue, 15 Aug 2017 20:55:33 +0000 (16:55 -0400)] 
Merge pull request #1746 from brauner/2017-08-10/further_lxc_2.1_preparations

further lxc 2.1 preparations

7 years agoconfile: improve get_network_config_ops() 1746/head
Christian Brauner [Tue, 15 Aug 2017 20:10:24 +0000 (22:10 +0200)] 
confile: improve get_network_config_ops()

- handle lxc.net.<idx> keys without any subkey
- allow caller to pass NULL if caller doesn't need to retrieve deindexed key

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agostorage: add overlay as valid backend
Christian Brauner [Tue, 15 Aug 2017 18:02:45 +0000 (20:02 +0200)] 
storage: add overlay as valid backend

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
7 years agoMerge pull request #1739 from keloyang/mem-leak
Serge Hallyn [Sat, 12 Aug 2017 14:55:40 +0000 (09:55 -0500)] 
Merge pull request #1739 from keloyang/mem-leak

Fix mem leak with realpath

8 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>
8 years agoFix mem leak with realpath 1739/head
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>
8 years agoconfile: move lxc_list_net()
Christian Brauner [Thu, 10 Aug 2017 22:30:09 +0000 (00:30 +0200)] 
confile: move lxc_list_net()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
8 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>
8 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>
8 years agoconfile: rework lxc_list_net()
Christian Brauner [Thu, 10 Aug 2017 22:11:34 +0000 (00:11 +0200)] 
confile: rework lxc_list_net()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
8 years agoconfile: non-functional changes
Christian Brauner [Thu, 10 Aug 2017 21:48:59 +0000 (23:48 +0200)] 
confile: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
8 years agoconfile: cleanup
Christian Brauner [Thu, 10 Aug 2017 21:42:41 +0000 (23:42 +0200)] 
confile: cleanup

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
8 years agoMerge pull request #1738 from brauner/2017-08-10/fix_android
Stéphane Graber [Thu, 10 Aug 2017 21:41:18 +0000 (17:41 -0400)] 
Merge pull request #1738 from brauner/2017-08-10/fix_android

android: fix includes

8 years agoandroid: fix includes 1738/head
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>
8 years agoMerge pull request #1736 from brauner/2017-08-08/fix_gcc_warnings
Stéphane Graber [Thu, 10 Aug 2017 19:06:26 +0000 (15:06 -0400)] 
Merge pull request #1736 from brauner/2017-08-08/fix_gcc_warnings

cgfsng: do not use uninitialized variable

8 years agolxccontainer: remove 5s timeout 1736/head
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>
8 years agocgfsng: do not use uninitialized variable
Christian Brauner [Tue, 8 Aug 2017 18:35:43 +0000 (20:35 +0200)] 
cgfsng: do not use uninitialized variable

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
8 years agoMerge pull request #1735 from fanyeren/patch-20
Christian Brauner [Tue, 8 Aug 2017 14:48:11 +0000 (10:48 -0400)] 
Merge pull request #1735 from fanyeren/patch-20

debian: jessie and stretch keyring support

8 years agodebian: jessie and stretch keyring support 1735/head
有张纸 [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
8 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>
8 years agoMerge pull request #1729 from brauner/2017-08-03/ensure_cgroup_cleanup_before_restart
Serge Hallyn [Sat, 5 Aug 2017 03:15:40 +0000 (22:15 -0500)] 
Merge pull request #1729 from brauner/2017-08-03/ensure_cgroup_cleanup_before_restart

start: ensure cgroups are cleaned up

8 years agostart: ensure cgroups are cleaned up 1729/head
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>
8 years agoMerge pull request #1727 from brauner/2017-08-02/fix_travis
Stéphane Graber [Thu, 3 Aug 2017 02:12:36 +0000 (22:12 -0400)] 
Merge pull request #1727 from brauner/2017-08-02/fix_travis

travis: fix builds

8 years agoMerge pull request #1705 from brauner/2017-07-15/fix_clone
Serge Hallyn [Wed, 2 Aug 2017 17:30:06 +0000 (12:30 -0500)] 
Merge pull request #1705 from brauner/2017-07-15/fix_clone

storage: rework storage drivers

8 years agotravis: fix builds 1727/head
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>
8 years agoMerge pull request #1725 from brauner/2017-08-01/handle_pre_mounted_dev
Serge Hallyn [Wed, 2 Aug 2017 16:18:45 +0000 (11:18 -0500)] 
Merge pull request #1725 from brauner/2017-08-01/handle_pre_mounted_dev

conf: NOTICE() on mounts on container's /dev

8 years agouserns.conf: remove obsolete bind-mounts 1725/head
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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 years agoandroid: include custom mntent 1705/head
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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 years agoMerge pull request #1723 from brauner/2017-07-31/remove_utmp_watch
Serge Hallyn [Tue, 1 Aug 2017 19:59:32 +0000 (14:59 -0500)] 
Merge pull request #1723 from brauner/2017-07-31/remove_utmp_watch

start: remove utmp watch

8 years agoMerge pull request #1722 from brauner/2017-07-31/devpts_use_max_mount_option
Serge Hallyn [Tue, 1 Aug 2017 19:59:06 +0000 (14:59 -0500)] 
Merge pull request #1722 from brauner/2017-07-31/devpts_use_max_mount_option

devpts: use max=<count> option on mount

8 years agoMerge pull request #1724 from GamerSource/opensuse-template-improvements-v2
Christian Brauner [Tue, 1 Aug 2017 19:46:13 +0000 (15:46 -0400)] 
Merge pull request #1724 from GamerSource/opensuse-template-improvements-v2

Opensuse template improvements

8 years agooverlay: correctly restore from snapshot
Christian Brauner [Tue, 1 Aug 2017 17:54:24 +0000 (19:54 +0200)] 
overlay: correctly restore from snapshot

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
8 years agodevpts: use max=<count> option on mount 1722/head
Christian Brauner [Mon, 31 Jul 2017 20:54:38 +0000 (22:54 +0200)] 
devpts: use max=<count> option on mount

This will only work with kernels >= 3.4

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
8 years agostart: remove utmp watch 1723/head
Christian Brauner [Mon, 31 Jul 2017 21:04:54 +0000 (23:04 +0200)] 
start: remove utmp watch

Closes #1616.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
8 years agotemplates/opensuse: support leap 42.3 1724/head
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>
8 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>
8 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>
8 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>
8 years agooverlay: simplify logic
Christian Brauner [Sun, 30 Jul 2017 07:18:24 +0000 (09:18 +0200)] 
overlay: simplify logic

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
8 years agooverlay: correctly handle dependency tracking
Christian Brauner [Sat, 29 Jul 2017 21:10:28 +0000 (23:10 +0200)] 
overlay: correctly handle dependency tracking

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
8 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>
8 years agoaufs: mark deprecated
Christian Brauner [Sat, 29 Jul 2017 16:16:10 +0000 (18:16 +0200)] 
aufs: mark deprecated

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