aboutsummaryrefslogtreecommitdiff
path: root/scripts/post-rebuild-check
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-08-20 05:44:23 -0700
committerCraig Jennings <c@cjennings.net>2026-08-20 05:44:23 -0700
commitf876a717af9ae644320f014e30866bb919fcfe4e (patch)
tree3a9db3dfb753dab074e8265c190190b7253def3e /scripts/post-rebuild-check
parent9e8c8417fa0938b5d5304ace22b76e328e59efae (diff)
downloadarchsetup-f876a717af9ae644320f014e30866bb919fcfe4e.tar.gz
archsetup-f876a717af9ae644320f014e30866bb919fcfe4e.zip
fix(post-rebuild-check): stop overstating an unregistered signal account
The finding said agent-text relays into this machine, so a missing account broke paging for the whole fleet. That was true when the check was written and isn't now. agent-text walks AGENT_TEXT_RELAYS in order and skips itself, so a machine with no account pages through a relay that has one. It's still worth flagging, because the fleet does lose paging when no relay host is registered either. I reworded the finding to say that instead.
Diffstat (limited to 'scripts/post-rebuild-check')
-rwxr-xr-xscripts/post-rebuild-check10
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/post-rebuild-check b/scripts/post-rebuild-check
index 2013b26..14f2415 100755
--- a/scripts/post-rebuild-check
+++ b/scripts/post-rebuild-check
@@ -18,9 +18,11 @@
# 4. gitignore-mode projects missing tooling paths their own .gitignore
# names (a reinstall drops every such project's untracked working
# state -- 374 files in .emacs.d's case -- and nothing carries it)
-# 5. signal-cli holds no registered account (velox lost its
-# registration, and because agent-text relays into this machine,
-# that silently broke paging for the WHOLE fleet)
+# 5. signal-cli holds no registered account (velox lost its registration
+# in the rebuild; at the time agent-text relayed into velox, so that
+# silently broke paging for the WHOLE fleet. agent-text now walks
+# AGENT_TEXT_RELAYS in order and skips itself, so an unregistered
+# machine is only fatal when no relay host is registered either)
# 6. every NTP source is named by hostname (a wrong clock fails the
# DoT/DNSSEC validation this machine's DNS runs on, so nothing
# resolves -- including the NTP pool that would fix the clock; velox
@@ -418,7 +420,7 @@ fi
if [ "$signal_missing" = 1 ]; then
finding "signal-cli is not installed — paging relies on it fleet-wide"
elif [ -z "$signal_missing" ] && [ -z "$accounts" ]; then
- finding "no signal account registered — agent-text relays into this machine, so paging breaks for the whole fleet"
+ finding "no signal account registered — this machine can only page by relaying to one that has an account; if no host in AGENT_TEXT_RELAYS is registered either, the whole fleet loses paging"
fi
report "check 5/8: signal registration"