-
Notifications
You must be signed in to change notification settings - Fork 67
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
s390x: copy_file_range error in container #135
Comments
@cwsolee any ideas? |
Looks like u're(@tonistiigi) using Ubuntu 17, we tried on Ubuntu 16.04 with 1.10.1 go from https://storage.googleapis.com/golang/go1.10.1.linux-s390x.tar.gz and seems ok. All we're tried is git clone https://github.com/containerd/continuity.git then make. |
@cwsolee You can test it with:
I built the image with:
|
go version if that can matter:
|
Ok, your combination is a bit different from what we've tried, will re-try with yours. |
Which distro are u using as host? I thought u're using Ubuntu 17 but your kernel level is what Ubuntu 16.04 has. It might not be relevant in this case, just curious. What about docker version? Another findings, your image is using alpine as base, we see the same problem but changing it to ubuntu 16.04 will be ok. My team don't work with alpine much, not sure why alpine failed but I think alpine could be the root cause here. U can raise issue with alpine community, I did the same when I found problem on alpine too. |
On
s390x
the copy package fails if run inside a container because it fails to detect the existence ofcopy_file_range
properly.If ran on host
continuity/fs/copy_linux.go
Line 74 in 7f53d41
But if the same code is run under limited capabilities it produces
EPERM
instead(even though it doesn't seem to be allowed error for this syscall) and the copy fails.@estesp
The text was updated successfully, but these errors were encountered: