Why I am getting "SELinux: Could not load policy file /etc/selinux/targeted/policy/policy.24: Invalid argument" message while installing libsemanage package?

Solution Unverified - Updated -

Issue

  • Why I am getting "SELinux: Could not load policy file /etc/selinux/targeted/policy/policy.24: Invalid argument" message while installing libsemanage package?
  • The comeplete error message:
SELinux:  Could not load policy file /etc/selinux/targeted/policy/policy.24:  Invalid argument
/sbin/load_policy:  Can't load policy:  Invalid argument
libsemanage.semanage_reload_policy: load_policy returned error code 2.
/usr/sbin/semanage: Could not commit semanage transaction

Environment

  • Red Hat Enterprise Linux 6.6
  • policycoreutils-2.0.83-19.47.el6_6.1.x86_64
  • libsemanage-2.0.43-4.2.el6.x86_64

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.