-
Notifications
You must be signed in to change notification settings - Fork 120
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
docker4mac linuxkit has a different seed than linuxkit docker image #4384
Comments
Thanks for your report. We ended up making a couple of FUSE and I think we need to better document exactly which kernel we're using for each release. Perhaps we should link to the Docker hub image in the release note? Let me know what you think about that. Perhaps also we should fix the seed in the build (if it's mainly the seed that's the problem). Sorry for the inconvenience this caused! |
Awesome, thanks @djs55 for that link! I agree with you, perhaps we can turn this issue into two action items 😃
|
For now, just having a mapping between kernel <-> docker images shipping the correct seed to use, would be enough imho :) |
Issues go stale after 90 days of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Expected behavior
docker4mac linuxkit has same seed as linuxkit docker image
Actual behavior
docker4mac linuxkit has different seed than the linuxkit docker image. This means RANDSTRUCT is different and does not allow the modules built via the docker image to be inserted.
See falco linuxkit issue
Information
Darwin bhutwala-mac 18.7.0 Darwin Kernel Version 18.7.0: Thu Jan 23 06:52:12 PST 2020; root:xnu-4903.278.25~1/RELEASE_X86_64 x86_64
Diagnostic logs
Steps to reproduce the behavior
docker run -it --privileged --pid=host --net=host ubuntu nsenter -t 1 -m -u -n -i bash
cat include/generated/randomize_layout_hash.h
cat scripts/gcc-plugins/randomize_layout_seed.h
The text was updated successfully, but these errors were encountered: