Bug 1014765
| Summary: | uploading configuration file using 'spacecmd system_addconfigfile' interpreted as binary | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | helfman |
| Component: | Clients | Assignee: | Milan Zázrivec <mzazrivec> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.8 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | spacecmd-2.1.21-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1069560 | ||
Fixed in spacewalk.git master: 48248b7818e8b09bf25c6407c1d285baa1cca857 Thank you for your report. Switching MODIFIED Spacewalk bugs to ON_QA before 2.1 release. Spacewalk 2.1 has been released. https://fedorahosted.org/spacewalk/wiki/ReleaseNotes21 Spacewalk 2.1 has been released. https://fedorahosted.org/spacewalk/wiki/ReleaseNotes21 |
Description of problem: Uploading a configuration file or a text file is interpreted as binary, when it is not. Version-Release number of selected component (if applicable): 1.8 How reproducible: echo test > /tmp/testfile upload to local config channel using spacewalk Steps to Reproduce: 1. echo test > /tmp/testfile 2. spacecmd {SSM:0}> system_addconfigfile $HOST -f /tmp/testfile -p /tmp/testfile -L Actual results: INFO: trailing newlines detected, uploading as binary Path: /tmp/testfile Directory: False Owner: root Group: root Mode: 0644 SELinux Context: Contents not displayed (base64 encoded) Is this ok [y/N]: y Expected results: File is text, and should be uploaded as text. $file /tmp/testfile testfile: ASCII text Document URL: Section Number and Name: Describe the issue: Suggestions for improvement: Additional information: Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: Document URL: Section Number and Name: Describe the issue: Suggestions for improvement: Additional information: Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: