hangs if no tty input is provided
Bug #528791 reported by
Rares Vernica
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://
100 /var/lib/
Changed in pssh (Ubuntu): | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.