-
Notifications
You must be signed in to change notification settings - Fork 935
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
security.syscalls.intercept.mknod no longer seems to be working for docker [ nested ? ] use cases #14849
Comments
@jocado does this work on 5.0/stable or 5.21/stable versions in your environment? |
Indeed we have similar tests here: |
Seems to be the same result. |
Just to be super clear, it works fine outside of docker still. |
I did also find another reference to the issue here Can't be sure it's exactly the same, but I suspect it may be. |
Maybe one for @mihalicyn to look into when he gets a chance. |
The main issue for us is the image loading for some images [ as mentioned above, for unknown reason some image pulls trigger a mknod, although the files referenced are certainly not device files ], but we can mitigate that by sticking on docker However, we will need to upgrade at some point, and I wouldn't be surprised if another mknod related requirements presents itself eventually, even if we were able to stick on this version of docker for a while. Anyway, thanks for taking a look 👍 |
LXD: latest/edge [ ver: 6.2-bde4d03 , rev: 6.2-bde4d03 ]
OS: core24
As per per the subject:
If I enable priv mode, and restart test-container:
Outside of docker it will seems to work:
This actually came to my attention because it seems that some image layer creation can require mknod now in newer version of docker. So a simple image pull can fail. It seems to be image dependent, but not sure what the actual trigger is. I don't know of any public images that container this issue I can share.
It image problem could be related to
Native Overlay Diff: true
in overlay2, but that's a complete guess on my part. If I downgrade docker to a version that doesn't enable that with overlay2 [ from27.2.0
to24.0.5
] with the zfs or btrfs backing store, the image related error goes away.Please let me know if you require any further info.
Thanks!
The text was updated successfully, but these errors were encountered: