CachyOS / CachyOS-Settings

Settings used for CachyOS
GNU General Public License v3.0
94 stars 23 forks source link

apparmor filesystem is not mounted #96

Closed dougg0k closed 3 hours ago

dougg0k commented 3 hours ago

I was checking out apparmor, and it seemed to be inactive and not working properly.

sudo systemctl status apparmor.service

I tried enabling sudo systemctl enable --now apparmor.service and got this Load AppArmor profiles was skipped because of an unmet condition check (ConditionSecurity=apparmor)

Then I run the status and got this.

> sudo aa-status
apparmor module is loaded.
apparmor filesystem is not mounted.

/sys/module/apparmor/parameters/enabled was returning N

And the suggested fix seem to be adding this to kernel bootline apparmor=1 lsm=lockdown,yama,apparmor

This might need to be checked on cachyos, as I only have added those two lines to the configuration and yet.

vnepogodin commented 3 hours ago

yeah we have guide how to enable & setup apparmor https://wiki.cachyos.org/configuration/post_install_setup/#4-enable-apparmor-support-using-apparmord-profiles

ptr1337 commented 3 hours ago

See: https://wiki.cachyos.org/configuration/post_install_setup/#4-enable-apparmor-support-using-apparmord-profiles

dougg0k commented 3 hours ago

Your server might be overloaded, second website from you that are very slow to load. Screenshot from 2024-09-30 16-51-37

ptr1337 commented 3 hours ago

Your server might be overloaded, second website from you that are very slow to load. Screenshot from 2024-09-30 16-51-37

This content is delivered by cloudflare and their cache servers, since its static content. You might want to check your ISPs routing