openSUSE / catatonit

A container init that is so simple it's effectively brain-dead.
GNU General Public License v2.0
188 stars 18 forks source link

init: switch to / after spawning subprocess #33

Open cyphar opened 2 months ago

cyphar commented 2 months ago

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 cyphar@cyphar.com