From 56b0dce7ea51c7357d6ff36106365307dc9552b7 Mon Sep 17 00:00:00 2001 From: Gary Guo Date: Fri, 11 Oct 2024 12:57:07 +0100 Subject: [PATCH] buildFHSEnvOverlay: remove `--fork --kill-child` We don't use PID namespaces so they're not needed. --- lib/buildFHSEnvOverlay.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/buildFHSEnvOverlay.nix b/lib/buildFHSEnvOverlay.nix index 569b19f..9f38022 100644 --- a/lib/buildFHSEnvOverlay.nix +++ b/lib/buildFHSEnvOverlay.nix @@ -192,7 +192,7 @@ init = writeShellScript "${name}-init" initCmd; bin = writeShellScript "${name}-wrap" '' - ${util-linux}/bin/unshare --map-current-user --mount --keep-caps --fork --kill-child -- ${init} "$@" + ${util-linux}/bin/unshare --map-current-user --mount --keep-caps -- ${init} "$@" ''; in runCommandLocal name {