Description of problem: On systems that have the python-reportlab module installed, the 'sgmlop' module causes scripts written by rhn_check.py to contain DOS line breaks (CR LF). This causes the script to fail because execve() cannot find an interpreter named /bin/bash^M (or similar). Version-Release number of selected component (if applicable): 5.7 How reproducible: Always Steps to Reproduce: 1. Install python-reportlab module 2. Queue a script command in Satellite to run on a client. 3. Run rhn_check on that client. Actual results: Script is never executed. strace on rhn_check.py shows that the execve() call fails with a ENOENT (no such file or directory): 708 14:27:58.553147 execve("/tmp/rhn-remote-script", ["/tmp/rhn-remote-script"], ...) = -1 ENOENT (No such file or directory) <0.000066> Expected results: Script works. Additional info: The fix for this has been merged upstream in: https://github.com/spacewalkproject/spacewalk/commit/4720f78c9709018c92604f99648751ee78e59427 Therefore it should be relatively simple to pull a commit that was added to upstream a year ago.
*** This bug has been marked as a duplicate of bug 1234612 ***