From 7320e94160edec93302c622ad9a23535e81dfa52 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Wed, 25 Feb 2026 00:43:34 -0500 Subject: [PATCH] ntfy-alerts: suppress notifications for sanoid --- modules/ntfy-alerts.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/ntfy-alerts.nix b/modules/ntfy-alerts.nix index 6446e05..e9e6b03 100644 --- a/modules/ntfy-alerts.nix +++ b/modules/ntfy-alerts.nix @@ -97,6 +97,10 @@ in }; }; + # TODO: sanoid's ExecStartPre runs `zfs allow` which blocks on TXG sync; + # on the hdds pool (slow spinning disks + large async frees) this causes + # 30+ minute hangs and guaranteed timeouts. + "sanoid".unitConfig.OnFailure = lib.mkForce ""; }; # Global OnFailure drop-in for all services