]> git.proxmox.com Git - lxc.git/log
lxc.git
4 years agofix issues with shell detection on attach
Wolfgang Bumiller [Tue, 13 Aug 2019 12:01:27 +0000 (14:01 +0200)]
fix issues with shell detection on attach

Merge: attach: always use getent

Commit message:
In debian buster, some libnss plugins (if installed) can
cause getpwent to segfault instead of erroring out cleanly.
To avoid this, stick to always using getent.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agobump version to 3.1.0-63
Wolfgang Bumiller [Fri, 9 Aug 2019 09:48:30 +0000 (11:48 +0200)]
bump version to 3.1.0-63

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agomerge new apparmor profile update
Wolfgang Bumiller [Fri, 9 Aug 2019 08:49:43 +0000 (10:49 +0200)]
merge new apparmor profile update

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agobump version to 3.1.0-62
Wolfgang Bumiller [Mon, 5 Aug 2019 07:23:41 +0000 (09:23 +0200)]
bump version to 3.1.0-62

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agoupdate apparmor profile
Wolfgang Bumiller [Fri, 2 Aug 2019 11:01:30 +0000 (13:01 +0200)]
update apparmor profile

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agofixup
Wolfgang Bumiller [Thu, 11 Jul 2019 10:14:18 +0000 (12:14 +0200)]
fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agobump version to 3.1.0-61
Wolfgang Bumiller [Thu, 11 Jul 2019 10:13:23 +0000 (12:13 +0200)]
bump version to 3.1.0-61

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agobump compat to 11, fix reloading of lxc.service
Wolfgang Bumiller [Thu, 11 Jul 2019 10:11:27 +0000 (12:11 +0200)]
bump compat to 11, fix reloading of lxc.service

Add a patch to add an ExecReload for lxc.service, and use
the new dh_installsystemd instead of the old
dh_systemd_start.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agod/rules: whitespace fixup
Wolfgang Bumiller [Wed, 3 Jul 2019 14:29:32 +0000 (16:29 +0200)]
d/rules: whitespace fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agobuildsys: switch upload dist over to buster
Thomas Lamprecht [Wed, 22 May 2019 10:34:31 +0000 (12:34 +0200)]
buildsys: switch upload dist over to buster

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump version to 3.1.0-60
Thomas Lamprecht [Wed, 22 May 2019 10:30:23 +0000 (12:30 +0200)]
bump version to 3.1.0-60

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump debian compat level to 10
Thomas Lamprecht [Wed, 22 May 2019 10:28:27 +0000 (12:28 +0200)]
bump debian compat level to 10

This allows to remove a few dependencies and flags from dh which are
now implied or obsolete

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobuildsys: use dpkg-dev makefile helpers for pkg info
Thomas Lamprecht [Wed, 22 May 2019 10:28:08 +0000 (12:28 +0200)]
buildsys: use dpkg-dev makefile helpers for pkg info

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agobump version to 3.1.0-3
Wolfgang Bumiller [Tue, 12 Feb 2019 07:07:15 +0000 (08:07 +0100)]
bump version to 3.1.0-3

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agomerge fix for CVE-2019-5736
Wolfgang Bumiller [Tue, 12 Feb 2019 07:07:07 +0000 (08:07 +0100)]
merge fix for CVE-2019-5736

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agobump version to 3.1.0-2
Wolfgang Bumiller [Thu, 17 Jan 2019 08:24:16 +0000 (09:24 +0100)]
bump version to 3.1.0-2

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agomerge 2 fixups:
Wolfgang Bumiller [Thu, 17 Jan 2019 08:22:01 +0000 (09:22 +0100)]
merge 2 fixups:

* Revert "conf: remove extra MS_BIND with sysfs:mixed"
    This should let privileged Ubuntu 14.04 containers boot
    again.

* conf: use SYSERROR on lxc_write_to_file errors
    Slightly more useful error output in a specific error
    case.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agobuildsys: use dpkg-parsechangelog
Wolfgang Bumiller [Thu, 17 Jan 2019 08:32:04 +0000 (09:32 +0100)]
buildsys: use dpkg-parsechangelog

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoupdate to lxc-3.1.0
Wolfgang Bumiller [Wed, 2 Jan 2019 08:40:29 +0000 (09:40 +0100)]
update to lxc-3.1.0

The default cgroup pattern was switched from lxc/%n to
lxc.payload/%n, so add a ./configure option to revert this
change as PVE expects containers in lxc/%n.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agobump version to 3.0.2+pve1-5
Wolfgang Bumiller [Mon, 19 Nov 2018 11:16:52 +0000 (12:16 +0100)]
bump version to 3.0.2+pve1-5

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoRevert "d/control: bump compat to 10"
Wolfgang Bumiller [Mon, 19 Nov 2018 11:29:35 +0000 (12:29 +0100)]
Revert "d/control: bump compat to 10"

