Skip to content

runsc: Add --shared-root to share control files across the system. - #13983

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl959077210
Open

runsc: Add --shared-root to share control files across the system.#13983
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl959077210

Conversation

@copybara-service

Copy link
Copy Markdown

runsc: Add --shared-root to share control files across the system.

--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

@copybara-service copybara-service Bot added the exported Issue was exported automatically label Aug 4, 2026
@copybara-service
copybara-service Bot force-pushed the test/cl959077210 branch 7 times, most recently from 16f9a27 to a4af16c Compare August 5, 2026 01:31
`--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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant