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

Docker Hub's python:3-alpine fails with "copy_file_range: symbol not found" #452

Open
letmaik opened this issue Jun 12, 2020 · 1 comment
Labels
area: compatibility Compatibility of existing workloads/apps bug p2 Important but non-urgent priority
Milestone

Comments

@letmaik
Copy link
Contributor

letmaik commented Jun 12, 2020

docker pull python:3-alpine
docker run --rm python:3-alpine python3 -c "print('Hello world!')"
sgx-lkl-disk create --size=100M --docker=python:3-alpine python.img
sgx-lkl-run-oe --hw-debug python.img /usr/local/bin/python3 -c 'print("Hello world!")'
# Error relocating /usr/local/lib/libpython3.8.so.1.0: copy_file_range: symbol not found

I'm assuming this is caused by #200.

EDIT: Using python:3-alpine3.10 works.

@letmaik letmaik added bug p1 Medium priority area: compatibility Compatibility of existing workloads/apps labels Jun 12, 2020
@prp
Copy link
Member

prp commented Jun 15, 2020

Yes, we currently use musl version 1.1.21, and the copy_file_range wrapper was added in musl version 1.1.24.

@prp prp added this to the Milestone 2 milestone Jun 25, 2020
@davidchisnall davidchisnall added the needs-triage Bug does not yet have a priority assigned label Jul 28, 2020
@SeanTAllen SeanTAllen added p2 Important but non-urgent priority and removed needs-triage Bug does not yet have a priority assigned p1 Medium priority labels Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: compatibility Compatibility of existing workloads/apps bug p2 Important but non-urgent priority
Projects
None yet
Development

No branches or pull requests

4 participants