From: Michael Tremer Date: Sun, 5 Nov 2023 17:47:24 +0000 (+0000) Subject: jail: Don't let the second child die when the first child finishes X-Git-Tag: 0.9.30~1306 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2688daa20775e4ce27e5de3a98c13655834f04fb;p=pakfire.git jail: Don't let the second child die when the first child finishes Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/jail.c b/src/libpakfire/jail.c index 8821dd9c4..acbf56454 100644 --- a/src/libpakfire/jail.c +++ b/src/libpakfire/jail.c @@ -1786,13 +1786,6 @@ static int pakfire_jail_child2(struct pakfire_jail* jail, CTX_DEBUG(jail->ctx, "Launched child process in jail with PID %d\n", pid); - // Die with parent - r = prctl(PR_SET_PDEATHSIG, SIGKILL, 0, 0, 0); - if (r) { - CTX_ERROR(jail->ctx, "Could not configure to die with parent: %m\n"); - return 126; - } - // Make this process dumpable r = prctl (PR_SET_DUMPABLE, 1, 0, 0, 0); if (r) {