Re-declaration of type entropyd_t error during update of selinux-policy-targeted or selinux-policy-mls

Solution Verified - Updated -

Issue

  • During update of selinux-policy-targeted, the following error message is printed

    Re-declaration of type entropyd_t
    Failed to create node
    Bad type declaration at /etc/selinux/targeted/tmp/modules/100/entropyd/cil:1
    semodule:  Failed!
    
  • During update of selinux-policy-mls, the following error message is printed

    Re-declaration of type entropyd_t
    Failed to create node
    Bad type declaration at /etc/selinux/mls/tmp/modules/100/entropyd/cil:1
    semodule:  Failed!
    

Environment

  • Red Hat Enterprise Linux 7 (RHEL7)
  • selinux-policy-targeted and selinux-policy-mls
  • redhat-upgrade-tool

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