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:
@@ -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"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user