From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 322B160793 for ; Wed, 9 Sep 2020 21:07:20 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 1A04E13E0D for ; Wed, 9 Sep 2020 21:06:50 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 2171B13E01 for ; Wed, 9 Sep 2020 21:06:48 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id E3C5844ACD for ; Wed, 9 Sep 2020 21:06:47 +0200 (CEST) To: Proxmox VE development discussion , Stoiko Ivanov References: <20200722110505.8210-1-s.ivanov@proxmox.com> From: Thomas Lamprecht Message-ID: Date: Wed, 9 Sep 2020 21:06:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:81.0) Gecko/20100101 Thunderbird/81.0 MIME-Version: 1.0 In-Reply-To: <20200722110505.8210-1-s.ivanov@proxmox.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-SPAM-LEVEL: Spam detection results: 0 AWL 0.627 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment NICE_REPLY_A -1.626 Looks like a legit reply (A) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] [PATCH lxc 0/2] fix apparmor rules and improve cgroupv2 experience X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2020 19:07:20 -0000 On 22.07.20 13:05, Stoiko Ivanov wrote: > This patchset addresses 2 minor inconveniences I ran into, while runnin= g my > host with 'systemd.unified_cgroup_hierarchy=3D1': >=20 > * apparmor mount denies for '/proc/sys/kernel/random/boot_id' (this hap= pens > irrespective of the cgroup-layout > * having to add > `lxc.init.cmd: /lib/systemd/systemd systemd.unified_cgroup_hierarchy=3D= 1` > to all my container configs (for debian and arch containers at least > alpine runs without issues) - see [0] for a discussion of the topic >=20 > While investigating this I noticed that the fixes for both issues were = already > on upstream/master (with one small other fix in between) - so instead o= f > cherry-picking both patches I fast-forwarded to the last needed commit.= > Glad to resend with the patches cherry-picked and added to our patchque= ue. >=20 > I would probably submit the apparmor fix upstream (after a quick check = by > another set of eyes :) >=20 > [0] https://github.com/lxc/lxc/issues/3183 >=20 > Stoiko Ivanov (2): > update lxc to include fixes for cgroupv2 setups > apparmor: add rule for allowing remount of boot_id >=20 > ...apparmor-Allow-ro-remount-of-boot_id.patch | 26 +++++++++++++++++++= > debian/patches/series | 1 + > lxc | 2 +- > 3 files changed, 28 insertions(+), 1 deletion(-) > create mode 100644 debian/patches/pve/0004-apparmor-Allow-ro-remount-o= f-boot_id.patch >=20 2/2 got merged into upstream and is available with 4.0.4, could you see if we can seamlessly update from currently packaged 4.0.3 to 4.0.4?