<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=7155&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Apparmor update causing issues (Ceres)]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=7155</link>
		<description><![CDATA[The most recent posts in [SOLVED] Apparmor update causing issues (Ceres).]]></description>
		<lastBuildDate>Fri, 18 Apr 2025 11:18:22 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Apparmor update causing issues (Ceres)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55353#p55353</link>
			<description><![CDATA[<p>Greetings:</p><p>After updating today this issue has disappeared.&#160; I suspect that this was due to these packages:</p><p>isc-dhcp-client<br />isc-dhcp-common</p><p>I haven&#039;t verified this but it makes sone sense considering the Apparmor profile that was having the issues.</p><p>Closing.</p>]]></description>
			<author><![CDATA[dummy@example.com (Weezer)]]></author>
			<pubDate>Fri, 18 Apr 2025 11:18:22 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55353#p55353</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apparmor update causing issues (Ceres)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55333#p55333</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><blockquote><div><p>... disable this kernel module either modularly ...</p></div></blockquote></div><p>Does not seem possible.</p><p>I have not found a way to disable any of those modules.<br />ie: <span class="bbc">ima</span>, <span class="bbc">evm</span>, <span class="bbc">selinux</span>, etc.&#160; </p><p>Whatever methods I found searching on-line did not work.</p><p>The main thing to disable would be <span class="bbc">LSM</span> which seems to orchestrate all of them, <span class="bbu">including</span> this latest Microsoft <em>contribution</em> to the Linux kernel.<br />But I have not been able to find a working method.</p><div class="quotebox"><blockquote><div><p>... or when building the kernel ...</p></div></blockquote></div><p>Right ...&#160; 8^°</p><div class="quotebox"><blockquote><div><p>... distros may integrate ...</p></div></blockquote></div><p>Debian obviously does, no options to disable or heads-up given.<br />No surprise there ...</p><p>As a result, Devuan is stuck with all this crap.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Wed, 16 Apr 2025 11:03:48 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55333#p55333</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apparmor update causing issues (Ceres)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55331#p55331</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>Linux kernel with Microsoft security module integration doing all of that.</p></div></blockquote></div><p>I would assume one could disable this kernel module either modularly or when building the kernel (ie: Gentoo) if one doesn&#039;t want it,&#160; Some distros may integrate and others will scrutinize it heavily (hopefully).</p><p>As far as the Apparmor issues:</p><p>I have worked on this a bit and have found that after a restart of the apparmor service, the problematic apparmor profile will load properly.&#160; Here is a diff of the before/after of the aa-status showing the module that is started:</p><div class="codebox"><pre><code>→ diff aa-status1 aa-status2
9a10
&gt; 		&quot;/usr/{lib/NetworkManager,libexec}/nm-dhcp-helper&quot;:	&quot;enforce&quot;,</code></pre></div><p>This matches Debian without needing to restart the service.&#160; I am starting to think it is a timing issue of some sort or Debian restarts the service for you.&#160; Haven&#039;t got that far.</p><p>If I try to enable this profile manually prior to restarting the service, it will fail complaining of a duplicate profile (sbin.dhclient/usr.sbin.dhclient).</p><p>That&#039;s about as far as I&#039;ve gotten thus far.</p><p>EDIT: Changed codeblock to quote.</p>]]></description>
			<author><![CDATA[dummy@example.com (Weezer)]]></author>
			<pubDate>Wed, 16 Apr 2025 10:31:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55331#p55331</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apparmor update causing issues (Ceres)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55327#p55327</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>That is one of the basic characteristics these security features have.<br />The main one one being that they are both installed and enabled by default / without your consent or knowledge.</p></div></blockquote></div><p>Some fresh news with respect to <a href="https://en.wikipedia.org/wiki/Linux_Security_Modules" rel="nofollow">LSM</a> (Linux Security Modules).<br />Yes, <em>those</em> modules.<br />The ones you cannot disable or have any control over.</p><div class="quotebox"><cite> Michael Larabel @Phoronix.com wrote:</cite><blockquote><div><p>Microsoft&#039;s newest open-source contribution to the Linux kernel being proposed is ... Hornet,<br />a Linux security module (LSM) for providing signature verification of eBPF programs.</p></div></blockquote></div><p>About <a href="https://www.datadoghq.com/knowledge-center/ebpf/" rel="nofollow">eBPF</a></p><p>TL;DR</p><div class="quotebox"><blockquote><div><p>What is eBPF used for?<br />eBPF lets you gather detailed information about low-level networking, security, and other system-level activities within the kernel.<br />Better yet, it works without requiring direct modifications to kernel code.</p></div></blockquote></div><p>Absolutely wonderful !!!</p><p>Just what we were needing.<br />Linux kernel with Microsoft <em>security</em> module integration doing all of <span class="bbu">that</span>.</p><p>Check the Phoronix note <a href="https://www.phoronix.com/news/Microsoft-Hornet-Linux-LSM" rel="nofollow">here</a>.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 15 Apr 2025 19:55:23 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55327#p55327</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apparmor update causing issues (Ceres)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55309#p55309</link>
			<description><![CDATA[<p>Hello:</p><div class="codebox"><pre><code>... same errors at boot time.</code></pre></div><p>These are <span class="bbu">not</span> errors.<br />What you are seeing is information related to <span class="bbc">EVM</span> being enabled, not errors.</p><p>And it seems that there is no easy or documented way to avoid / disable security which (for a desktop system) is probably not needed.<br />As always, YMMV.</p><p>That said, the usual/basic way to check for errors is to look at <span class="bbc">dmesg</span> in a terminal:</p><p>1. in a <em>line by line</em> fashion:<br /><span class="bbc">sudo dmesg | more</span></p><p>2. using <span class="bbc">grep</span>:<br /><span class="bbc">sudo dmesg | grep -i &quot;error\|warning\|fail\|segfault\|fatal\|not&quot;</span></p><p>3. sifting by type of message<br /><span class="bbc">sudo dmesg --level=alert,crit,err,warn</span></p><p>4. with a real time <em>rolling</em> printout:<br /><span class="bbc">sudo dmesg -wH</span></p><p>As this is Linux*, there are probably <em>more</em> ways to get that done as there are other logfies in human readable format which you can look at to get a more detailed idea as to what is going on.<br />* 8^D !</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Mon, 14 Apr 2025 11:22:35 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55309#p55309</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apparmor update causing issues (Ceres)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55306#p55306</link>
			<description><![CDATA[<p>Hi there, </p><p>I do have the same errors at boot time. I think of disabling it too, isn&#039;t it redundant with SELinux ?</p><div class="codebox"><pre><code>[    0.087692] LSM: initializing lsm=lockdown,capability,l
[    0.928368] evm: Initialising EVM extended attributes:
[    0.928370] evm: security.selinux
[    0.928372] evm: security.SMACK64 (disabled)
[    0.928373] evm: security.SMACK64EXEC (disabled)
[    0.928374] evm: security.SMACK64TRANSMUTE (disabled)
[    0.928375] evm: security.SMACK64MMAP (disabled)
[    0.928376] evm: security.apparmor
[    0.928377] evm: security.ima
[    0.928377] evm: security.capability
[    0.928378] evm: HMAC attrs: 0x1</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (unixuser)]]></author>
			<pubDate>Mon, 14 Apr 2025 10:51:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55306#p55306</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apparmor update causing issues (Ceres)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55291#p55291</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><blockquote><div><p>... sounds like a pain to get rid of and/or disable ...</p></div></blockquote></div><p>Indeed ...</p><p>That is one of the basic characteristics these security <em>features</em> have.<br />The main one one being that they are both installed <span class="bbu">and</span> enabled <em>by default</em> / without your consent or knowledge.<br />Something that should be getting everyone thinking about it and the reasons for it being so. </p><p>We are slowly but steadily arriving at the point where booting a computer will require signatures, code or features over which you will have no control or access to.</p><p>Unless certain requirements are met, of course.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 13 Apr 2025 14:48:40 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55291#p55291</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apparmor update causing issues (Ceres)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55290#p55290</link>
			<description><![CDATA[<p>Hello Altoid,</p><p>It was installed and enabled from the minimal installation iso, otherwise I would not have it either.&#160; It hadn&#039;t really given me any issues until the update.</p><p>The only reason I don&#039;t disable it (yet) is because it is working on Sid (why not here?)&#160; I&#039;ll fight with it a bit before disabling completely (or a new update fixes).</p><p>I&#039;d file a bug but I don&#039;t like Debian or Devuan bug systems, but that&#039;s a whole different topic.</p><p>EDIT: We were typing at the same time.&#160; I will say that it sounds like a pain to get rid of and/or disable (completely) too.&#160; I haven&#039;t looked into that but have seen many people looking for info. on how to do it. <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Have a good one.</p>]]></description>
			<author><![CDATA[dummy@example.com (Weezer)]]></author>
			<pubDate>Sun, 13 Apr 2025 13:09:40 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55290#p55290</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apparmor update causing issues (Ceres)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55288#p55288</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><blockquote><div><p>... if you haven&#039;t disabled apparmor ...</p></div></blockquote></div><p>I disabled <span class="bbc">apparmor</span> from the first time I saw it has been installed and enabled <em>without</em> my intervention.<br />So no, I do not have the problem you have.</p><p>My way of dealing with it is adding <span class="bbc">security=none apparmor=0 nmi_watchdog=0</span> to my kernel command line.</p><p>That said, I am not too sure the stanza is quite as effective as I believe it is because early on, my <span class="bbc">dmesg</span> printout also reveals this:</p><div class="codebox"><pre><code>--- snip ---
[    3.066032] evm: Initialising EVM extended attributes:
[    3.066218] evm: security.selinux    # &lt;-
[    3.066338] evm: security.SMACK64 (disabled)
[    3.066493] evm: security.SMACK64EXEC (disabled)
[    3.066660] evm: security.SMACK64TRANSMUTE (disabled)
[    3.066842] evm: security.SMACK64MMAP (disabled)
[    3.067009] evm: security.apparmor   # &lt;- 
[    3.067132] evm: security.ima        # &lt;-
[    3.067239] evm: security.capability # &lt;-
[    3.067369] evm: HMAC attrs: 0x1
--- snip --- </code></pre></div><p>As you can see, <span class="bbc">evm</span>* does not indicate <span class="bbc">apparmor</span> (and other security <em>features</em>) as being disabled.<br />ie: adding <span class="bbc">security=none</span> to the kernel command line should have disabled all that. </p><p>* <a href="https://linux-ima.sourceforge.net/linux-ima-content.html-20110907" rel="nofollow">https://linux-ima.sourceforge.net/linux … l-20110907</a></p><p><span class="bbu">Edit</span>:</p><p>At some point, someone <a href="https://lore.kernel.org/linux-integrity/20241217202525.1802109-1-song@kernel.org/" rel="nofollow">posted</a> a request to disable <span class="bbc">EVM</span> and <span class="bbc">IMA</span>.</p><div class="quotebox"><blockquote><div><p>While reading and testing LSM code, I found IMA/EVM consume per inode<br />storage even when they are not in use. Add options to diable them in<br />kernel command line. The logic and syntax is mostly borrowed from an<br />old serious [1].</p></div></blockquote></div><p>I have tried (adding <span class="bbc">lsm=&#160; </span>&#160; to the kernel command line but it does not work, at least in the latest Daedalus <span class="bbc">6.1.0-33-amd64</span>:</p><div class="codebox"><pre><code>$ grep -o &quot;lsm=.*&quot; /proc/cmdline
lsm=
$ 
$ ls /sys/kernel/security/
evm  ima  integrity  lockdown  lsm       # &lt;- this should read &quot;integrity  lsm&quot;
$ </code></pre></div><p>Apparently it requires a <a href="https://patchwork.kernel.org/project/linux-integrity/patch/20241218064328.2676938-1-song@kernel.org/" rel="nofollow">patch</a>. (?)</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 13 Apr 2025 12:00:32 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55288#p55288</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Apparmor update causing issues (Ceres)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55287#p55287</link>
			<description><![CDATA[<p>Greetings!</p><p>After updating 2 days ago, Apparmor was updated:</p><p>(apparmor:amd64 (4.1.0~beta5-6, 4.1.0-1), libapparmor1:amd64 (4.1.0~beta5-6, 4.1.0-1))</p><p>Following the update I am getting this error when booting:</p><p>Starting: AppArmorLoading AppArmor profiles...Error: Could not load profile /var/cache/apparmor/ac27e0ee.0/usr.sbin.dhclient: File exists<br />Sun Apr 13 06:20:10 2025: /sbin/apparmor_parser: Unable to add &quot;/usr/lib/NetworkManager/nm-dhcp-client.action&quot;.&#160; Profile already exists<br />Sun Apr 13 06:20:10 2025: At least one profile failed to load ... failed!<br />Sun Apr 13 06:20:10 2025: failed.</p><p>I have disabled the usr.sbin.dhclient profile temporarily and that removes the error upon boot:</p><p>ln -s /etc/apparmor.d/usr.sbin.dhclient /etc/apparmor.d/disable</p><p>I run a few different distros on my computer, one being Debian-Sid, and it is not producing these errors.&#160; I&#039;ve compared related apparmor files/configs and they are all identical.</p><p>I&#039;ve checked bug reports and the Apparmor Gitlab and nothing mentioned about this.</p><p>Anyone else having this issue (if you haven&#039;t disabled apparmor already :) ) and how did you deal with this?&#160; I&#039;m no apparmor expert and mostly let it do it&#039;s thing.</p><p>Thanks in advance!</p><p>EDIT: I forgot to mention that the &#039;usr.sbin.dhclient&#039; apparmor profile is new with the latest update to apparmor.&#160; There was only &#039;sbin.dhclient&#039; profile, now there are both.</p>]]></description>
			<author><![CDATA[dummy@example.com (Weezer)]]></author>
			<pubDate>Sun, 13 Apr 2025 10:56:42 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55287#p55287</guid>
		</item>
	</channel>
</rss>
