ValueError: No SELinux Policy installed and Failed to resolve roleattributeset statement
Issue
-
When run
semanage port -a -t squid_port_t -p tcp 8180, resulted in
ValueError: No SELinux Policy installed. -
When run
setsebool -P squid_connect_any 0, resulted inFailed to.
resolve roleattributeset statement at /etc/selinux/targeted/tmp/modules/400/jbcs-httpd24-httpd/cil:1 -
When run
semodule -i jbcs-httpd24-httpd.pp, resulted inFailed to
resolve roleattributeset statement at /etc/selinux/targeted/tmp/modules/400/jbcs-httpd24-httpd/cil:1
Environment
- Red Hat Enterprise Linux 7
- selinux-policy
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.