<div dir="ltr">Hi Michael,<div><br></div><div>Thank you for your reply</div><div><br></div><div>Running - /usr/sbin/spacewalk-proxy-selinux-enable appeared to do the trick, the Proxy now seems to be behaving as expected.</div><div><br></div><div>I will be building another proxy shortly, so I can see if there are any errors when spacewalk-proxy-selinux is installed. </div><div><br></div><div>thanks again</div><div><br></div><div>Andy</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 26 Apr 2019 at 14:17, Michael Mraka <<a href="mailto:michael.mraka@redhat.com">michael.mraka@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Andy Warring:<br>
> Hi,<br>
> <br>
> I have installed the latest Spacewalk Proxy packages on a CentOS 7.AMI from<br>
> Amazon - CentOS Linux 7 x86_64 HVM EBS ENA 1901_01 but an instance tries to<br>
> register through it to our Spacewalk Master it gets the following error:<br>
> <br>
> PYCURL ERROR 22 - "The requested URL returned error: 500 Internal Server<br>
> Error"<br>
> <br>
> If we disable SELinux on the Proxy, this then works ok.<br>
> <br>
> I have checked that the Proxy has installed the spacewalk-proxy-selinux<br>
> package<br>
> <br>
> rpm -ql spacewalk-proxy-selinux<br>
> /usr/sbin/spacewalk-proxy-selinux-enable<br>
> /usr/share/doc/spacewalk-proxy-selinux-2.8.3<br>
> /usr/share/doc/spacewalk-proxy-selinux-2.8.3/spacewalk-proxy.fc<br>
> /usr/share/doc/spacewalk-proxy-selinux-2.8.3/spacewalk-proxy.if<br>
> /usr/share/doc/spacewalk-proxy-selinux-2.8.3/spacewalk-proxy.te<br>
> /usr/share/selinux/devel/include/apps/spacewalk-proxy.if<br>
> /usr/share/selinux/mls/spacewalk-proxy.pp<br>
> /usr/share/selinux/strict/spacewalk-proxy.pp<br>
> /usr/share/selinux/targeted/spacewalk-proxy.pp<br>
> <br>
> semodule -l | grep spacewalk-proxy<br>
> this returned no results!<br>
<br>
Was there any error during spacewalk-proxy-selinux installation?<br>
There's /usr/sbin/spacewalk-proxy-selinux-enable script which is<br>
normally triggered in postinstall. You can re-run it manually.<br>
<br>
And there's also<br>
restorecon -rvvi /var/log/rhn /var/cache/rhn/proxy-auth /var/spool/rhn-proxy<br>
run in postinstall.<br>
<br>
<br>
Regards,<br>
<br>
--<br>
Michael Mráka<br>
System Management Engineering, Red Hat<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></blockquote></div>