3

so it seems I have everything installed, but apparmor_status gives "apparmor module is not loaded." Also some apparmor scripts check for presence of /sys/module/apparmor and it is not there... Any idea of what is wrong?

Oh and it's virtual server using OpenVZ

2

Seems like OpenVZ and apparmor can't coexist

1

To be more accurate; AppArmor (and SELinux) does not work with OpenVZ: they are incompatible.

AppArmor is designed to protect processes according to security policies within the Kernel. With OpenVZ, processes work within their own Container, separated from the Kernel. Protected by their own Init.

The way they access resources would not work with Apparmor, nor SELinux by design.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.