-
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: 6 comments 16 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.
-
Anyone have a current reproducer for this? I have an older centos stream 9 system that I installed last summer; it exhibits this behavior for one user I created back then, but I'm not able to reproduce it with a different user on that system now nor on a freshly-installed CS9 system now. I used the same ansible role to create a system user and install a rootless containerized service in all cases. I noticed that when running
Whereas if I try to reproduce with a different user on the same system, or a fresh system, I see:
In no case is there a @mheon does any of this ring a bell? I see that you added #22278 some time ago... |
Beta Was this translation helpful? Give feedback.
-
Ah, so if I ran a container with that user prior to enabling lingering, that might result in /tmp being used as the runRoot? |
Beta Was this translation helpful? Give feedback.
-
Yes, we cache the paths in use in the database to make sure they don’t
change as that can break things.
…On Fri, Jan 3, 2025 at 10:51 Michael Hrivnak ***@***.***> wrote:
run a container afterwards while making sure that /run/user/$UID exists
and is accessible for the user in question (which may require a loginctl
enable-linger for the user).
Ah, so if I ran a container with that user prior to enabling lingering,
that might result in /tmp being used as the runRoot?
—
Reply to this email directly, view it on GitHub
<#23193 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3AOCFJO4MJLEQBODMCRQ32I2WWXAVCNFSM6AAAAABKK4NEH6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNZSGY4TMNQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
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.