Lewis Bower:
> Hi,
> 
> I am following this 
> guide;https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall#installing-spacewalk
> 
> I am getting SELinux errors when installing spacewalk.
> 
> I am having two issues when installing  spacewalk-selinux-2.3.2-1.el7.noarch 
> and osa-dispatcher-selinux-5.11.74-1.el7.noarch
> 
> I get the errors:
> 
> Installing : spacewalk-selinux-2.3.2-1.el7.noarch Failed to resolve roletype 
> statement at
> /etc/selinux/mls/tmp/modules/400/spacewalk/cil:2
> /usr/sbin/semodule:  Failed!
> Failed to resolve roletype statement at
> /etc/selinux/strict/tmp/modules/400/spacewalk/cil:2
> /usr/sbin/semodule:  Failed! Verifying  : spacewalk-selinux-2.3.2-1.el7.noarch
> and also;
> 
> Installing : osa-dispatcher-selinux-5.11.74-1.el7.noarch
> Failed to resolve roletype statement at
> /etc/selinux/mls/tmp/modules/400/osa-dispatcher/cil:2
> /usr/sbin/semodule:  Failed!
> Failed to resolve roletype statement at 
> /etc/selinux/strict/tmp/modules/400/osa-dispatcher/cil:2
> /usr/sbin/semodule:  Failed!
> Verifying  : osa-dispatcher-selinux-5.11.74-1.el7.noarch
> In /etc/selinux/config it is SELINUX=enforcing and SELINUXTYPE=targeted. 
> result of rpm -qa | grep selinux-policy is 
> selinux-policy-3.13.1-102.el7_3.16.noarch and 
> selinux-policy-targeted-3.13.1-102.el7_3.16.noarch
> 
> I have enabled the CentOS-CR repo to resolve an earlier error when installing 
> about not having http-parser dependencies.
> 
> I have also tried setting SeLinux to permissive but this didn't help.

These errors messages are harmless.
They are cause by recent change in semodule error code handeling.
It's been already fixed for Spacewalk 2.7/nightly.
Despite the errors spacewalk selinux policy is installed correctly.

Regards,

> Cheers,
> 
> Lewis.

--
Michael Mráka
System Management Engineering, Red Hat

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to