]> git.proxmox.com Git - lxc.git/log
lxc.git
10 days agobump version to 6.0.0-1 master
Wolfgang Bumiller [Fri, 5 Apr 2024 11:13:13 +0000 (13:13 +0200)]
bump version to 6.0.0-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
10 days agoupdate apparmor features file to 6.2.16-1-pve kernel
Wolfgang Bumiller [Fri, 5 Apr 2024 12:27:18 +0000 (14:27 +0200)]
update apparmor features file to 6.2.16-1-pve kernel

note that removing it was not enough in bookworm, since debian's stock
one fails for us

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
10 days agorevert apparmor changes depending on newer apparmor
Wolfgang Bumiller [Fri, 5 Apr 2024 11:15:50 +0000 (13:15 +0200)]
revert apparmor changes depending on newer apparmor

this particular patch requires apparmor userspace version 3.0.11 or
above and we're currently at 3.0.8

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
10 days agoupdate to lxc 6.0
Wolfgang Bumiller [Fri, 5 Apr 2024 11:09:18 +0000 (13:09 +0200)]
update to lxc 6.0

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
10 months agomerge upstream lxc-templates configs
Wolfgang Bumiller [Fri, 9 Jun 2023 06:19:01 +0000 (08:19 +0200)]
merge upstream lxc-templates configs

note that we have 1 difference to upstream,
from 612ec1f0543d ("config: opensuse.common: unset lxc.tty.dir key")

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
11 months agobuildsys: add sbuild target for convenience
Thomas Lamprecht [Mon, 8 May 2023 10:37:31 +0000 (12:37 +0200)]
buildsys: add sbuild target for convenience

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agobuildsys: fix source tarball generation directory level one-off
Thomas Lamprecht [Mon, 8 May 2023 10:36:29 +0000 (12:36 +0200)]
buildsys: fix source tarball generation directory level one-off

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agobump version to 5.0.2-4
Thomas Lamprecht [Fri, 5 May 2023 10:41:54 +0000 (12:41 +0200)]
bump version to 5.0.2-4

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agod/control: fixup dependency for libgnutlsxx30
Thomas Lamprecht [Fri, 5 May 2023 10:40:57 +0000 (12:40 +0200)]
d/control: fixup dependency for libgnutlsxx30

did not stuck out on build as the dev package still is
libgnutlsxx28-dev ...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agobump version to 5.0.2-3
Thomas Lamprecht [Fri, 5 May 2023 08:26:41 +0000 (10:26 +0200)]
bump version to 5.0.2-3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agodrop patch adding depreacated syslog.target ordering to lxc.service
Thomas Lamprecht [Fri, 5 May 2023 10:15:30 +0000 (12:15 +0200)]
drop patch adding depreacated syslog.target ordering to lxc.service

that target doesn't exist anymore and log availability is normally
guaranteed through the systemd journald socket auto-activation.

Fixes a lintian warning.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agobuildsys: don't pass no-clean flag for source package build
Thomas Lamprecht [Fri, 5 May 2023 10:14:04 +0000 (12:14 +0200)]
buildsys: don't pass no-clean flag for source package build

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agodebian hooks: add #DEBHELPER# stanza to preinst and postrm
Thomas Lamprecht [Fri, 5 May 2023 09:22:12 +0000 (11:22 +0200)]
debian hooks: add #DEBHELPER# stanza to preinst and postrm

No difference for preinst (besides lintian being happy without an
extra override) and for postrm we get quite a bit of code handling
cleanup of service and apparmor stuff on package purge, plus some
sytemd daemon reload on remove.

Looks clean enough to not cause any trouble and neither Fabian G. nor
Wolfgang B. see (or remember) any reason against doing this.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agobuildsys: expand clean target
Thomas Lamprecht [Fri, 5 May 2023 08:26:26 +0000 (10:26 +0200)]
buildsys: expand clean target

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agobuildsys: fix dsc target, generate source tarball manually
Thomas Lamprecht [Fri, 5 May 2023 08:21:18 +0000 (10:21 +0200)]
buildsys: fix dsc target, generate source tarball manually

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agoswitch upload dist over to bookworm
Thomas Lamprecht [Fri, 5 May 2023 08:20:55 +0000 (10:20 +0200)]
switch upload dist over to bookworm

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
13 months agobump version to 5.0.2-2
Wolfgang Bumiller [Mon, 27 Feb 2023 10:13:34 +0000 (11:13 +0100)]
bump version to 5.0.2-2

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
13 months agoadd patch to deal with empty profile files
Wolfgang Bumiller [Mon, 27 Feb 2023 10:11:53 +0000 (11:11 +0100)]
add patch to deal with empty profile files

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
13 months agocleanup old files
Wolfgang Bumiller [Mon, 27 Feb 2023 10:11:38 +0000 (11:11 +0100)]
cleanup old files

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
14 months agobump version to 5.0.2-1
Wolfgang Bumiller [Thu, 19 Jan 2023 09:01:17 +0000 (10:01 +0100)]
bump version to 5.0.2-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
14 months agorename static lib back to liblxc.a
Wolfgang Bumiller [Thu, 19 Jan 2023 09:06:40 +0000 (10:06 +0100)]
rename static lib back to liblxc.a

See lxc commit 7d6b534386ac ("src/lxc/meson.build: fix the static library path")

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
14 months agoupdate to lxc-5.0.2
Wolfgang Bumiller [Thu, 19 Jan 2023 09:00:39 +0000 (10:00 +0100)]
update to lxc-5.0.2

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
15 months agobuild: add systemd to build-depends
Fabian Grünbichler [Tue, 10 Jan 2023 10:29:35 +0000 (11:29 +0100)]
build: add systemd to build-depends

else the build fails in a minimal environment.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
18 months agocopyright: fix typo in address
Matthias Heiserer [Mon, 10 Oct 2022 12:12:20 +0000 (14:12 +0200)]
copyright: fix typo in address

Signed-off-by: Matthias Heiserer <m.heiserer@proxmox.com>
21 months agobump version to 5.0.0-3
Wolfgang Bumiller [Mon, 4 Jul 2022 09:40:12 +0000 (11:40 +0200)]
bump version to 5.0.0-3

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
21 months agopull in more fixes from master
Wolfgang Bumiller [Mon, 4 Jul 2022 09:38:57 +0000 (11:38 +0200)]
pull in more fixes from master

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
21 months agobump version to 5.0.0-2
Wolfgang Bumiller [Fri, 1 Jul 2022 09:30:44 +0000 (11:30 +0200)]
bump version to 5.0.0-2

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
21 months agoupdate patches to fix fuse bind mounting
Wolfgang Bumiller [Fri, 1 Jul 2022 09:29:54 +0000 (11:29 +0200)]
update patches to fix fuse bind mounting

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
21 months agoadd d/source/format
Wolfgang Bumiller [Fri, 1 Jul 2022 09:45:21 +0000 (11:45 +0200)]
add d/source/format

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
21 months agobump version to 5.0.0-1
Wolfgang Bumiller [Wed, 22 Jun 2022 09:47:00 +0000 (11:47 +0200)]
bump version to 5.0.0-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
21 months agoupdate to meson build system for lxc-5
Wolfgang Bumiller [Wed, 22 Jun 2022 09:26:07 +0000 (11:26 +0200)]
update to meson build system for lxc-5

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
21 months agoupdate patches for lxc-5
Wolfgang Bumiller [Wed, 22 Jun 2022 09:14:43 +0000 (11:14 +0200)]
update patches for lxc-5

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
21 months agoupdate to lxc-5.0.0
Wolfgang Bumiller [Wed, 22 Jun 2022 09:14:01 +0000 (11:14 +0200)]
update to lxc-5.0.0

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agobump version to 4.0.12-1
Wolfgang Bumiller [Mon, 4 Apr 2022 09:30:01 +0000 (11:30 +0200)]
bump version to 4.0.12-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agoupdate patches for lxc-4.0.12
Wolfgang Bumiller [Mon, 4 Apr 2022 09:27:40 +0000 (11:27 +0200)]
update patches for lxc-4.0.12

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agoupdate to lxc-4.0.12
Wolfgang Bumiller [Mon, 4 Apr 2022 09:26:47 +0000 (11:26 +0200)]
update to lxc-4.0.12

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agobump version to 4.0.11-1
Wolfgang Bumiller [Thu, 2 Dec 2021 09:39:05 +0000 (10:39 +0100)]
bump version to 4.0.11-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agod/install: fix completion dir entry
Wolfgang Bumiller [Thu, 2 Dec 2021 09:42:15 +0000 (10:42 +0100)]
d/install: fix completion dir entry

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agoupdate patches for lxc-4.0.11
Wolfgang Bumiller [Thu, 2 Dec 2021 09:32:22 +0000 (10:32 +0100)]
update patches for lxc-4.0.11

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agoupdate to lxc-4.0.11
Wolfgang Bumiller [Thu, 2 Dec 2021 09:12:40 +0000 (10:12 +0100)]
update to lxc-4.0.11

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agobump version to 4.0.9-4
Thomas Lamprecht [Tue, 20 Jul 2021 15:28:18 +0000 (17:28 +0200)]
bump version to 4.0.9-4

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agopatches: update series file with latest patches
Stoiko Ivanov [Tue, 20 Jul 2021 15:09:09 +0000 (17:09 +0200)]
patches: update series file with latest patches

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agobump version to 4.0.9-3
Thomas Lamprecht [Tue, 20 Jul 2021 11:35:24 +0000 (13:35 +0200)]
bump version to 4.0.9-3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoadd patches for cgroup handling in non-unified cgroup setups
Stoiko Ivanov [Tue, 20 Jul 2021 10:52:00 +0000 (12:52 +0200)]
add patches for cgroup handling in non-unified cgroup setups

I opened a PR at lxc-upstream with these changes [0].

Testing in my hybrid layout environment fixes the issue with
priviledged container reported in the forum.
(Note that the issue also occurs with unprivileged container, if they
have a `lxc.cgroup.devices.(allow|deny)` entry (which they don't in
our default config)

[0] https://github.com/lxc/lxc/pull/3911

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agobump version to 4.0.9-2
Wolfgang Bumiller [Mon, 5 Jul 2021 07:54:55 +0000 (09:54 +0200)]
bump version to 4.0.9-2

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agoadd patch to include userns.conf.d/
Wolfgang Bumiller [Mon, 5 Jul 2021 07:04:43 +0000 (09:04 +0200)]
add patch to include userns.conf.d/

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agobuildsys: change upload dist to bullseye
Thomas Lamprecht [Tue, 8 Jun 2021 07:38:38 +0000 (09:38 +0200)]
buildsys: change upload dist to bullseye

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobump version to 4.0.9-1
Thomas Lamprecht [Wed, 12 May 2021 17:25:01 +0000 (19:25 +0200)]
bump version to 4.0.9-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agolxc-pve: adapt to new file locations
Thomas Lamprecht [Wed, 12 May 2021 17:24:38 +0000 (19:24 +0200)]
lxc-pve: adapt to new file locations

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agod/control: drop pve-libseccomp2.4-dev in favor of debians now new enough one
Thomas Lamprecht [Wed, 12 May 2021 17:24:00 +0000 (19:24 +0200)]
d/control: drop pve-libseccomp2.4-dev in favor of debians now new enough one

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agod/control: bump debhelper compat to >= 12
Thomas Lamprecht [Wed, 12 May 2021 17:22:18 +0000 (19:22 +0200)]
d/control: bump debhelper compat to >= 12

where the previously deprecated passing of fail-missing to dh_install
got an real error, so adapt to that and use the new dh_missing
debhelper.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoimport LXC 4.0.9 and update patches
Thomas Lamprecht [Wed, 12 May 2021 17:21:45 +0000 (19:21 +0200)]
import LXC 4.0.9 and update patches

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobump version to 4.0.6-2
Thomas Lamprecht [Tue, 9 Feb 2021 06:53:53 +0000 (07:53 +0100)]
bump version to 4.0.6-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoupdate to current stable-4.0
Thomas Lamprecht [Tue, 9 Feb 2021 06:49:18 +0000 (07:49 +0100)]
update to current stable-4.0

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobump version to 4.0.6-1
Wolfgang Bumiller [Mon, 25 Jan 2021 10:27:03 +0000 (11:27 +0100)]
bump version to 4.0.6-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agoupdate to lxc-4.0.6
Wolfgang Bumiller [Mon, 25 Jan 2021 10:26:30 +0000 (11:26 +0100)]
update to lxc-4.0.6

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agobump version to 4.0.3-1
Wolfgang Bumiller [Fri, 31 Jul 2020 09:09:21 +0000 (11:09 +0200)]
bump version to 4.0.3-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agorebase on lxc-4.0.3 tag
Wolfgang Bumiller [Fri, 31 Jul 2020 09:07:51 +0000 (11:07 +0200)]
rebase on lxc-4.0.3 tag

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agomerge fix for busy-looping on cgroup events
Wolfgang Bumiller [Thu, 30 Jul 2020 13:08:35 +0000 (15:08 +0200)]
merge fix for busy-looping on cgroup events

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agoapparmor: add rule for allowing remount of boot_id
Stoiko Ivanov [Wed, 22 Jul 2020 11:05:05 +0000 (13:05 +0200)]
apparmor: add rule for allowing remount of boot_id

commit 863845075d3f77d27c91bd9f47d2f8ddc4867bd5 in upstream only partially
fixes the apparmor deny for mounting boot_id (used for example for identifying
different boots with `journalctl`) inside the container.

Tested by editing the profile and replacing it disregarding the cache:
`apparmor_parser -W -T -r /etc/apparmor.d/usr.bin.lxc-start`

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agoupdate lxc to include fixes for cgroupv2 setups
Stoiko Ivanov [Wed, 22 Jul 2020 11:05:04 +0000 (13:05 +0200)]
update lxc to include fixes for cgroupv2 setups

This commit fast-forwards 7 commits from upstream/master. The first commit
(partially) fixes a missing apparmor rule for /proc/sys/kernel/random/boot_id)

The last commit fixes running containers in pure cgroupv2 environments (by
premounting cgroup2).

It contains one other fix for a netlink bug, which I haven't seen in our
support channels, thus assume limited potential for regressions.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agobump version to 4.0.2-1
Wolfgang Bumiller [Mon, 20 Apr 2020 09:49:32 +0000 (11:49 +0200)]
bump version to 4.0.2-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agobump version to 4.0.0-2
Wolfgang Bumiller [Tue, 7 Apr 2020 08:53:57 +0000 (10:53 +0200)]
bump version to 4.0.0-2

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agoupdate to current master: devices cgroup isolation fixes
Wolfgang Bumiller [Tue, 7 Apr 2020 07:07:08 +0000 (09:07 +0200)]
update to current master: devices cgroup isolation fixes

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agobump version to 4.0.0-1
Wolfgang Bumiller [Fri, 27 Mar 2020 08:59:10 +0000 (09:59 +0100)]
bump version to 4.0.0-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agopve-container is going to 3.1-1, update Breaks
Wolfgang Bumiller [Mon, 6 Apr 2020 12:23:59 +0000 (14:23 +0200)]
pve-container is going to 3.1-1, update Breaks

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agoBreaks: pve-container (<= 3.0-24)
Wolfgang Bumiller [Mon, 6 Apr 2020 09:19:21 +0000 (11:19 +0200)]
Breaks: pve-container (<= 3.0-24)

We dropped some configuration aptches with lxc-4 which
pve-container needs to account for when writing a
container's /var/lib/lxc/$vmid/config file, so lxc-4 should
not be used with an older pve-container package.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agoupdate to master / lxc-4.0.0+fixes
Wolfgang Bumiller [Fri, 27 Mar 2020 08:56:36 +0000 (09:56 +0100)]
update to master / lxc-4.0.0+fixes

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agopostinst fixup
Wolfgang Bumiller [Thu, 2 Apr 2020 13:24:08 +0000 (15:24 +0200)]
postinst fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agopostinst: reload/restart lxc.service later
Fabian Grünbichler [Wed, 6 Nov 2019 10:08:54 +0000 (11:08 +0100)]
postinst: reload/restart lxc.service later

since the debhelper-generated default enabling should come before we
attempt to start/reload/restart it.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
4 years agopostinst: ignore lxc.service reload errors
Fabian Grünbichler [Wed, 6 Nov 2019 10:08:53 +0000 (11:08 +0100)]
postinst: ignore lxc.service reload errors

otherwise this could fail posinst execution (and thus package
installation!) on systems coming from plain Debian, or where lxc.service
is masked.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
4 years agobump version to 3.2.1-1
Wolfgang Bumiller [Wed, 23 Oct 2019 09:05:22 +0000 (11:05 +0200)]
bump version to 3.2.1-1

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agobuild with pve-libseccomp2.4
Wolfgang Bumiller [Wed, 23 Oct 2019 08:59:06 +0000 (10:59 +0200)]
build with pve-libseccomp2.4

To allow syscall interception.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agoupdate to current master
Wolfgang Bumiller [Wed, 23 Oct 2019 08:58:14 +0000 (10:58 +0200)]
update to current master

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agobump version to 3.1.0-65
Wolfgang Bumiller [Tue, 3 Sep 2019 12:09:09 +0000 (14:09 +0200)]
bump version to 3.1.0-65

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agoupdate apparmor patch
Wolfgang Bumiller [Tue, 3 Sep 2019 12:07:44 +0000 (14:07 +0200)]
update apparmor patch

the previous patch removed some required lines from the
nesting profile part, this brings it closer to lxd plus the
additional read-only-bind-remount rule generation

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agobump version to 3.1.0-64
Wolfgang Bumiller [Tue, 13 Aug 2019 12:02:55 +0000 (14:02 +0200)]
bump version to 3.1.0-64

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agomerge fix for 'getent' in lxc-attach
Wolfgang Bumiller [Tue, 13 Aug 2019 12:18:47 +0000 (14:18 +0200)]
merge fix for 'getent' in lxc-attach

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
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>