[Spacewalk-list] Spacewalk 2.9 / Proxy and Selinux
Michael Mraka
michael.mraka at redhat.com
Fri Apr 26 13:16:41 UTC 2019
Andy Warring:
> Hi,
>
> I have installed the latest Spacewalk Proxy packages on a CentOS 7.AMI from
> Amazon - CentOS Linux 7 x86_64 HVM EBS ENA 1901_01 but an instance tries to
> register through it to our Spacewalk Master it gets the following error:
>
> PYCURL ERROR 22 - "The requested URL returned error: 500 Internal Server
> Error"
>
> If we disable SELinux on the Proxy, this then works ok.
>
> I have checked that the Proxy has installed the spacewalk-proxy-selinux
> package
>
> rpm -ql spacewalk-proxy-selinux
> /usr/sbin/spacewalk-proxy-selinux-enable
> /usr/share/doc/spacewalk-proxy-selinux-2.8.3
> /usr/share/doc/spacewalk-proxy-selinux-2.8.3/spacewalk-proxy.fc
> /usr/share/doc/spacewalk-proxy-selinux-2.8.3/spacewalk-proxy.if
> /usr/share/doc/spacewalk-proxy-selinux-2.8.3/spacewalk-proxy.te
> /usr/share/selinux/devel/include/apps/spacewalk-proxy.if
> /usr/share/selinux/mls/spacewalk-proxy.pp
> /usr/share/selinux/strict/spacewalk-proxy.pp
> /usr/share/selinux/targeted/spacewalk-proxy.pp
>
> semodule -l | grep spacewalk-proxy
> this returned no results!
Was there any error during spacewalk-proxy-selinux installation?
There's /usr/sbin/spacewalk-proxy-selinux-enable script which is
normally triggered in postinstall. You can re-run it manually.
And there's also
restorecon -rvvi /var/log/rhn /var/cache/rhn/proxy-auth /var/spool/rhn-proxy
run in postinstall.
Regards,
--
Michael Mráka
System Management Engineering, Red Hat
More information about the Spacewalk-list
mailing list