summaryrefslogtreecommitdiffstats
path: root/debian/patches/0007-ctxstart_no_sighandling.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0007-ctxstart_no_sighandling.diff')
-rw-r--r--debian/patches/0007-ctxstart_no_sighandling.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/0007-ctxstart_no_sighandling.diff b/debian/patches/0007-ctxstart_no_sighandling.diff
new file mode 100644
index 0000000..9304fea
--- /dev/null
+++ b/debian/patches/0007-ctxstart_no_sighandling.diff
@@ -0,0 +1,22 @@
+From: Debian DNS Packaging <pkg-dns-devel@lists.alioth.debian.org>
+Date: Fri, 24 Nov 2017 16:26:54 +0000
+Subject: _ctxstart_no_sighandling
+
+---
+ lib/isc/unix/app.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/lib/isc/unix/app.c b/lib/isc/unix/app.c
+index 7e5a0ee..8574141 100644
+--- a/lib/isc/unix/app.c
++++ b/lib/isc/unix/app.c
+@@ -262,6 +262,9 @@ isc__app_ctxstart(isc_appctx_t *ctx0) {
+ ctx->want_reload = false;
+ ctx->blocked = false;
+
++ if (!isc_bind9)
++ return (ISC_R_SUCCESS);
++
+ #ifndef HAVE_SIGWAIT
+ /*
+ * Install do-nothing handlers for SIGINT and SIGTERM.