Record the composition hook failure

This commit is contained in:
Archipelago 2026-11-18 11:20:54 +00:00
parent 1443684629
commit 1817d219ca

View file

@ -23,9 +23,15 @@ rejected even though the adapter had already verified the local bytes, checksum
`/run/archipelago-package-install.conf` with `LocalFileSigLevel = Optional` for that
single `-U` transaction. Present repository signatures are still verified; the
image's `/etc/pacman.conf` is untouched. `system/tests/dkms_inputs.py` covers the
config rendering and all five tests pass on a real Arch host with `bsdtar`. A new
image is required to carry the fixed daemon to deployed systems; the existing
`20261117T101510Z` image still has the old behaviour.
config rendering and all five tests pass on a real Arch host with `bsdtar`.
A retry with the first corrected diagnostic daemon exposed a second latent issue:
`36-systemd-modules-load.hook` calls `systemctl --system restart` directly, which
cannot work inside the non-booted composition root. The adapter now masks every
base hook whose `Exec` calls `systemctl` directly; `systemd-hook`-based hooks
already skip a chroot, and target boot performs the runtime action. A new image (or
the refreshed diagnostic daemon) is required to carry both fixes to deployed
systems; the existing `20261117T101510Z` image still has the old behaviour.
## Automatic object collection after a successful Stage (2026-11-18)