-
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
Cannot execute getent when running scratch image in podman. #9378
Comments
Thanks for reaching out! This seems to be a |
the issue seems to be that podman sets I think the crun behavior is correct and considers In any case, if the image requires |
I agree that the image should set the variable but Podman aims at Docker compatibility. @giuseppe would you reconsider changing the behavior of crun or should we consider changing the behavior in Podman and not set |
I reopen to find a solution to achieve compat. |
then I think we should address it in Podman to not set |
the issue also happens in crun when there is no |
Make sure to not set an empty $HOME for containers and let it default to "/". containers/crun#599 is required to fully address containers#9378. Partially-Fixes: containers#9378 Signed-off-by: Valentin Rothberg <[email protected]>
Podman-side fix: #9399 |
Make sure to not set an empty $HOME for containers and let it default to "/". containers/crun#599 is required to fully address containers#9378. Partially-Fixes: containers#9378 Signed-off-by: Valentin Rothberg <[email protected]> <MH: Fixed cherry-pick conflicts> Signed-off-by: Matthew Heon <[email protected]>
@vrothberg not fixed) how to fix it? |
@Asgoret, @giuseppe fixed the remainder in |
@vrothberg It's not the only issue in 3.x) Look at #8893 (comment) |
Certainly there are more than one issue :) Thanks for reporting! We'll tackle reported issues as fast as we can. |
This reverts commit 6c02ff5. crun fails to build the images [1] but when setting BUILDAH_RUNTIME to runc the workaround is no longer needed. [1] containers/podman#9378 Signed-off-by: Mikko Ylinen <[email protected]>
This reverts commit 6c02ff5. crun fails to build the images [1] but when setting BUILDAH_RUNTIME to runc the workaround is no longer needed. [1] containers/podman#9378 Signed-off-by: Mikko Ylinen <[email protected]>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Cannot execute getent when running scratch image in podman.
But it works in docker.
Steps to reproduce the issue:
1.
podman run docker.io/filebrowser/filebrowser
Describe the results you received:
2021/02/15 15:21:09 exec: "getent": executable file not found in $PATH
Describe the results you expected:
Filebrowser image can work for me in podman.
Additional information you deem important (e.g. issue happens only occasionally):
There are some discussions on filebrowser's issues.
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
physical
The text was updated successfully, but these errors were encountered: