runsc: Add --shared-root to share control files across the system. - #13983
Open
copybara-service[bot] wants to merge 1 commit into
Open
runsc: Add --shared-root to share control files across the system.#13983copybara-service[bot] wants to merge 1 commit into
runsc: Add --shared-root to share control files across the system.#13983copybara-service[bot] wants to merge 1 commit into
Conversation
copybara-service
Bot
force-pushed
the
test/cl959077210
branch
7 times, most recently
from
August 5, 2026 01:31
16f9a27 to
a4af16c
Compare
`--root` is the OCI parameter for the control directory for sandboxes. `--shared-root` defaults to that, but can be specified separately. Semantically, the distinction is that having access to `--root` gives you full control over the sandboxes with that `--root`, whereas access to `--shared-root` only gives you the ability to identify and list sandboxes using that `--shared-root`, but no control over them. It is used to put the `null-netns` control file, which is safe to reuse across sandboxes. This allows systems such as Substrate, which specify a separate `--root` per sandbox, to still benefit from the shared `null` netns speedup introduced in 4164f91. FUTURE_COPYBARA_INTEGRATE_REVIEW=#13978 from EtiennePerot:shared-root 517d4fb PiperOrigin-RevId: 959077210
copybara-service
Bot
force-pushed
the
test/cl959077210
branch
from
August 5, 2026 01:51
a4af16c to
7987747
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
runsc: Add--shared-rootto share control files across the system.--rootis the OCI parameter for the control directory for sandboxes.--shared-rootdefaults to that, but can be specified separately.Semantically, the distinction is that having access to
--rootgives you full control over the sandboxes with that--root, whereas access to--shared-rootonly gives you the ability to identify and list sandboxes using that--shared-root, but no control over them.It is used to put the
null-netnscontrol file, which is safe to reuse across sandboxes.This allows systems such as Substrate, which specify a separate
--rootper sandbox, to still benefit from the sharednullnetns speedup introduced in 4164f91.FUTURE_COPYBARA_INTEGRATE_REVIEW=#13978 from EtiennePerot:shared-root 517d4fb