<?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=5317&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / How disable apparmor?]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5317</link>
		<description><![CDATA[The most recent posts in How disable apparmor?.]]></description>
		<lastBuildDate>Sat, 11 Mar 2023 18:00:01 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: How disable apparmor?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41463#p41463</link>
			<description><![CDATA[<div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>---&gt; Very strange all this <span class="bbu">did not</span> show up on my previous query to <span class="bbc">aptitude</span>. &lt;---<br />A.</p></div></blockquote></div><p>Yeh, I noticed that too, aptitude &#039;why&#039; seems to only show the first one it finds.<br />This one is more useful;</p><div class="codebox"><pre><code>apt-cache --installed rdepends dbus</code></pre></div><p>and since a boat load of stuff depends on that list,<br />aptitude purge libapparmor1 (n) (don&#039;t press enter)<br />suggests about 100 others to remove.</p>]]></description>
			<author><![CDATA[dummy@example.com (humpty)]]></author>
			<pubDate>Sat, 11 Mar 2023 18:00:01 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41463#p41463</guid>
		</item>
		<item>
			<title><![CDATA[Re: How disable apparmor?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41459#p41459</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>humpty wrote:</cite><blockquote><div><div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>..<br />But then you upgrade the kernel and there it is again.<br />What I <em>always</em> do is purge <span class="bbc">apparmor</span> after the upgrade..<br />A.</p></div></blockquote></div><p>What about holding the package;&#160; sudo apt-mark hold apparmor<br />or even <a href="https://www.linuxtopia.org/online_books/linux_system_administration/managing_debian_software_with_apt/ch-apt-get.en_009.html" rel="nofollow"> pinning</a> it ?</p><p>Would the upgrade still go through ?</p></div></blockquote></div><p>Hmm ...<br />No idea.<br />Have not tried it but I don&#039;t see (?) why it shouldn&#039;t.</p><p>Yes, I guess I could pin it.<br />ie: the same way I do with <a href="https://dev1galaxy.org/viewtopic.php?pid=41397#p41397" rel="nofollow">pulseaudio</a> and see what happens on the next upgrade.</p><p>Bear in mind that there are other <span class="bbc">apparmor</span> related libraries which are/may be needed by other packages.</p><p>eg: <span class="bbc">libapparmor1</span> </p><div class="codebox"><pre><code>~$ aptitude why libapparmor1
i   stress-ng Depends libapparmor1 (&gt;= 2.10)
~$ </code></pre></div><p><span class="bbu">Edit</span>:</p><p>It seems that there&#039;s <em>more</em> than <span class="bbc">stress-ng</span> involved with <span class="bbc">libapparmor1</span>.</p><div class="codebox"><pre><code>~$ aptitude why libapparmor1
i   slim Depends dbus                    
i A dbus Depends libapparmor1 (&gt;= 2.8.94)
~$</code></pre></div><p>---&gt; Very strange all this <span class="bbu">did not</span> show up on my previous query to <span class="bbc">aptitude</span>. &lt;---</p><p>I have not used <span class="bbc">stress-ng</span> in years, so I might as well get rid of it. <span class="bbs">and solve the issue</span>.</p><p>We&#039;ll see how the pinning goes.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Fri, 10 Mar 2023 20:53:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41459#p41459</guid>
		</item>
		<item>
			<title><![CDATA[Re: How disable apparmor?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=41458#p41458</link>
			<description><![CDATA[<div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>..<br />But then you upgrade the kernel and there it is again.<br />..What I <em>always</em> do is purge <span class="bbc">apparmor</span> after the upgrade..<br />A.</p></div></blockquote></div><p>What about holding the package;&#160; sudo apt-mark hold apparmor</p><p>or even <a href="https://www.linuxtopia.org/online_books/linux_system_administration/managing_debian_software_with_apt/ch-apt-get.en_009.html" rel="nofollow"> pinning</a> it ?</p><p>Would the upgrade still go through ?</p>]]></description>
			<author><![CDATA[dummy@example.com (humpty)]]></author>
			<pubDate>Fri, 10 Mar 2023 20:08:49 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=41458#p41458</guid>
		</item>
		<item>
			<title><![CDATA[Re: How disable apparmor?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=38364#p38364</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>So if i use security=none it should only be for SELinux, Smack, Tomoyo, and AppArmor ?</p></div></blockquote></div><p>I think they are all kernel &quot;security&quot; modules. That way you can leave out the apparmor=on/off command from the boot line.</p><p>I don&#039;t know if there are any others.</p>]]></description>
			<author><![CDATA[dummy@example.com (GlennW)]]></author>
			<pubDate>Thu, 03 Nov 2022 05:58:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=38364#p38364</guid>
		</item>
		<item>
			<title><![CDATA[Re: How disable apparmor?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=38360#p38360</link>
			<description><![CDATA[<p>Xwrapper.config running X as user</p>]]></description>
			<author><![CDATA[dummy@example.com (andyp67)]]></author>
			<pubDate>Thu, 03 Nov 2022 02:33:31 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=38360#p38360</guid>
		</item>
		<item>
			<title><![CDATA[Re: How disable apparmor?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=38338#p38338</link>
			<description><![CDATA[<p>I think elogind is better than running X under root.</p><p>Doesn&#039;t seatd work in chimeara? I can get a Wayland session under Alpine with just that running. EDIT: with sway anyway.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Thu, 03 Nov 2022 01:01:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=38338#p38338</guid>
		</item>
		<item>
			<title><![CDATA[Re: How disable apparmor?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=38334#p38334</link>
			<description><![CDATA[<p>I think this is the defacto or only way to do this;<br />I just done the above and could not startx from user, I forgot,<br />install xserver-xorg-legacy (provides suid root wrapper;)<br />then edit<br />/etc/X11/Xwrapper.config<br />allowed_users=anybody<br />needs_root_rights=yes</p>]]></description>
			<author><![CDATA[dummy@example.com (andyp67)]]></author>
			<pubDate>Thu, 03 Nov 2022 00:50:11 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=38334#p38334</guid>
		</item>
		<item>
			<title><![CDATA[Re: How disable apparmor?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=38329#p38329</link>
			<description><![CDATA[<p>One more thing,<br />I don&#039;t have apparmor on my box and it ain&#039;t broke at all whatsoever.<br />I also dpkg --force-all -P elogind libelogind0 libpam-elogind libpolkit-agent-1-0 libpolkit-gobject-1-0 libpolkit-gobject-elogind-1-0 policykit-1 policykit-1-gnome<br />and then I apt-get download or dpkg -i libsystemd0<br />and it ain&#039;t broke at all whatsoever.<br />Did it today, Chimaera clean install, updates, security &amp; updates &amp; main, &amp; kernel.<br />Previously I have played around with a live that I have made with refractasnapshot-base.<br />So I made a minimal console live, then on that live I put xserver-xorg-core etc which pulls in elogind etc. which I have purged and put libsystemd0 and checked apt-get and no problems at all.<br />I then put full-fat browser on which pulled in elogind again and I purged it again and browser quite fine.<br />I&#039;m not saying what I do is correct but if supremely strict apt-get doesn&#039;t reply with a headache that&#039;s good.<br />Thank you.<br />I think apparmor and elogind are in the same barrel.</p>]]></description>
			<author><![CDATA[dummy@example.com (andyp67)]]></author>
			<pubDate>Thu, 03 Nov 2022 00:18:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=38329#p38329</guid>
		</item>
		<item>
			<title><![CDATA[Re: How disable apparmor?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=38326#p38326</link>
			<description><![CDATA[<p>purge uninstall it<br />dpkg -P apparmor<br />I go no complaints at all whatsoever.<br />And copied the apparmor deb off the install media to my /root, so I got it at hand.<br />I today installed Chimaera minimal and kept apparmor on it and did a refractasnapshot-base live and put xserver-xorg-core on that.<br />I may have installed libapparmor1 for something, been busy.<br />Try it.</p>]]></description>
			<author><![CDATA[dummy@example.com (andyp67)]]></author>
			<pubDate>Wed, 02 Nov 2022 23:55:29 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=38326#p38326</guid>
		</item>
		<item>
			<title><![CDATA[Re: How disable apparmor?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=38312#p38312</link>
			<description><![CDATA[<p>I have &quot;security=none&quot; and </p><div class="codebox"><pre><code>stuga% cat /sys/kernel/security/lsm ; echo
lockdown,capability,yama</code></pre></div><p> i.e., &quot;yama&quot; belongs to the unavoidable default collection of Linux Security Modules<br /><a href="https://kernsec.org/wiki/index.php/Projects" rel="nofollow">https://kernsec.org/wiki/index.php/Projects</a></p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Wed, 02 Nov 2022 21:53:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=38312#p38312</guid>
		</item>
		<item>
			<title><![CDATA[Re: How disable apparmor?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=38292#p38292</link>
			<description><![CDATA[<div class="quotebox"><cite>GlennW wrote:</cite><blockquote><div><div class="quotebox"><blockquote><div><p>Evenson wrote:</p><p>&#160; &#160; Is it really needed to have boot command security=none ?<br />&#160; &#160; ... was not aware of this extra step.</p></div></blockquote></div><p> the security module could be apparmor, selinux, ...</p><p>ref. https://www.kernel.org/doc/html/latest/admin-guide/LSM/index.html</p><div class="quotebox"><blockquote><div><p>&quot;Examples include SELinux, Smack, Tomoyo, and AppArmor.&quot;</p></div></blockquote></div><p> so, security= , requires none.</p></div></blockquote></div><p>Thanks, i read up on this today from the link you posted. Ive no need for any of these except yama via sysctl.<br /><span class="bbc">kernel.yama.ptrace_scope=2</span><br />So if i use <span class="bbc">security=none</span> it should only be for SELinux, Smack, Tomoyo, and AppArmor ?</p>]]></description>
			<author><![CDATA[dummy@example.com (Evenson)]]></author>
			<pubDate>Wed, 02 Nov 2022 15:20:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=38292#p38292</guid>
		</item>
		<item>
			<title><![CDATA[Re: How disable apparmor?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=38262#p38262</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>Evenson wrote:</p><p>&#160; &#160; Is it really needed to have boot command security=none ?<br />&#160; &#160; ... was not aware of this extra step.</p></div></blockquote></div><p> the security module could be apparmor, selinux, ...</p><p>ref. https://www.kernel.org/doc/html/latest/admin-guide/LSM/index.html</p><div class="quotebox"><blockquote><div><p>&quot;Examples include SELinux, Smack, Tomoyo, and AppArmor.&quot;</p></div></blockquote></div><p> so, security= , requires none.</p>]]></description>
			<author><![CDATA[dummy@example.com (GlennW)]]></author>
			<pubDate>Tue, 01 Nov 2022 23:58:10 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=38262#p38262</guid>
		</item>
		<item>
			<title><![CDATA[Re: How disable apparmor?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=38212#p38212</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>Evenson wrote:</cite><blockquote><div><p>Is it really needed to have boot command <span class="bbc">security=none</span> ? <br />... was not aware of this extra step.</p></div></blockquote></div><p>You would be if you had taken the time to read the <em>whole</em> thread.&#160; 8^D</p><div class="quotebox"><cite>Altoid wrote:</cite><blockquote><div><p>Check if you have some other stuff called tomoyo, another gift from the Debian devs.<br />You have to add <span class="bbc">security=none</span> to the kernel command line to avoid that one.</p></div></blockquote></div><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Tue, 01 Nov 2022 16:13:38 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=38212#p38212</guid>
		</item>
		<item>
			<title><![CDATA[Re: How disable apparmor?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=38205#p38205</link>
			<description><![CDATA[<div class="quotebox"><cite>ralph.ronnquist wrote:</cite><blockquote><div><p>In any case, I&#039;d agree that <span class="bbc">apt-get purge apparmor</span> is best here, and that it also seems to need a <span class="bbc">security=none</span> setting (or similar) on the boot command line to make the kernel bypass apparmor kernel code.</p></div></blockquote></div><p>Is it really needed to have boot command <span class="bbc">security=none</span> ? <br />Ive purged apparmor, was not aware of this extra step.</p>]]></description>
			<author><![CDATA[dummy@example.com (Evenson)]]></author>
			<pubDate>Tue, 01 Nov 2022 13:55:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=38205#p38205</guid>
		</item>
		<item>
			<title><![CDATA[Re: How disable apparmor?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=38197#p38197</link>
			<description><![CDATA[<p>Hah! I&#039;m clearly full of wrong! Not only that, but there is also the possible overrides of <span class="bbc">insserv</span> that can be used an misused in all sorts of ways. <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Tue, 01 Nov 2022 06:56:29 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=38197#p38197</guid>
		</item>
	</channel>
</rss>
