mirror of https://github.com/ansible/ansible.git
[stable-2.5] Fix the local and ssh plugins for a cornercase retrying a syscall (#44074)
The bundled selectors library which is used by the local and ssh
connection plugins had a bug which caused a traceback in a cornercase.
If selectors were in use and a syscall was interrupted, selectors would
attempt to restart the syscall after the interrupt was processed. if
the attempt determined that the timeout for running the syscall had
already expired, the code attempted to raise OSError. The raise was
using a Python3-ism and needed to be ported to work on Python2.
Fixes #41630
(cherry picked from commit e2e44f8
)
Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
pull/44321/head
parent
e107da11e0
commit
4c9e83f9f5
@ -0,0 +1,5 @@
|
||||
---
|
||||
bugfixes:
|
||||
- fix for the bundled selectors module (used in the ssh and local connection
|
||||
plugins) when a syscall is restarted after being interrupted by a signal
|
||||
(https://github.com/ansible/ansible/issues/41630)
|
Loading…
Reference in New Issue