-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XDG_RUNTIME_DIR is pointing to a path which is not writable. Most likely podman will fail #11521
Comments
@flouthoc PTAL |
@Luap99 hmm this is a weird blocker , should we have a quit flag for tests ? as this warning was specifically meant for users. I'll check this. Thanks for creating this issue. We can de-escalate this to debug log but then the whole purpose of warning would go away. Btw this is only triggered
|
This is cluttering the logs with useless warnings. This is big problem for me. I am sure @edsantiago agrees. Why is this warning shown in CI tests, the runroot is obviously writeable. I think the problem is that the directory does not exist when the check is made but podman will automatically create it at a later point. |
@Luap99 This makes sense we can create the dir if it does not exists or move the check just after the directory is created. That should suppress warning for most of the cases. |
Why do we check the systemd session or cgroupv2? I think we should just check if the dir is writable. As long as the dir is not writable people will always run into problems. |
The rootless integration tests show the XDG_RUNTIME_DIR warning without any reasons. Podman runs without problems in these and yet the warning is shown. I think the problem is that we check the permission before we create the runroot directory. [NO TESTS NEEDED] Fixes containers#11521 Signed-off-by: Paul Holzinger <[email protected]>
@Luap99 Podman fall backs to temp and things work out fine in most of the cases when its |
since everything falls back to |
Some of the key points are discussed here as well #11327 |
@flouthoc this is not a serious issue. You don't have to look at it during your day off. I'll take a look at it |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
All integration test logs now have this warning for each podman command
time="2021-09-10T08:35:26Z" level=warning msg="XDG_RUNTIME_DIR is pointing to a path which is not writable. Most likely podman will fail."
Steps to reproduce the issue:
Look at any recent integration test logs (rootless).
Describe the results you expected:
This warning should not be there. It makes it impossible to exactly match output.
The text was updated successfully, but these errors were encountered: