-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
libseccomp version not match #1016
Comments
Yes, there is a tracking issue on the libseccomp repo for this. They didn't support it in the past but it may now. Will have to double check again. |
Still not good... I have libseccomp 2.3.3 and runc still complains... (I have runc version 1.0.0-rc8) |
@luxifer the problem can occur if runc is compiled on a platform that has a non-matching version of libseccomp; where did you get the |
I get it from yocto, same for libseccomp, runc is compiled with the same libseccomp than runtime |
My problems came fro the yocto cache, after rebuilding without cache, runc was finally compiled with the good libseccomp version |
Sounds like that may be due to golang/go#24355 |
In a ubuntu with libseccomp 2.2.3, I build runc and then move runc to another ubuntu with libseccomp 2.2.0, runc can run successfully,on the other hand ,in a ubuntu with libseccomp 2.2.0, I build runc and then I move runc to another ubuntu with libseccomp 2.2.3, it will have a error like this:
I see the implement,and find the miss match
checkVersionAbove will compiled to runc binary, when runc is run , runc don't use the code in libseccomp.so to check the version of libseccomp. So I think we should use some function like C.seccomp_getversion in checkVersionAbove, not the macro.
The text was updated successfully, but these errors were encountered: