[Spacewalk-list] Spacewalk 2.1 - characters in remote commands

Milan Zázrivec mzazrivec at redhat.com
Tue Apr 1 08:01:46 UTC 2014


On Monday 31 March 2014 21:36:10 BERGMAN Andrew wrote:
> Hi ,
> 
> I have done a bit of google searching but not had much luck finding an
> answer so I am posting on here.
> 
> When sending a remote commands I am finding > characters getting stripped
> out and making the command fail.  I haven't noticed any others yet but I
> get the feeling that the > character will not be the only one.

You have just discovered a bug in Spacewalk 2.1 webui. This used to work just
fine in Spacewalk 2.0.

> Does anyone know a way of sending such characters using remote commands or
> are we limited to very basic forms of commands?

Using > or < in the remote commands is all right. Right now though your only 
option is to use XML-RPC API and system.scheduleScriptRun() call:

http://www.spacewalkproject.org/documentation/api/2.1/handlers/SystemHandler.html#scheduleScriptRun

Regards
-Milan Zázrivec




More information about the Spacewalk-list mailing list