Commit Graph

207 Commits

Author SHA1 Message Date
Wolfgang Bumiller
31fd2b471a bump version to 4.0.3-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-07-31 11:09:21 +02:00
Wolfgang Bumiller
080abced1d rebase on lxc-4.0.3 tag
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-07-31 11:07:51 +02:00
Wolfgang Bumiller
799a3fe0ff merge fix for busy-looping on cgroup events
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-07-30 15:08:35 +02:00
Stoiko Ivanov
6f24ec6c4f 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>
2020-07-30 15:03:16 +02:00
Stoiko Ivanov
518a4e87d3 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>
2020-07-30 15:03:10 +02:00
Wolfgang Bumiller
80fb84e7de bump version to 4.0.2-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-04-20 11:49:32 +02:00
Wolfgang Bumiller
31125c0218 bump version to 4.0.0-2
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-04-07 10:53:57 +02:00
Wolfgang Bumiller
8170740ba0 update to current master: devices cgroup isolation fixes
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-04-07 10:52:54 +02:00
Wolfgang Bumiller
fbf6e5175c bump version to 4.0.0-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-04-06 14:24:06 +02:00
Wolfgang Bumiller
ab5bff6234 pve-container is going to 3.1-1, update Breaks
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-04-06 14:24:06 +02:00
Wolfgang Bumiller
f55712e8a7 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>
2020-04-06 11:20:27 +02:00
Wolfgang Bumiller
3e9264ba48 update to master / lxc-4.0.0+fixes
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-04-06 09:11:19 +02:00
Wolfgang Bumiller
f101bb5779 postinst fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-04-02 15:24:17 +02:00
Fabian Grünbichler
b39a8832c0 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>
2019-11-06 20:42:00 +01:00
Fabian Grünbichler
1586925376 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>
2019-11-06 20:42:00 +01:00
Wolfgang Bumiller
aea72549fe bump version to 3.2.1-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-23 11:16:42 +02:00
Wolfgang Bumiller
1104290422 build with pve-libseccomp2.4
To allow syscall interception.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-23 11:16:42 +02:00
Wolfgang Bumiller
0a134a36e5 update to current master
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-10-23 11:03:01 +02:00
Wolfgang Bumiller
d7ef5784f4 bump version to 3.1.0-65
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-09-03 14:09:09 +02:00
Wolfgang Bumiller
98c94fe544 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>
2019-09-03 14:07:46 +02:00
Wolfgang Bumiller
02951511d0 bump version to 3.1.0-64
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-08-13 14:20:15 +02:00
Wolfgang Bumiller
2b3c35899b merge fix for 'getent' in lxc-attach
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-08-13 14:20:15 +02:00
Wolfgang Bumiller
8a25e88454 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>
2019-08-13 14:01:33 +02:00
Wolfgang Bumiller
e0f18f2d92 bump version to 3.1.0-63
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-08-09 11:48:30 +02:00
Wolfgang Bumiller
90fcde9290 merge new apparmor profile update
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-08-09 11:47:49 +02:00
Wolfgang Bumiller
1f6bcb6885 bump version to 3.1.0-62
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-08-05 09:23:41 +02:00
Wolfgang Bumiller
40c4fcc712 update apparmor profile
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-08-05 09:22:09 +02:00
Wolfgang Bumiller
4a19a6d014 fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-11 12:14:18 +02:00
Wolfgang Bumiller
a1c6dacae1 bump version to 3.1.0-61
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-11 12:13:23 +02:00
Wolfgang Bumiller
d3bbd2a250 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>
2019-07-11 12:11:35 +02:00
Wolfgang Bumiller
dcf10cd948 d/rules: whitespace fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-07-03 16:29:35 +02:00
Thomas Lamprecht
ca0c586ef1 buildsys: switch upload dist over to buster
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 12:34:31 +02:00
Thomas Lamprecht
2907d3d9c9 bump version to 3.1.0-60
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 12:30:23 +02:00
Thomas Lamprecht
e3b12b115d 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>
2019-05-22 12:28:29 +02:00
Thomas Lamprecht
177f98f6f7 buildsys: use dpkg-dev makefile helpers for pkg info
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 12:28:08 +02:00
Wolfgang Bumiller
4684650018 bump version to 3.1.0-3
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-02-12 08:07:15 +01:00
Wolfgang Bumiller
907c590de2 merge fix for CVE-2019-5736
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-02-12 08:07:07 +01:00
Wolfgang Bumiller
e59455365d bump version to 3.1.0-2
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-01-17 09:34:34 +01:00
Wolfgang Bumiller
352dbb681f 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>
2019-01-17 09:34:34 +01:00
Wolfgang Bumiller
ead59884ab buildsys: use dpkg-parsechangelog
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-01-17 09:34:34 +01:00
Wolfgang Bumiller
834bb4d705 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>
2019-01-02 14:39:37 +01:00
Wolfgang Bumiller
b904dc2ca6 bump version to 3.0.2+pve1-5
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-01-02 09:05:24 +01:00
Wolfgang Bumiller
a232f194cc 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 4d672101f1.
2019-01-02 09:05:24 +01:00
Oguz Bektas
64ca2b12bb fix typo in package description
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
2018-11-20 10:13:38 +01:00
Wolfgang Bumiller
03d77c24c8 bump version to 3.0.2+pve1-4
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-11-16 12:13:16 +01:00
Wolfgang Bumiller
71a3cc63d4 apparmor: allow various ro,remount,bind mounts
Required to enable new systemd sandboxing mechanisms.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-11-15 12:21:57 +01:00
Wolfgang Bumiller
7502ffe9e8 d/control: add missing build-dependencies
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-11-08 10:01:39 +01:00
Wolfgang Bumiller
2c4104dacd d/control: set Source package to lxc-pve
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-11-08 09:42:05 +01:00
Wolfgang Bumiller
4d672101f1 d/control: bump compat to 10
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-11-08 09:42:05 +01:00
Wolfgang Bumiller
c63c177de1 buildsys: split deb target into deb and src
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-11-08 09:42:05 +01:00