Skip to content

Conversation

@katiewasnothere
Copy link
Contributor

Fixes an issue first described in apple/container#740.

Previously the initial process of the container was using vminitd's environment variables to find the target executable. This PR updates the code to use the container's configured environment for the initial process instead. The behavior of an exec in a container should be the same as before.

@dcantah dcantah merged commit e283e02 into apple:main Oct 14, 2025
2 checks passed
@katiewasnothere katiewasnothere deleted the container_process_use_right_env branch October 14, 2025 04:34
katiewasnothere added a commit to katiewasnothere/container that referenced this pull request Oct 14, 2025
katiewasnothere added a commit to katiewasnothere/container that referenced this pull request Oct 14, 2025
katiewasnothere added a commit to apple/container that referenced this pull request Oct 14, 2025
## Type of Change
- [x] Bug fix

## Motivation and Context
Required for builder to run correctly with bug fix in containerization
here apple/containerization#329. Builder was
previously not passing any environment variables when starting the
initial process.

## Testing
- [x] Tested locally

---------

Signed-off-by: Kathryn Baldauf <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants