-
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
[fc31,rootless] podman exec: OCI runtime permission denied #4162
Comments
Possibly related - lmk if I should open a separate issue:
|
|
The last one is us being unable to talk to systemd... It seems to be trying to talk to root's systemd dbus? |
First one and probably second are probably crun, @giuseppe PTAL |
@edsantiago Can we get a separate issue for the third one? I think the first two may be related |
So.... this is a longstanding point of confusion for me. Remember the log-level bug? #4012? One of the spurious warnings that kept getting emitted is:
(note the 0 in Yes, I'll open a new issue for |
My bet is that it's using EUID to decide what bus to connect to, which will be 0 (we've already join a user namespace, but not the mount/other namespaces, by the time we try to talk to the bus). |
Yes that would be a HUGE issue. We should be trying to talk to the USER UID. |
if the variable is not set, make sure it has a sane value so that go-dbus won't try to connect to the wrong user session. Closes: containers#4162 Closes: containers#4164 Signed-off-by: Giuseppe Scrivano <[email protected]>
For benefit of anyone encountering this bug, the workaround is:
|
FWIW this is still an issue on Fedora 32, which ships podman 2.0.4. Could you bump the version in Fedora to include this bugfix? (the workaround above does work though), i.e. setting |
Podman 2.0.5 should be hitting stable soon, but I'm not sure if it has the
fix. Worst case, it will come in Podman 2.1.0 which will release in a week
or so.
…On Thu, Aug 27, 2020, 19:03 Török Edwin ***@***.***> wrote:
FWIW this is still an issue on Fedora 32, which ships podman 2.0.4. Could
you bump the version in Fedora to include this bugfix?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4162 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3AOCD3BDNFQ2S3GXDU7ZLSC3Q5NANCNFSM4I4NPYOA>
.
|
After upgrading to a working crun, rootless podman sort-of works but
exec
fails:Versions:
The text was updated successfully, but these errors were encountered: