When the daemon process is timeout, it will kill itself. But the parent
doesn't reap it. This patch add a thread to wait the process to be done
once the daemon is started.
Closes-Bug: #1850241
Change-Id: Ic209b8ef86c2522ce7e4bd81ac57bf13f1706a81
(cherry picked from commit c9a57aab082f55d525f003db61290b6ab7437b7c)
Reviewed: https:/ /review. opendev. org/c/openstack /oslo.rootwrap/ +/805898 /opendev. org/openstack/ oslo.rootwrap/ commit/ 4f0cf26de8f4cc2 03eda8dff42d238 05513c2f97
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/train
commit 4f0cf26de8f4cc2 03eda8dff42d238 05513c2f97
Author: Jeffrey Zhang <email address hidden>
Date: Mon Oct 28 21:26:59 2019 +0800
reap rootwrap daemon process when it is timeout
When the daemon process is timeout, it will kill itself. But the parent
doesn't reap it. This patch add a thread to wait the process to be done
once the daemon is started.
Closes-Bug: #1850241 2ce7e4bd81ac57b f13f1706a81 525f003db61290b 6ab7437b7c)
Change-Id: Ic209b8ef86c252
(cherry picked from commit c9a57aab082f55d