Public bug reported:

Binary package hint: pssh

as reported upstream in :

  http://code.google.com/p/parallel-ssh/issues/detail?id=21

sometimes a race condition could result in a signal being sent and
interrupting a write call, leading to the following traceback :

Traceback (most recent call last):
  File "/usr/bin/parallel-ssh", line 119, in <module>
    do_pssh(hosts, cmdline, opts)
  File "/usr/bin/parallel-ssh", line 110, in do_pssh
    manager.run()
  File "/usr/lib/pymodules/python2.6/psshlib/manager.py", line 68, in run
    self.update_tasks(writer)
  File "/usr/lib/pymodules/python2.6/psshlib/manager.py", line 122, in 
update_tasks
    keep_running = self.reap_tasks()
  File "/usr/lib/pymodules/python2.6/psshlib/manager.py", line 147, in 
reap_tasks
    self.finished(task)
  File "/usr/lib/pymodules/python2.6/psshlib/manager.py", line 185, in finished
    task.report(n)
  File "/usr/lib/pymodules/python2.6/psshlib/task.py", line 264, in report
    sys.stdout.write(self.outputbuffer)
IOError: [Errno 4] Interrupted system call

a solution has been committed upstream and has been released and
validated to correct the problem in 10.04, even if it has introduced a
regression for distributions that use python interpreters older than 2.6
as shown by upstream's issue 35.

a combined patch which also fixes that problem (in case this might need
to be backported further, eventhough hasn't been reproduced at least in
8.04) attached

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


** Tags: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/711153

Title:
  Intermitent IOError: [Errno 4] Interrupted system call when using -i

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

Reply via email to