mars: drop idle-timeout on the /mnt/jupiter cifs mount

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011FHr5ug9pu8q4XPrRkFnzJ
This commit is contained in:
2026-08-22 03:09:21 +02:00
co-authored by Claude Sonnet 5
parent 7d63ba95df
commit 99501ce7d2
+6 -2
View File
@@ -38,8 +38,12 @@
"file_mode=0770" "file_mode=0770"
"dir_mode=0770" "dir_mode=0770"
"nofail" "nofail"
"x-systemd.automount" "x-systemd.automount" # lazy-mount so boot doesn't stall if jupiter's down
"x-systemd.idle-timeout=60" # 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" "x-systemd.mount-timeout=10s"
"_netdev" "_netdev"
]; ];