mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-20 17:32:15 +00:00
11b0e08ab2
xcat_pr_test fails in release_repository.t with "retained for surviving build workers in process group 1". The schedule stub in that test returns 1 from Parallel::ForkManager::start. start_build_worker() accepted ESRCH from setpgid() and recorded group 1 on the build lock. Group 1 is always alive, so the next buildrpms.pl run in the same lock directory is refused. ESRCH means the pid is not a child of this process. The gated child, if there is one, has not run, so start_build_worker() now records nothing and reports failure. It also no longer writes to a gate that no child reads. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
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.