Replies: 2 comments
-
Podman is not shutting down the service every 5 minutes. Podman is not even running, so most likely something else is telling systemd to shut down the service. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Right, this is probably a systemd thing. The service file generated in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description
Please consider this quadlet:
With the volume defined in
/etc/fstab
as:When I start this quadlet, it gets shut down after 5 minutes, systematically. I'm getting this in the logs:
The service receives a
stop
command exactly 5 minutes after its start, and since/mnt/nas/Media
gets unmounted right after the stop and the automount timeout is 5 minutes, I think that's likely the culprit. If I remove theVolume
line in the quadlet file, the service doesn't get stopped.Is this a bug in Podman or is there something I must add to the
.container
file? (I didn't find anything about that in the docs)I can easily reproduce it, so I'm happy to help debug it if needed.
Steps to reproduce the issue
Steps to reproduce the issue
systemctl daemon-reload
and start the automount mount point and the containerDescribe the results you received
The service gets stopped.
Describe the results you expected
The automount mount point gets pinged (or however its timeout should get cancelled) and isn't unmounted, or it gets unmounted but is remounted transparently when the container accesses the volume.
podman info output
Podman in a container
No
Privileged Or Rootless
Privileged
Upstream Latest Release
No
Additional environment details
Fedora 39 freshly upgraded and updated.
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions