hangs if no tty input is provided

Bug #528791 reported by Rares Vernica
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pssh (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: pssh

If parallel-ssh is used in a script and no input is provided, it hangs.

Steps to reproduce:

$ echo localhost > hosts.txt
$ cat > script.sh
#!/bin/bash
parallel-ssh -h hosts.txt uptime
$ bash script.sh

The script hangs.

Workaround:

$ cat > script.sh
#!/bin/bash
echo | parallel-ssh -h hosts.txt uptime
$ bash script.sh
[1] 17:06:52 [SUCCESS] localhost 22
$

Other info:

$ lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10

$ apt-cache policy pssh
pssh:
  Installed: 1.4.3-1
  Candidate: 1.4.3-1
  Version table:
 *** 1.4.3-1 0
        500 http://us.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pssh (Ubuntu):
status: New → Confirmed
Revision history for this message
John Ellson (ellson) wrote :

Possibly related: #549117

Changed in pssh (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.