Why does SELinux policy load take a long time when MLS is setup with large category set?
Issue
- Why does SELinux policy load take a long time when MLS is setup with large category set?
- It is required to set up
mlspolicy with a large (16384) number of categories. A policy recompiled to add that many categories takes a long time to load. - For example,
semanage dontaudit on/offtakes anywhere from 30 to 45 minutes depending on the number of cpus assigned to the vm. - Is this long time avoidable? Can it be made faster?
Environment
- Red Hat Enterprise Linux 6.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
