Apparmor support?

Been attempting to enable apparmor, I've gone through all the usual configuration but the AA status is still giving me "apparmor filesystem is not mounted" I made sure that the package is installed, that the kernel supports it, and that the kernel boot line for enabling the LSM is there this should be working on a normal Arch installation but I assume something about the immutable system is stopping me in this case I just can't figure out what it is
34 Replies
autumn (CIPG)
autumn (CIPG)2mo ago
i'm not familiar with apparmor, but if you give me a rundown on how it works i might be able to help
Asterisk
Asterisk2mo ago
It’s similar to SELinux Made by Canonical Less complicated
autumn (CIPG)
autumn (CIPG)2mo ago
no idea how it works though so idk where to start off troubleshooting why it's not working
LordKitsuna
LordKitsunaOP2mo ago
https://wiki.archlinux.org/title/AppArmor is this enough information? Or do you need something more specific
autumn (CIPG)
autumn (CIPG)2mo ago
i'll check it out in a bit
LordKitsuna
LordKitsunaOP2mo ago
Did you ever get a chance to look at this?
autumn (CIPG)
autumn (CIPG)2mo ago
it's been a week already???
LordKitsuna
LordKitsunaOP2mo ago
Yeah time be flying lately
autumn (CIPG)
autumn (CIPG)2mo ago
sorry, really busy TuT
LordKitsuna
LordKitsunaOP2mo ago
No worries
autumn (CIPG)
autumn (CIPG)2mo ago
on an unrelated note any chance you have experience using nvidia drivers with sddm and/or dracut?
LordKitsuna
LordKitsunaOP2mo ago
No i abandoned Nvidia in favor of AMD when I went full-time Linux
autumn (CIPG)
autumn (CIPG)2mo ago
yeah i got a broken laptop from a thrift store and fixed that up only issue now is nvidia
LordKitsuna
LordKitsunaOP2mo ago
Oof laptop, that usually means hybrid graphics which is a whole another can of awful
autumn (CIPG)
autumn (CIPG)2mo ago
yeah have to figure out how to do that too ik how to do it via PRIME_DRI=1 or whatever it was, but idk how to just... select programs to run on the discrete gpu
Asterisk
Asterisk2mo ago
Gnome has a button or something in the right click menu
autumn (CIPG)
autumn (CIPG)2mo ago
i use sway
Asterisk
Asterisk2mo ago
KDE has a menu editor to add the environment variables
autumn (CIPG)
autumn (CIPG)2mo ago
i wonder if i could get PRIME working with my tesla
Asterisk
Asterisk2mo ago
Edit the .desktop files in /usr/share/applications?
autumn (CIPG)
autumn (CIPG)2mo ago
ig that would work for some stuff
Asterisk
Asterisk2mo ago
Unless you’re using blend in which case you resort to sed
autumn (CIPG)
autumn (CIPG)2mo ago
yeah that + steam command args would work for everything i think
Asterisk
Asterisk2mo ago
KDE menu editor 💪 I just use dGPU-only mode
autumn (CIPG)
autumn (CIPG)2mo ago
my poor battery
Asterisk
Asterisk2mo ago
It’s the only way Resolve will run and source games won’t cause my desktop to be buggy My laptop battery life is 10 seconds Some third party chinesium battery So it’s always plugged in I only have to use X11 I can’t use Wayland with that mode
LordKitsuna
LordKitsunaOP2mo ago
@autumn (CIPG)
No description
Valkyrja
Valkyrja2mo ago
@LordKitsuna, you've gained the level 1
autumn (CIPG)
autumn (CIPG)2mo ago
alright, @LordKitsuna , can you send over your system.yaml?
LordKitsuna
LordKitsunaOP2mo ago
Yeah give me a bit I'm just finishing up setting up a new installation so once I've got it all done ill send its system yaml Ok, finally got this next test system working after a stupid mistake with the system yaml. However now app armor is working perfectly fine so I have no idea why it was broken on the previous test system
autumn (CIPG)
autumn (CIPG)2mo ago
lol alright well it's working at least
LordKitsuna
LordKitsunaOP2mo ago
I'll just chalk it down to probably a yaml issue I really really hate yaml lol
autumn (CIPG)
autumn (CIPG)2mo ago
fair lol

Did you find this page helpful?