[Opendnssec-user] SIGPIPE kills ods-enforcerd in response to CLI commands
yuri at nlnetlabs.nl
Thu Nov 30 07:57:33 UTC 2017
> If I interrupt the output of ods-enforcer, the server gets killed with
> SIGPIPE. eg:
> I've seen this on FreeBSD-11 and 12. Anyone else see this or is it
> just a
> FreeBSD thing?
I came across this as well and have it fixed in one of the development
branches. It will be in a future release (TBD).
Meanwhile if you want you can apply the following patch:
diff --git a/enforcer/src/daemon/engine.c b/enforcer/src/daemon/engine.c
index 3ed311612..c6604559e 100644
@@ -632,6 +632,7 @@ engine_init(engine_type* engine, int daemonize)
sigaction(SIGHUP, &action, NULL);
sigaction(SIGTERM, &action, NULL);
sigaction(SIGINT, &action, NULL);
+ sigaction(SIGPIPE, &action, NULL);
engine->dbcfg_list = NULL;
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 195 bytes
Desc: OpenPGP digital signature
More information about the Opendnssec-user