Skip to main content
Topic: Where's the runit script located for apparmor-runit? (Read 315 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Where's the runit script located for apparmor-runit?

Hey, I've decided to move into implementing apparmor finally. I've been delaying it because this shit always gives me issues lol. But if I keep putting it off it won't ever get done. I grabbed the apparmor-runit package from the repo but I noticed it's not in any of the directories like /etc/runit/sv or /etc/runit/runsvdir/default. When I run:

Code: [Select]
sudo aa-status

My output tells me: apparmor module is loaded. apparmor filesystem is not mounted.

My kernel parameters are:

Code: [Select]
CONFIG_SECURITYFS=y
CONFIG_SECURITY_APPARMOR=y
# CONFIG_SECURITY_APPARMOR_DEBUG is not set
CONFIG_SECURITY_APPARMOR_INTROSPECT_POLICY=y
CONFIG_SECURITY_APPARMOR_HASH=y
CONFIG_SECURITY_APPARMOR_HASH_DEFAULT=y
CONFIG_SECURITY_APPARMOR_EXPORT_BINARY=y
CONFIG_SECURITY_APPARMOR_PARANOID_LOAD=y
# CONFIG_DEFAULT_SECURITY_APPARMOR is not set

I know this isn't exactly correct I don't think. The last parameter is for setting the default security module right? Not sure if this is my only problem, but I think that should be corrected nonetheless.

Re: Where's the runit script located for apparmor-runit?

Reply #1
I can't answer the rest of your questions but the script can be installed from here
Code: [Select]
world/apparmor-runit

 

Re: Where's the runit script located for apparmor-runit?

Reply #2
Code: [Select]
pacman -Ql apparmor-runit