-
Dear friends, i am running a Fedora F40 Server in order to run my apps, where some of them use podman to run rootless container. One of these technical users shows a strange behaviour after some updates. Whenever i reboot my sever and i login
Then i go into the podmanTMP directory and i see a couple of files:
So when i remove all these files, podman is running, and the systemd --user is also able to run the application, that normally lauch up, when the host is starting. Do you have an idea, what went wrong. This configuration suddently fails, maybe due to a update, that took place a week ago. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 15 replies
-
https://github.com/containers/podman/releases/tag/v5.1.0
In general the podman tmpdir and rundir must be on a tmpfs or deleted on boot in order to allow for podman to function properly |
Beta Was this translation helpful? Give feedback.
-
Salut @Luap99 so the best strategy is to ignore the --tmpdir argument, when building the image and let podman decide to choose the correct default tmp-directory for this step. Would that be the right conclusion from your answer? Thank you for your help! |
Beta Was this translation helpful? Give feedback.
-
Have the same issue today as podman was upgraded to 5.2.2. This broke some of our containers that run as a systemd user service. The current workaround is to remove these files before the service starts . Part of our problem is that /tmp exists as an xfs file system (don't ask) so the files persist upon reboot. |
Beta Was this translation helpful? Give feedback.
you can use --tmpdir but you should make sure that this directory is on a tmpfs or deleted on boot before you launch podman.