Fix ro mount option being passed#8852
Conversation
|
Hi @bpfoster. Thanks for your PR. I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
"ro" was not parsed out of the string, so it was passed as part of data to mount(). This would lead to mount() returning an invalid argument code. Separate out the "ro" option, much like "userxattr", which will allow the MS-RDONLY mountflag to get set. Signed-off-by: Ben Foster <bpfoster@gmail.com>
|
/ok-to-test |
|
Sorry for not knowing the process, but is it possible to get this fix incorporated into a 1.7.x release? |
I've cherry picked it into a PR for |
I am quite unfamiliar with the containerd codebase, but this seems to fix issue #8851 in my testing.
Fixes #8851