Red Hat Bugzilla – Bug 817372
Spacecmd configchannel_addfile displays the base64 encoded file on the screen
Last modified: 2012-11-01 12:19:53 EDT
Description of problem:
When using configchannel_addfile in spacecmd, if a file has a trailing newline, it is base64 encoded, and then the base64 encoding is dumped to stdout. Since base64 encoding is not useful to humans, it is just added noise on the screen for no reason.
run spacemd configchannel_addfile /path/to/a/text/file.txt
You will see a bunch of base64 encoded noise on the terminal after the upload is complete.
The file is not displayed at all, or a text representation is displayed
Fixed by a2a351947e2721b5d23b08439e838df159fa2137
Please verify in next spacewalk-nightly spacecmd (1.8.6-1)
Moving ON_QA. Packages that address this bugzilla should now be available in yum repos at http://yum.spacewalkproject.org/nightly/
Spacewalk 1.8 has been released: https://fedorahosted.org/spacewalk/wiki/ReleaseNotes18