Files
fips/testing/deb-install
Johnathan Corgan c8c32cccc1 Restart systemd-resolved in the deb-install DNS checks without tripping its start limit
The remove and purge checks restart systemd-resolved after planting the
DNS routing file, and that restart came seconds after several others:
fips-dns-teardown and fips-dns-setup when the gateway block restarts the
daemon, the teardown again when the remove check stops fips-dns, and
postrm on the remove. By default systemd refuses more than five starts
of a unit within one 10 s start-limit window, so depending on where that
window opened, the purge check's restart was refused, resolved was left
failed with start-limit-hit, and the resolvectl check after it waited
25 s on D-Bus activation and failed before the purge ran. The restart
was unchecked, so nothing showed why.

Clear the unit's failed state and start counter before restarting it,
check the restart, wait for resolved to be active, and on failure record
the restart's output with the unit's status and journal instead of
running the resolvectl check against a resolver that is not there.
2026-10-06 06:00:34 +00:00
..