From 99501ce7d223ec67fd9a43931a2ecf099eafe73c Mon Sep 17 00:00:00 2001 From: Erik Simon Date: Sat, 22 Aug 2026 03:09:21 +0200 Subject: [PATCH] mars: drop idle-timeout on the /mnt/jupiter cifs mount MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit podman-hermes-agent.service RequiresMountsFor /mnt/jupiter, but the mount option copied from terra's (read-only, nothing depends on it) browsing mount included x-systemd.idle-timeout=60 — confirmed on real hardware, this killed the container ~60-70s after every start with no crash or error, just an idle auto-unmount taking the dependent service down with it. Keep the lazy x-systemd.automount (so boot doesn't stall if jupiter's down) but drop the timeout now that something needs the mount to persist. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_011FHr5ug9pu8q4XPrRkFnzJ --- hosts/mars/configuration.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hosts/mars/configuration.nix b/hosts/mars/configuration.nix index 9319f1d..40f001e 100644 --- a/hosts/mars/configuration.nix +++ b/hosts/mars/configuration.nix @@ -38,8 +38,12 @@ "file_mode=0770" "dir_mode=0770" "nofail" - "x-systemd.automount" - "x-systemd.idle-timeout=60" + "x-systemd.automount" # lazy-mount so boot doesn't stall if jupiter's down + # NO idle-timeout here (unlike terra's equivalent mount): hermes-agent's + # podman-hermes-agent.service RequiresMountsFor this path, so an idle + # auto-unmount tears the container down with it — confirmed the hard + # way, it killed the service ~60-70s after every start with no crash + # or error, just "Unmounting /mnt/jupiter" right before the stop. "x-systemd.mount-timeout=10s" "_netdev" ];