-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[Bug]: invalid argument, permission denied when running containers with --userns=auto in rootful on FCOS #17171
Comments
have you tried the workaround suggested here: coreos/fedora-coreos-tracker#1305 (comment) ? |
@giuseppe yes ( does not work ), its a slightly different problem, in coreos/fedora-coreos-tracker#1305 no container can start, while I can start containers, but seems that attaching when running two same containers can cause these symptoms ( but again its failing only for one container, probably for the newer one ) |
A friendly reminder that this issue had no activity for 30 days. |
@giuseppe @lukasmrtvy Any update on this one? |
@rhatdan same error in 4.4.1 ( from dmesg I also noticed there is another error ending with both related to attaching the container. Will try to do more investigation. |
@lukasmrtvy have you tried either deleting the underlying container image and pulling again or exporting the image, deleting and importing back again? The thread that @giuseppe mentioned had those workarounds added recently, after original one he referred to. These seem to fix the immediate issue though not the underlying cause for me. I have not found a pattern as to why it happens or how to reproduce this. This happened again to me but this time it was the container launched correctly a few times and then it did not (same podman version and os version between launches). The podman output is the same each time but dmesg output does seem to vary a bit for me. I have seen return code |
@ykuksenko thanks using ( podman.service is triggered by podman.socket, so this should work out of the box ):
snippet from coreos/fedora-coreos-tracker#1305 (comment) and its working, at least I dont see any errors mentioned in this issue anymore. |
A friendly reminder that this issue had no activity for 30 days. |
I think this has resolved itself, so closing. |
Issue Description
When running some ( probably the same ) containers with
--userns=auto
via API ( rootful ), sometimes ( its not random pattern I believe ) I will getinvalid argument
andpermission denied
error, but just for only one container, the other will run correctly. ( My application is using http://podman.io/libpod/containers/{name}/attach endpoint for streaming logs ). I am trying with 4.4.0-dev on Fedora CoreOS. I do not have the reproducer yet but I will edit this ASAP once I figure out how to reproduce this problem.Related:
36.20220906.3.2
, but can with36.20220820.3.0
coreos/fedora-coreos-tracker#1305Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
Some containers are not running with --users=auto in rootful on FCOS.
Describe the results you expected
Some containers are running with --users=auto in rootful on FCOS.
podman info output
Podman in a container
No
Privileged Or Rootless
Privileged
Upstream Latest Release
Yes
Additional environment details
Cloud:
OS:
Version:
Podman package from copr:copr.fedorainfracloud.org:rhcontainerbot:podman-next
Additional information
No response
The text was updated successfully, but these errors were encountered: