2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-11-21 01:42:15 +00:00
Files
xcat-core/build-utils
Daniel Hilst 17b84cfd3a fix(xcat-core): a worker that dies before release ends the build with SIGPIPE
start_build_worker writes one byte to the gate pipe to release a worker
after the build lock records its group. When the worker dies between the
record and that write, the pipe has no reader and the write raises
SIGPIPE. The default disposition ends the builder at once, so its
cleanup never runs: the Debian package tree is not restored and the lock
is not released.

Ignore SIGPIPE for that one write. The write then fails with EPIPE and
start_build_worker reports the worker as not released, which is the
existing failure path. build_worker_gate_sigpipe.t passes with this
change.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-11-06 16:24:46 -03:00
..
2024-05-07 16:31:30 +02:00

Shared FIPS shell policy

Edit fips-policy.sh, then run:

perl build-utils/sync-fips-policy --write
perl build-utils/sync-fips-policy --check

Commit the source and both updated runtime libraries together. The generated blocks in Genesis usr/lib/xcat/fips.sh and postscripts xcatlib.sh stay tracked so source-checkout callers and standalone packages need no generation step. The RPM and Debian builders reject stale blocks before building either package.

Keep caller-specific helpers outside the generated block. The policy source must remain POSIX shell. It must not depend on the other package at runtime.