Skip to content

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

Open
EtiennePerot wants to merge 1 commit into
google:masterfrom
EtiennePerot:shared-root
Open

runsc: Add --shared-root to share control files across the system.#13978
EtiennePerot wants to merge 1 commit into
google:masterfrom
EtiennePerot:shared-root

Conversation

@EtiennePerot

Copy link
Copy Markdown
Collaborator

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

`--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.
@github-actions
github-actions Bot requested review from milantracy and nybidari August 4, 2026 05:36
copybara-service Bot pushed a commit that referenced this pull request Aug 4, 2026
`--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 pushed a commit that referenced this pull request Aug 4, 2026
`--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 pushed a commit that referenced this pull request Aug 4, 2026
`--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 pushed a commit that referenced this pull request Aug 4, 2026
`--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 pushed a commit that referenced this pull request Aug 4, 2026
`--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 pushed a commit that referenced this pull request Aug 5, 2026
`--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 pushed a commit that referenced this pull request Aug 5, 2026
`--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 pushed a commit that referenced this pull request Aug 5, 2026
`--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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants