mirror of https://github.com/ansible/ansible.git
Fix the local and ssh plugins for a cornercase retrying a syscall
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 #41630pull/44078/head
parent
1fb0e11b56
commit
e2e44f846c
@ -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