Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1098337

Summary: Remote commands stripping special characters
Product: [Community] Spacewalk Reporter: Jeremy Darr <jeremy.darr>
Component: APIAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.1CC: ggainey
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-30 17:29:55 UTC 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: 1207293    

Description Jeremy Darr 2014-05-15 21:08:10 UTC
Description of problem:
Remote commands on stock Spacewalk 2.1 are stripped of special characters: ()[]{}<> on execution.

Version-Release number of selected component (if applicable):
2.1

How reproducible:
Easily able to be reproduced on stock 2.1 install.

Steps to Reproduce:
1. Run a remote command such as:

#!/bin/bash
foo="bar";
echo ${foo};

Actual results:
When the command completes, you'd see:

#!/bin/bash
foo="bar";
echo $foo;

Expected results:
Commands should not be stripped and you should see the command that we originally entered.

Additional info:
It appears that workaround has been identified in the following mailing list entries:

http://www.redhat.com/archives/spacewalk-list/2014-April/msg00021.html
http://www.redhat.com/archives/spacewalk-list/2014-May/msg00086.html

Comment 1 Grant Gainey 2015-03-30 17:29:55 UTC
Should have been fixed in SW 2.2 - please re-open if that is not the case