The new dh_systemd_start parameter behavior is stupid.
Might be less so with compat 11 later on...

This reverts commit 4d672101f14f9e5358b8b79bd11c3d9b783af482.

5 years agofix typo in package description
Oguz Bektas [Tue, 20 Nov 2018 09:11:11 +0000 (10:11 +0100)]
fix typo in package description

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
5 years agobump version to 3.0.2+pve1-4
Wolfgang Bumiller [Fri, 16 Nov 2018 11:13:16 +0000 (12:13 +0100)]
bump version to 3.0.2+pve1-4

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoapparmor: allow various ro,remount,bind mounts
Wolfgang Bumiller [Thu, 15 Nov 2018 11:21:56 +0000 (12:21 +0100)]
apparmor: allow various ro,remount,bind mounts

Required to enable new systemd sandboxing mechanisms.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agod/control: add missing build-dependencies
Wolfgang Bumiller [Thu, 8 Nov 2018 09:01:39 +0000 (10:01 +0100)]
d/control: add missing build-dependencies

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agod/control: set Source package to lxc-pve
Wolfgang Bumiller [Wed, 7 Nov 2018 16:06:35 +0000 (17:06 +0100)]
d/control: set Source package to lxc-pve

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agod/control: bump compat to 10
Wolfgang Bumiller [Wed, 7 Nov 2018 16:04:28 +0000 (17:04 +0100)]
d/control: bump compat to 10

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agobuildsys: split deb target into deb and src
Wolfgang Bumiller [Wed, 7 Nov 2018 16:01:47 +0000 (17:01 +0100)]
buildsys: split deb target into deb and src

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agobump version to 3.0.2+pve1-3
Wolfgang Bumiller [Thu, 11 Oct 2018 09:52:30 +0000 (11:52 +0200)]
bump version to 3.0.2+pve1-3

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agofixup patch names namespace separation patch
Wolfgang Bumiller [Thu, 11 Oct 2018 09:48:58 +0000 (11:48 +0200)]
fixup patch names namespace separation patch

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoAdd debian/SOURCE to docs to install
Rhonda D'Vine [Thu, 6 Sep 2018 07:22:35 +0000 (09:22 +0200)]
Add debian/SOURCE to docs to install

The lxc packages were missing the SOURCE file in the docs.

Signed-off-by: Rhonda D'Vine <rhonda@proxmox.com>
5 years agoremove some non-default lxc.cap.drop entries
Wolfgang Bumiller [Tue, 4 Sep 2018 13:00:12 +0000 (15:00 +0200)]
remove some non-default lxc.cap.drop entries

This really shouldn't be that much distro specific...

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agobump version to 3.0.2+pve1-2
Wolfgang Bumiller [Tue, 4 Sep 2018 12:51:22 +0000 (14:51 +0200)]
bump version to 3.0.2+pve1-2

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoremove .gitignore as it contains only 1 entry
Wolfgang Bumiller [Mon, 27 Aug 2018 09:49:29 +0000 (11:49 +0200)]
remove .gitignore as it contains only 1 entry

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agobuildsys: remove update-template-configs target
Wolfgang Bumiller [Mon, 27 Aug 2018 09:48:08 +0000 (11:48 +0200)]
buildsys: remove update-template-configs target

Most of them aren't needed and we want to try to get rid of
these distro-specific configuration files in the long run.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoconfig: opensuse.common: unset lxc.tty.dir key
Thomas Lamprecht [Thu, 23 Aug 2018 11:51:03 +0000 (13:51 +0200)]
config: opensuse.common: unset lxc.tty.dir key

not needed for *suse containers and results in cases where we get two
agetty processes when using xterm.js/noVNC (e.g., one on /dev/tty1
and one on /dev/lxc/tty1)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agobump version to 3.0.2+pve1-1
Wolfgang Bumiller [Mon, 20 Aug 2018 09:51:46 +0000 (11:51 +0200)]
bump version to 3.0.2+pve1-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agobump version to 3.0.1+pve2-1
Fabian Grünbichler [Tue, 7 Aug 2018 09:41:44 +0000 (11:41 +0200)]
bump version to 3.0.1+pve2-1

5 years agocherry-pick CVE-2018-6556 fix
Fabian Grünbichler [Tue, 7 Aug 2018 09:39:50 +0000 (11:39 +0200)]
cherry-pick CVE-2018-6556 fix

from upstream's stable-3.0 branch

5 years agobump version to 3.0.1+pve1-1
Wolfgang Bumiller [Thu, 19 Jul 2018 09:33:35 +0000 (11:33 +0200)]
bump version to 3.0.1+pve1-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
6 years agobump version to 3.0.0-3
Wolfgang Bumiller [Wed, 2 May 2018 08:50:37 +0000 (10:50 +0200)]
bump version to 3.0.0-3

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
6 years agomerge upstream bugfixes:
Wolfgang Bumiller [Wed, 2 May 2018 08:43:05 +0000 (10:43 +0200)]
merge upstream bugfixes:

  * fix some memory leaks
  * fix temp file creation
  * fix rootfs pinning with NFS
  * drop supplementary groups on attach
  * fix gid=5 mount option on /dev/pts

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
6 years agobump version to 3.0.0-2
Wolfgang Bumiller [Fri, 30 Mar 2018 08:20:02 +0000 (10:20 +0200)]
bump version to 3.0.0-2

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
6 years agoinstall lxc-template configs again
Wolfgang Bumiller [Fri, 30 Mar 2018 08:17:26 +0000 (10:17 +0200)]
install lxc-template configs again

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
6 years agoupdate configs from lxc-templates
Wolfgang Bumiller [Fri, 30 Mar 2018 08:16:54 +0000 (10:16 +0200)]
update configs from lxc-templates

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
6 years agobuildsys: GITVERSION fixup
Wolfgang Bumiller [Fri, 30 Mar 2018 07:50:10 +0000 (09:50 +0200)]
buildsys: GITVERSION fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
6 years agobump version to 3.0.0-1
Wolfgang Bumiller [Wed, 28 Mar 2018 11:53:28 +0000 (13:53 +0200)]
bump version to 3.0.0-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
6 years agobump version to 2.1.1-3
Fabian Grünbichler [Mon, 5 Mar 2018 11:34:06 +0000 (12:34 +0100)]
bump version to 2.1.1-3

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
6 years agoreplace AA's feature-set with custom one
Fabian Grünbichler [Mon, 5 Mar 2018 11:34:05 +0000 (12:34 +0100)]
replace AA's feature-set with custom one

Debian's apparmor package introduced feature-set pinning in Debian
Stretch 9.4 to prevent problems with AA profiles packaged in Debian
Stretch which target Debian Stretch's 4.9 based kernel.

Since our LXC profiles rely on features not included in this feature
set, we need to replace the pinned feature-set with our own.

The features file is not a conf-file, so it is possible to just
dpkg-divert it on installation/upgrades.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
6 years agoadd AA feature set for 4.13.13-6-pve
Fabian Grünbichler [Mon, 5 Mar 2018 11:34:04 +0000 (12:34 +0100)]
add AA feature set for 4.13.13-6-pve

copied from /etc/apparmor.d/cache/.features with disabled
feature-pinning to obtain kernel feature set

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
6 years agobump version to 2.1.1-2
Wolfgang Bumiller [Fri, 24 Nov 2017 12:48:07 +0000 (13:48 +0100)]
bump version to 2.1.1-2

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
6 years agomerge lxc-console improvements from stable branch
Wolfgang Bumiller [Fri, 24 Nov 2017 12:46:51 +0000 (13:46 +0100)]
merge lxc-console improvements from stable branch

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
6 years agobuildsys: cleanup & dbgsym package switch
Wolfgang Bumiller [Mon, 20 Nov 2017 13:15:37 +0000 (14:15 +0100)]
buildsys: cleanup & dbgsym package switch

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
6 years agobump version to 2.1.1-1
Wolfgang Bumiller [Mon, 20 Nov 2017 10:14:38 +0000 (11:14 +0100)]
bump version to 2.1.1-1

And switch to using submodules.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
6 years agoremove old README
Wolfgang Bumiller [Mon, 20 Nov 2017 10:15:06 +0000 (11:15 +0100)]
remove old README

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
6 years agobuild: reformat debian/control
Fabian Grünbichler [Wed, 4 Oct 2017 09:05:33 +0000 (11:05 +0200)]
build: reformat debian/control

using wrap-and-sort -abt

6 years agobump version to 2.1.0-2
Wolfgang Bumiller [Tue, 19 Sep 2017 08:06:43 +0000 (10:06 +0200)]
bump version to 2.1.0-2

6 years agoupdate cgroup namespace separation patches
Wolfgang Bumiller [Tue, 19 Sep 2017 08:04:57 +0000 (10:04 +0200)]
update cgroup namespace separation patches

6 years agobump version to 2.1.0-1
Wolfgang Bumiller [Wed, 6 Sep 2017 08:45:32 +0000 (10:45 +0200)]
bump version to 2.1.0-1

6 years agoupdate to lxc-2.1.0
Wolfgang Bumiller [Wed, 6 Sep 2017 08:43:45 +0000 (10:43 +0200)]
update to lxc-2.1.0

6 years agobump version to 2.0.8-3
Wolfgang Bumiller [Fri, 30 Jun 2017 09:02:08 +0000 (11:02 +0200)]
bump version to 2.0.8-3

6 years agofix a segfault in lxc-attach
Wolfgang Bumiller [Fri, 30 Jun 2017 09:01:14 +0000 (11:01 +0200)]
fix a segfault in lxc-attach

6 years agobump version to 2.0.8-2
Wolfgang Bumiller [Wed, 31 May 2017 12:00:17 +0000 (14:00 +0200)]
bump version to 2.0.8-2

6 years agomerge resource limits and additional fixes
Wolfgang Bumiller [Wed, 31 May 2017 12:00:13 +0000 (14:00 +0200)]
merge resource limits and additional fixes

6 years agobump version to 2.0.8-1
Wolfgang Bumiller [Fri, 12 May 2017 13:03:55 +0000 (15:03 +0200)]
bump version to 2.0.8-1

7 years agoupdate clean target
Wolfgang Bumiller [Fri, 10 Mar 2017 13:33:54 +0000 (14:33 +0100)]
update clean target

7 years agobump version to 2.0.7-500 for stretch
Wolfgang Bumiller [Fri, 10 Mar 2017 13:33:08 +0000 (14:33 +0100)]
bump version to 2.0.7-500 for stretch

7 years agobump version to 2.0.7-4
Wolfgang Bumiller [Fri, 10 Mar 2017 08:28:55 +0000 (09:28 +0100)]
bump version to 2.0.7-4

7 years agomerge: CVE-2017-5985: Ensure target netns is caller-owned
Wolfgang Bumiller [Fri, 10 Mar 2017 08:10:53 +0000 (09:10 +0100)]
merge: CVE-2017-5985: Ensure target netns is caller-owned

7 years agofix whitespace error
Fabian Grünbichler [Tue, 14 Feb 2017 12:37:00 +0000 (13:37 +0100)]
fix whitespace error

7 years agowe're replacing with liblxc1
Wolfgang Bumiller [Fri, 10 Feb 2017 14:14:09 +0000 (15:14 +0100)]
we're replacing with liblxc1

7 years agobuildsys: rules: use build architecture
Wolfgang Bumiller [Fri, 10 Feb 2017 14:13:57 +0000 (15:13 +0100)]
buildsys: rules: use build architecture

7 years agobump version to 2.0.7-3
Wolfgang Bumiller [Fri, 10 Feb 2017 11:07:25 +0000 (12:07 +0100)]
bump version to 2.0.7-3

7 years agoswitch to git-patch workflow; add lxc-monitord.service
Wolfgang Bumiller [Fri, 10 Feb 2017 09:28:26 +0000 (10:28 +0100)]
switch to git-patch workflow; add lxc-monitord.service

7 years agoenable parallel builds
Wolfgang Bumiller [Fri, 10 Feb 2017 11:01:44 +0000 (12:01 +0100)]
enable parallel builds

7 years agoremove patch which has gone upstream
Wolfgang Bumiller [Thu, 9 Feb 2017 12:26:48 +0000 (13:26 +0100)]
remove patch which has gone upstream

7 years agobuildsys: job-safe deb target
Wolfgang Bumiller [Thu, 9 Feb 2017 12:25:52 +0000 (13:25 +0100)]
buildsys: job-safe deb target

7 years agodrop cgmanager.service dependencies
Wolfgang Bumiller [Thu, 2 Feb 2017 15:38:38 +0000 (16:38 +0100)]
drop cgmanager.service dependencies

7 years agobuildsys: make job safety
Wolfgang Bumiller [Tue, 7 Feb 2017 12:36:50 +0000 (13:36 +0100)]
buildsys: make job safety

7 years agobump version to 2.0.7-2
Wolfgang Bumiller [Thu, 2 Feb 2017 13:12:34 +0000 (14:12 +0100)]
bump version to 2.0.7-2

7 years agoalso remove the Delegate option from lxc@.service
Wolfgang Bumiller [Thu, 2 Feb 2017 13:08:41 +0000 (14:08 +0100)]
also remove the Delegate option from lxc@.service

7 years agouse forking mode for lxc@.service
Wolfgang Bumiller [Thu, 2 Feb 2017 10:17:34 +0000 (11:17 +0100)]
use forking mode for lxc@.service

7 years agoupdate to lxc-2.0.7
Wolfgang Bumiller [Wed, 25 Jan 2017 09:48:54 +0000 (10:48 +0100)]
update to lxc-2.0.7

7 years agobump version to 2.0.6-5
Wolfgang Bumiller [Fri, 23 Dec 2016 14:54:27 +0000 (15:54 +0100)]
bump version to 2.0.6-5

7 years agoupdate cgroup namespace separation patches
Wolfgang Bumiller [Fri, 23 Dec 2016 14:53:35 +0000 (15:53 +0100)]
update cgroup namespace separation patches

7 years agobump version to 2.0.6-4
Wolfgang Bumiller [Thu, 22 Dec 2016 13:50:00 +0000 (14:50 +0100)]
bump version to 2.0.6-4

7 years agorestore backward cgroup namespace backward compatibility
Wolfgang Bumiller [Thu, 22 Dec 2016 13:49:18 +0000 (14:49 +0100)]
restore backward cgroup namespace backward compatibility

7 years agobump version to 2.0.6-3
Wolfgang Bumiller [Thu, 22 Dec 2016 11:24:34 +0000 (12:24 +0100)]
bump version to 2.0.6-3

7 years agoupdate cgroup namespace separation patches
Wolfgang Bumiller [Thu, 22 Dec 2016 11:23:39 +0000 (12:23 +0100)]
update cgroup namespace separation patches

7 years agobump version to 2.0.6-2
Wolfgang Bumiller [Fri, 2 Dec 2016 13:24:56 +0000 (14:24 +0100)]
bump version to 2.0.6-2

7 years agomerge: tools: lxc-start: set configfile after load_config
Wolfgang Bumiller [Fri, 2 Dec 2016 13:17:20 +0000 (14:17 +0100)]
merge: tools: lxc-start: set configfile after load_config

7 years agobuild-dependencies: add bash-completion
Wolfgang Bumiller [Thu, 24 Nov 2016 08:48:55 +0000 (09:48 +0100)]
build-dependencies: add bash-completion

7 years agoupdate to lxc-2.0.6
Wolfgang Bumiller [Thu, 24 Nov 2016 08:27:20 +0000 (09:27 +0100)]
update to lxc-2.0.6

7 years agobump version to 2.0.5-2
Wolfgang Bumiller [Tue, 15 Nov 2016 14:58:57 +0000 (15:58 +0100)]
bump version to 2.0.5-2

7 years agoadd cgroup-namespace separation directory patch
Wolfgang Bumiller [Tue, 15 Nov 2016 09:13:27 +0000 (10:13 +0100)]
add cgroup-namespace separation directory patch

7 years agodrop: use /var/lib/vz as default dir patch
Wolfgang Bumiller [Tue, 15 Nov 2016 09:19:26 +0000 (10:19 +0100)]
drop: use /var/lib/vz as default dir patch

This made lxc-create use /var/lib/vz/private as default
storage which doesn't really make much sense.
(We use images/$vmid/vm-$vmid-disk-$id.subvol/ for size=0
storages and the private/ directory isn't really used at all
anymore).

7 years agopackaging: drop old unused patch files
Wolfgang Bumiller [Tue, 15 Nov 2016 08:53:17 +0000 (09:53 +0100)]
packaging: drop old unused patch files

7 years agooverride dh_fixperms to fix lxc-user-nic permissions
Wolfgang Bumiller [Thu, 3 Nov 2016 09:25:20 +0000 (10:25 +0100)]
override dh_fixperms to fix lxc-user-nic permissions

It's supposed to be setuid root and is required for
unprivileged users to directly use lxc-start.

7 years agoconf: merge network namespace move & rename on shutdown
Wolfgang Bumiller [Wed, 9 Nov 2016 10:18:17 +0000 (11:18 +0100)]
conf: merge network namespace move & rename on shutdown

This is upstream already and fixes issues with shutting down
and restarting containers with a physical network device
passed through.

7 years agoadd fix for rw sysfs issue
Fabian Grünbichler [Wed, 9 Nov 2016 08:43:51 +0000 (09:43 +0100)]
add fix for rw sysfs issue

originally reported by Patrick William of Rack911Labs.

note: this has a slight (but unavoidable) potential for
breakage for containers that need a rw /sys for whatever
reason. those should already have set "lxc.mount.auto" to
contain "sys:rw" (or use a custom AA profile), because
remounting /sys rw is only possible with trickery inside the
container even without this patch.