]
Daniel Belenky reassigned OVIRT-1819:
-------------------------------------
Assignee: Daniel Belenky (was: infra)
Hanging processes left after mock_runner is being terminated
------------------------------------------------------------
Key: OVIRT-1819
URL:
https://ovirt-jira.atlassian.net/browse/OVIRT-1819
Project: oVirt - virtualization made easy
Issue Type: Bug
Reporter: Daniel Belenky
Assignee: Daniel Belenky
Priority: Highest
Since mock_runner.sh runs as $user and mock runs as root, mock_runner can't propagate
signals to mock process.
Due to the said above, if mock_runner is being terminated, the mock process will be left
behind as an orphaned.
Another symptom is subprocesses of user script which are not being killed after users
script returns.
We need to trap signals from mock_runner and implement a message pipe between mock_runner
and mock to propagate the signals.