Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id E6D70225D43 for <~alpine/users@lists.alpinelinux.org>; Thu, 19 Dec 2024 11:53:34 +0000 (UTC) Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 8677E240101 for <~alpine/users@lists.alpinelinux.org>; Thu, 19 Dec 2024 12:53:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1734609213; bh=Ptpd34wIw60neXxrXNbcN9WaowuTXAspt1wvLvpH77o=; h=Mime-Version:Content-Transfer-Encoding:Content-Type:Date: Message-Id:Subject:From:To:From; b=OpWa6ZzAmQy+JLbFeUQPJsaJJEIWJarUfAgFIi8KTw5Xi2CtyIrTAFQqvQCFQvhBT hFBYxQhB8XUFKVpN1RDnKj70zT2+TAENw2Cy3bT31jagzxzCm3GETpXMctbt+b4/LD QTalWjnhRFgSDURbFXzB692rfEGzsqBYFmh8gDLg9IftEstYJeJPMPFDom5b7uk8cu W5DPzVUJ8KhNSeLveKkFk220ncmab2RuVgNTfUbCtkBRwVipMKMSoZIN0OssJYC3nK u9+Inr1hcA68RsT+VR/DdNUgKCoIUszs11fr8/gnWmrgYs2C6OGPBZBwfipboARY1h /whdByNN1jI7w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YDTTS66dQz9rxG; Thu, 19 Dec 2024 12:53:32 +0100 (CET) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 19 Dec 2024 11:53:32 +0000 Message-Id: Subject: Re: Persisting apparmor between kernel upgrades with syslinux From: "Sertonix" To: "revsuine" , <~alpine/users@lists.alpinelinux.org> References: In-Reply-To: > Hi there, > > I've been using AppArmor using SYSLINUX according to the wiki: > https://wiki.alpinelinux.org/wiki/AppArmor#With_SYSLINUX > > However, /boot/extlinux.conf gets overwritten every time the kernel updat= es, > meaning I have to manually repeat the steps of the wiki article in order = for > AppArmor to remain enabled after a kernel update. > > Does anyone have suggestions on the best way to keep AppArmor enabled eve= n with > kernel updates? When using the update trigger you need to edit 'default_kernel_opts' in /etc/update-extlinux.conf to something like this: default_kernel_opts=3D"quiet lsm=3Dlandlock,yama,apparmor" > Thanks.