Hi Peter, > 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
--- a/enforcer/src/daemon/engine.c
+++ b/enforcer/src/daemon/engine.c
@@ -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;
}
Regards,
Yuri
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Opendnssec-user mailing list [email protected] https://lists.opendnssec.org/mailman/listinfo/opendnssec-user
