Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My application relies heavily on AppArmor for security. I use Ubuntu to host it myself, but I have gotten requests from others that want to host in on a Fedora or RHEL machine.

Now I am aware that Redhat prefers people to use SElinux instead of AppArmor. However, I have looked into it, and I think it is going to be very hard to translate my AppArmor profiles to SElinux policies. Furthermore, I don't think it is very linux-like to force software on the user. Ubuntu for example supports both SElinux and AppArmor and leaves it up to the user. I don't see why Redhat wouldn't do the same.

Anyway, most of the stuff on google about rhel + apparmor is pretty outdated. How is the support of AppArmor in the latest versions of RHEL / Fedora? Is it possible to get it working without manually building a kernel? Are there any packages available?

share|improve this question
up vote 2 down vote accepted

I think you're out of luck - it looks like you have to create a custom kernel for RHEL/CentOS and even then it's experimental.

share|improve this answer
Well this doc describes centos5. AppArmor is now part of the default linux kernel, so I was hoping that it might be easier on RHEL 6 or Fedora. Also, I don't really need all of the AppArmor tools that help with creating profiles. I have the profiles so I just need to get it running. – Jeroen Dec 11 '11 at 22:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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