-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Support recursively-readonly mounts with mount_setattr (kernel 5.12) #2823
Comments
Yes please! Though it should be noted this is technically going to be a behavioural change in runc, because our current implementation (unless I'm mistaken) doesn't currently make mounts read-only recursively. (Funnily enough, |
I was thinking of keeping the current |
Right, but I was thinking of |
Moving to v1.2 milestone, waiting for opencontainers/runtime-spec#1090 (comment) |
Opened PR #3272 |
The current OCI mount with
options: ["rbind", "ro"]
is (surprisingly) not recursively read-only.mount_setattr(2)
introduced in kernel 5.12 can be used for creating recursively-readonly bind mounts:runc implementation will need runtime spec PR to be approved: opencontainers/runtime-spec#1090
The text was updated successfully, but these errors were encountered: