Skip to content
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

regression: podman exec /directory #511

Closed
edsantiago opened this issue Sep 29, 2020 · 2 comments · Fixed by #512
Closed

regression: podman exec /directory #511

edsantiago opened this issue Sep 29, 2020 · 2 comments · Fixed by #512

Comments

@edsantiago
Copy link
Contributor

I don't know how to phrase this in crun-speak. I can only phrase it in podman-speak and hope that the cause is obvious.

# podman run -d --name foo alpine sleep 10;podman exec foo /etc;echo $?
1232e99fa50320c2a42d23304c1af3d692d4c40d2dfca14dca706b396e7cde6b
open executable: Operation not permitted
1

This is new (and incorrect) behavior. crun-0.14.1-5.fc32 (and all crun versions for a long time):

Error: open executable: Operation not permitted: OCI runtime permission denied error
126
giuseppe added a commit to giuseppe/crun that referenced this issue Sep 29, 2020
when reading from the exec sync pipe, make sure it reads exactly one
byte otherwise return an error.

Closes: containers#511

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@giuseppe
Copy link
Member

Thanks for the report. Finally tracked it down: #512

I had to use the same compiler flags used for the Fedora package in order to reproduce locally.

@edsantiago
Copy link
Contributor Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants