Why 'rhnpush' failing with an 'Internal server error 500' when Selinux is in Enforcing mode on Red Hat Satellite 5.x?

Solution Verified - Updated -

Issue

  • Unable to upload package using rhnpush.
$ rhnpush -vvvv --force testpkg-noarch.rpm
Connecting to https://<satellite_fqdn>/APP url is https://<satellite_fqdn>/PACKAGE-PUSH
Result codes: 200 OK
Computing checksum and package info. This may take some time ...
Uploading package testpkg-noarch.rpm
Using POST request
Internal server error 500 Internal Server Error Error pushing testpkg-noarch.rpm:  (500)
1
Waiting 2 seconds and trying again...
Uploading package testpkg-noarch.rpm
Using POST request
Internal server error 500 Internal Server Error Error pushing testpkg-noarch.rpm:  (500)
1
Waiting 1 seconds and trying again...
Uploading package testpkg-noarch.rpm
Using POST request
Internal server error 500 Internal Server Error Error pushing testpkg-noarch.rpm:  (500)
1
Waiting 5 seconds and trying again...
Giving up after 3 attempts

Environment

  • Red Hat Satellite 5.x
  • Selinux Mode : Enforcing
  • /var/satellite mounted under /var/lib/pgsql/satellite

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.