[Spacewalk-list] Spacewalk 2.9 / Proxy and Selinux

Andy Warring kazonuk at gmail.com
Mon Apr 29 09:53:00 UTC 2019


Hi Michael,

Thank you for your reply

Running - /usr/sbin/spacewalk-proxy-selinux-enable appeared to do the
trick, the Proxy now seems to be behaving as expected.

I will be building another proxy shortly, so I can see if there are any
errors when spacewalk-proxy-selinux is installed.

thanks again

Andy

On Fri, 26 Apr 2019 at 14:17, Michael Mraka <michael.mraka at redhat.com>
wrote:

> 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
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190429/f1933e1c/attachment.htm>


More information about the Spacewalk-list mailing list