Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions crates/openshell-supervisor-process/src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ pub async fn run_process(
#[cfg(unix)]
crate::process::prepare_filesystem(policy)?;

// Wire the SPIFFE Workload API mount namespace so that
// supervisor_identity_mount_from_env() succeeds in spawn_entrypoint when
// PROVIDER_SPIFFE_WORKLOAD_API_SOCKET is set.
#[cfg(target_os = "linux")]
crate::process::prepare_supervisor_identity_mount_namespace_from_env()?;

// Eagerly fetch initial settings and install the agent skill if the
// proposals flag is on at startup, rather than waiting for the policy
// poll loop's first tick. In offline/file-mode there is no gateway, so
Expand Down
Loading