Skip to content

[RFC] Add option to create init inside the container#272

Open
mattmart3 wants to merge 1 commit into
google:masterfrom
mattmart3:mattmart3/init-option
Open

[RFC] Add option to create init inside the container#272
mattmart3 wants to merge 1 commit into
google:masterfrom
mattmart3:mattmart3/init-option

Conversation

@mattmart3

@mattmart3 mattmart3 commented Jun 29, 2026

Copy link
Copy Markdown

In EXECVE execution mode, nsjail already creates an init process that reaps zombie processes inside the container. Add a new --init command line option to allow the creation of the init process also in the ONCE execution mode.

Note this is a draft PR, details on the motivation and discussion for this change at #263.

@google-cla

google-cla Bot commented Jun 29, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

In EXECVE execution mode, nsjail already creates an init process that
reaps zombie processes inside the container. Add a new --init command
line option to allow the creation of the init process also in the ONCE
execution mode.
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.

1 participant