Public bug reported:

Binary package hint: pdsh

Description:    Ubuntu 9.10
Release:        9.10

pdsh:
  Installed: 2.18-1
  Candidate: 2.18-1
  Version table:
 *** 2.18-1 0
        500 http://us.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

A command like

    $ pdsh -w myhost echo "1 2 3 |" "hostname"

should output something like

    myhost: 1 2 3 | hostname

In fact I get

    myhost: myhost

That is, 'hostname' is actually being invoked somehow.  I'm not sure
exactly what's going wrong, but basically it looks like pdsh is parsing
and munging command arguments very strangely.  Under some circumstances,
this might end up doing something really horrible.

In general, I would have expected the output of "pdsh <pdsh-args>
<command> <arg>..." to be about the same as "ssh <host> <command>
<arg>...".

(A workaround of sorts is to place two layers of quotes around the
command and its arguments.)

** Affects: pdsh (Ubuntu)
     Importance: Undecided
         Status: New

-- 
pdsh mishandles command argument quoting 
https://bugs.launchpad.net/bugs/501427
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to