From 37e02c49b0a35a64a83181b57a56d3b2693cbb74 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Fri, 12 Sep 2025 09:28:00 +0200 Subject: [PATCH] Do not make SIGCHLD ignored when the pipe backend launches. The pipe code makes sure to properly invoke waitpid() to reap its child process, if any. And ignoring SIGCHLD would prevent other legitimate waitpid() calls from working, such the editor spawned by pdnsutil zone edit. Fixes: #3680 Signed-off-by: Miod Vallat --- modules/pipebackend/pipebackend.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/pipebackend/pipebackend.cc b/modules/pipebackend/pipebackend.cc index 753bf96e1..431b87692 100644 --- a/modules/pipebackend/pipebackend.cc +++ b/modules/pipebackend/pipebackend.cc @@ -111,7 +111,6 @@ void CoWrapper::receive(string& line) PipeBackend::PipeBackend(const string& suffix) { d_disavow = false; - signal(SIGCHLD, SIG_IGN); setArgPrefix("pipe" + suffix); try { launch(); -- 2.47.3