Why upgrading selinux-policy-targeted failed giving error "libsemanage.semanage_install_active: setfiles returned error code 1" ?
Issue
- The package
selinux-policy-targeted-3.7.19-307.el6.noarchproduced errors when performing a yum update:
Updating : selinux-policy-targeted-3.7.19-307.el6.noarch 190/423
/etc/selinux/targeted/contexts/files/file_contexts: Invalid argument
libsemanage.semanage_install_active: setfiles returned error code 1.
semodule: Failed!
- SELinux on this server is
disabledand a reboot produced no obvious issues. - Tried reinstalling the package, but this produced the same error.
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.
