You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e8ec295
Browse filesBrowse the repository at this point in the historyBrowse files
The supervisor performs three privileged startup steps an outer sandbox
(gVisor, Firecracker, Kata) may own instead: network-namespace creation,
the supervisor seccomp prelude, and the workload seccomp filter. On bare
metal all three are attempted and a host refusal is fatal.
Add --skip-bootstrap (env OPENSHELL_SKIP_BOOTSTRAP): a comma-separated list
of subsystems (netns, supervisor-seccomp, workload-seccomp, or all) the
operator declares the environment owns. A skipped subsystem is not
attempted; a subsystem that is NOT skipped and fails stays fatal. Empty
(the default) attempts all three and aborts on any failure -- byte-identical
to upstream.
This configures the supervisor from the deployment environment instead of
catching refusals at runtime: under an outer sandbox the operator declares
'the runtime owns netns/seccomp', so those steps are skipped and every other
failure remains a genuine error. Per ai-openshell#1650 the config + the three call sites
(run.rs, netns/mod.rs, sandbox/linux/mod.rs) live in openshell-supervisor-process,
re-exported from openshell-sandbox.
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
0 commit comments