-
Notifications
You must be signed in to change notification settings - Fork 28
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
Twoliter's build of krane appears to be linking against libc #403
Comments
It would be great if we could combo this with #398 to help us test more easily, or even provide a |
I hacked together a branch of twoliter that builds krane statically and ran that on my machine that has this issue, and it's still hitting the same problem. So I'm not sure this is a linking issue. I also tried to improve the error message by including stdout and the exit status as well, but it's still not very helpful:
The only bit of info we get from that is that the process exited due to a SIGKILL from somewhere, but that could be a number of things. I'll keep looking into it. |
This may be due to our use of Due to this comment some of the sealing behavior is kernel version dependent, though pentacle should be resilient to missing features. Here's where the seals are added. You could try running this with log level set to |
Yeah, it looks like this might be related. If I
compared to a system that
So the binary never gets sealed with F_SEAL_EXEC, which means that the exec bits can be changed. |
I've seen |
Twoliter fails to interact with OCI images on hosts with a less-recent libc than our cross-build environment (defined to some degree here. The build of
krane
occurs here).When the error occurs, it looks like this:
We need to:
go build
of krane to link againstmusl
oci-tool
so that errors with executing the tool give us stdout/stderr as logsThe text was updated successfully, but these errors were encountered: