elementary / os

The OS build system
https://elementary.io
GNU General Public License v3.0
1.02k stars 132 forks source link

Create apparmor-profiles.chroot #738

Open danirabbit opened 5 days ago

danirabbit commented 5 days ago

Fixes https://github.com/elementary/triage/issues/600

Errors with:

Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
Warning: unable to find a suitable fs in /proc/mounts, is it mounted?
Use --subdomainfs to override.
teamcons commented 5 days ago

So ive diden a quick look, Either apparmor isnt enabled, or a kernel parameter is missing

One fix someone found is in the answers : https://www.reddit.com/r/linuxquestions/comments/12xdwhm/apparmor_doesnt_load_even_though_i_did_everything/

I also found this topic on the not-arch-but-kinda forums https://forum.artixlinux.org/index.php/topic,2124.0.html point to arch wiki https://wiki.archlinux.org/title/AppArmor#Installation

one about a pihole, apparmor wasnt awake https://discourse.pi-hole.net/t/apparmor-reference-in-unbound-guide-clarification-requested/62351

Haha this sounds like fun /s

teamcons commented 5 days ago

Btw this is a dirty workaround for the issue - May be good only for the live

chmod u+s /usr/bin/bwrap