From 72503cd7ae7b13d5635a5adcb1bf7551637d5451 Mon Sep 17 00:00:00 2001 From: tomnewton-mulga Date: Thu, 16 Apr 2026 17:58:54 +1000 Subject: [PATCH] fix: prevented systemd blocking --- cmd/installer/systemd/systemd.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cmd/installer/systemd/systemd.go b/cmd/installer/systemd/systemd.go index 90f0cb0d1..2f08b0a6e 100644 --- a/cmd/installer/systemd/systemd.go +++ b/cmd/installer/systemd/systemd.go @@ -87,6 +87,10 @@ Type=oneshot Environment=HOME=/root ExecStart=/usr/local/bin/spinifex-firstboot.sh RemainAfterExit=yes +# Cap total firstboot runtime so a hang in setup-ovn.sh / spx admin init / +# ovn-central startup cannot wedge multi-user.target and keep getty from +# ever reaching the login prompt. +TimeoutStartSec=180s StandardOutput=journal StandardError=journal @@ -111,6 +115,9 @@ Wants=spinifex.target Type=oneshot ExecStart=/usr/local/bin/spx admin banner --boot-check RemainAfterExit=yes +# Banner is oneshot; cap it so a stuck boot-check (IP detection, try-restart) +# cannot block getty via the spinifex-wait.conf drop-in. +TimeoutStartSec=30s StandardOutput=journal StandardError=journal