Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install: Just check if we're pid1 #201

Merged
merged 1 commit into from
Nov 11, 2023
Merged

Conversation

cgwalters
Copy link
Collaborator

I'm working on a buildsystem where we run a "supermin" VM that doesn't use systemd as pid1. There's no reason to hard require systemd for this. This check isn't fully correct because it will allow things to pass if someone does podman run --init to make us pid2, but still in a userns. In theory we could detect that in the future.

I'm working on a buildsystem where we run a "supermin" VM that
doesn't use systemd as pid1.  There's no reason to hard
require systemd for this.  This check isn't fully correct because
it will allow things to pass if someone does `podman run --init`
to make us pid2, but still in a userns.  In theory we could detect
that in the future.

Signed-off-by: Colin Walters <[email protected]>
@cgwalters cgwalters merged commit d0f07b2 into containers:main Nov 11, 2023
9 checks passed
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