Commit a78a0da4 authored by Ondřej Surý's avatar Ondřej Surý

Stop external applications (dhclient) from catching signals.

There's a bug that prevents dhclient to be killed, so this patch
disables signal handling in external (non-bind9) applications.

This affects only ISC-DHCP.
parent 9117b344
Pipeline #12898 passed with stages
in 14 minutes and 59 seconds
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment