5
0
mirror of git://git.proxmox.com/git/lxc.git synced 2025-03-21 02:50:31 +03:00

221 Commits

Author SHA1 Message Date
Thomas Lamprecht
b6d5e1bb49 bump version to 4.0.9-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-20 13:35:24 +02:00
Stoiko Ivanov
ab2219beca 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>
2021-07-20 13:21:51 +02:00
Wolfgang Bumiller
d3d8bc681b bump version to 4.0.9-2
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-07-05 10:55:26 +02:00
Wolfgang Bumiller
27a22db977 add patch to include userns.conf.d/
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-07-05 10:55:26 +02:00
Thomas Lamprecht
7dae6e95cb buildsys: change upload dist to bullseye
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-08 09:38:38 +02:00
Thomas Lamprecht
e4d6415e0f bump version to 4.0.9-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-12 19:25:01 +02:00
Thomas Lamprecht
84a06ad8ce lxc-pve: adapt to new file locations
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-12 19:24:38 +02:00
Thomas Lamprecht
df5aa6714a d/control: drop pve-libseccomp2.4-dev in favor of debians now new enough one
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-12 19:24:00 +02:00
Thomas Lamprecht
f6eac54018 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>
2021-05-12 19:22:22 +02:00
Thomas Lamprecht
63e050e246 import LXC 4.0.9 and update patches
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-12 19:21:45 +02:00
Thomas Lamprecht
f5fff959ab bump version to 4.0.6-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-09 07:53:53 +01:00
Thomas Lamprecht
4021a7bdf0 update to current stable-4.0
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-09 07:49:18 +01:00
Wolfgang Bumiller
247724ec96 bump version to 4.0.6-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-01-25 11:27:03 +01:00
Wolfgang Bumiller
02c596f304 update to lxc-4.0.6
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-01-25 11:26:30 +01:00
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