-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[1.2] fix rootfs propagation mode to shared / unbindable #4791
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
Conversation
|
Hmm, I was not aware we're going to make another 1.2.x release. If we are, though, it's going to be 1.2.7 which already have some stuff merged. |
|
@kolyshkin In the release policy we said we will be quite flexible in what classifies for backport to n-1, I'd like to backport when it's simple or makes sense. Also, 1.2 is widely used in Azure, checking quickly it seems in google Container optimized OS too. Do you prefer to avoid backports to 1.2 for some reason? |
|
@kolyshkin friendly ping? |
d8448ab to
8d26e56
Compare
Not directly, no. What I prefer (being practical and lazy) is maintaining one less branch (meaning I'd love users to switch to v1.3 sooner). If we backport all fixes to v1.2 there's never an incentive to switch to v1.3. Also, making more 1.2 releases may result in thinking that v1.3 is somehow not quite ready, which is not true to my best knowledge. Our release policy says (note "latest-1" means v1.2.x now):
I guess I'm OK with this PR as it is (as this is indeed a significant bug fix), just don't want too much backports in general, for the reasons outlined above. |
|
Also, we need a backport of #4806 to release-1.2 to fix CI. |
kolyshkin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (but please don't merge until CI is fixed).
Signed-off-by: Yusuke Sakurai <yusuke.sakurai@3-shake.com> (cherry picked from commit 04be81b)
8d26e56 to
2667d73
Compare
|
@kolyshkin thanks, rebased! Let's see if CI is green now 🤞 |
(cherry picked from commit 04be81b)
Backport of #4724 to release-1.2 branch. Original description follows.
This PR adds support for applying mount propagation settings (MS_SHARED or MS_UNBINDABLE) to the container root based on the value of config.RootPropagation.
We apply mount propagation after executing pivot_root and rootfsParentMountPrivate
Fixes #1755
Related:
#1815
youki-dev/youki#3141
Signed-off-by: Yusuke Sakurai yusuke.sakurai@3-shake.com