mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-09-12 12:36:23 +00:00
4395cb95368acfffd72707cddf69a5c625d3ee64
The worker spawned the builder with system(), so the builder, its schroot session and qemu were in the worker's process group but owned by nobody: a cancelled worker died and left them running, holding the chroot and writing into staging. Only the build inside the builder was protected, and nothing signalled the builder. The builder now runs through run_bounded, which gives it its own process group and forwards the signal, so one cancellation unwinds the whole chain. The wall-clock bound stays with the builder, which derives it from the chroot arch. A forked worker also drops the parent's forwarder, whose copy names siblings the parent already signals.
Description
No description provided
Languages
C
89%
Perl
6.7%
Assembly
1.4%
JavaScript
0.8%
Makefile
0.6%
Other
1.4%