Why does SELinux policy load take a long time when MLS is setup with large category set?

Solution Unverified - Updated -

Issue

  • Why does SELinux policy load take a long time when MLS is setup with large category set?
  • It is required to set up mls policy 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/off takes 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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.