Skip to content

Conversation

@KauzClay
Copy link
Contributor

@KauzClay KauzClay commented Feb 12, 2026

extracting from #468 (comment)

When stemcells run as privileged containers (e.g., Docker CPI on Apple Silicon), systemd-binfmt clears the host's binfmt_misc registrations, including Rosetta, causing "exec format error" for x86_64 processes.

Add a drop-in override with ConditionVirtualization=!container to skip the service in containers while preserving normal behavior on VMs.

related to cloudfoundry/bosh-deployment#497

When stemcells run as privileged containers (e.g., Docker CPI on Apple
Silicon), systemd-binfmt clears the host's binfmt_misc registrations,
including Rosetta, causing "exec format error" for x86_64 processes.

Add a drop-in override with ConditionVirtualization=!container to skip
the service in containers while preserving normal behavior on VMs.

Signed-off-by: Matthew Kocher <matthew.kocher@broadcom.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant