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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content