mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-09-12 12:36:23 +00:00
1c223b881c
The bounded build ran in its own process group, but a signal to the orchestrator was not forwarded to it. On cancellation the orchestrator exited and released its locks while schroot, mock and qemu kept running and writing into staging, so the next run raced an orphan it could not see. INT, TERM and HUP now reap the group before the process dies by the same signal, which keeps the exit status honest.