Description of problem:
The yum-rhn-plugin sends http-headers that are separated by only a newline, when the spec requires CRLF.
In the presence of an httpd which enforces the spec, this results in any attempt to update/install content returning
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 400 Bad Request"
Version-Release number of selected component (if applicable):
The bug was introduced in yum-rhn-plugin-0.8.4-1. The problem was harmless until uncovered by fixes for httpd that tightened whitespace processing.
How reproducible:
See https://bugzilla.redhat.com/show_bug.cgi?id=1422518 for gory details. The net is, 'yum update a system that is talking to a satellite-5 whose httpd is at 2.2.15-60 or higher'.
Actual results:
error was [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 400 Bad Request"
Expected results:
successful install/update of packages.
Additional info:
This BZ is for getting the client-side fix in place for RHEL6, BZ#1422518 is for getting a workaround in place on the Satellite5 backend.
This needs to be fixed for RHEL6.9 if at all possible, in order to have the fix on the ISO and in kickstart trees.