4c9e83f9f5
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>
5 lines
218 B
YAML
5 lines
218 B
YAML
---
|
|
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)
|