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

init: switch to / after spawning subprocess #33

Merged
merged 1 commit into from
Dec 14, 2024
Merged

init: switch to / after spawning subprocess #33

merged 1 commit into from
Dec 14, 2024

Conversation

cyphar
Copy link
Member

@cyphar cyphar commented Sep 17, 2024

Apparently podman runs catatonit -P in a subdirectory, pinning the
mount. We probably need to spawn subprocesses in the directory we are
run, but the directory of the init process shouldn't matter (and the
vast majority of users would run us from / anyway).

Fixes #28
Signed-off-by: Aleksa Sarai [email protected]

Apparently podman runs "catatonit -P" in a subdirectory, pinning the
mount. We probably need to spawn subprocesses in the directory we are
run, but the directory of the init process shouldn't matter (and the
vast majority of users would run us from / anyway).

Signed-off-by: Aleksa Sarai <[email protected]>
catatonit.c Show resolved Hide resolved
catatonit.c Show resolved Hide resolved
@cyphar cyphar merged commit 5f180a1 into main Dec 14, 2024
2 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.

catatonit keeps a mount directory open, preventing unmounting
2 participants