oslo.privsep/releasenotes/notes/un-monkey-patch-privileged-daemon-160e00296549df3d.yaml
Rodolfo Alonso Hernandez 1dc378c76f Undo the eventlet monkey patch for the privileged daemon
Change-Id: I422125b137a3beadb0a79f5944a19fce62f093d6
Closes-Bug: #1887506
2020-07-15 14:48:08 +00:00

12 lines
602 B
YAML

---
other:
- |
The ``oslo.privsep`` client can be called from a program using eventlet.
If ``eventlet.monkey_patch``, some libraries will be patched, for example
``threading`` or ``os``. When the root daemon is forked from the client
process, those libraries remain patched. Now, when the daemon is forked
from the client process, those libraries and methods are restored to the
original values. The goal is to prevent some timeouts when using eventlet
threads (user threads); system threads are preemptive and the code does
not need to care about the executor token.