BIND 10 #367: SIGPIPE in boss process
BIND 10 Development
do-not-reply at isc.org
Tue Oct 12 13:28:24 UTC 2010
#367: SIGPIPE in boss process
-------------------------------+--------------------------------------------
Reporter: shane | Owner: shane
Type: defect | Status: new
Priority: minor | Milestone:
Component: Boss of BIND | Resolution:
Keywords: | Sensitive: 0
Estimatedhours: 0.5 | Hours: 0
Billable: 1 | Totalhours: 0
Internal: 0 |
-------------------------------+--------------------------------------------
Comment(by shane):
This should fix it.
{{{
--- bind10.py.in.org 2010-10-12 15:03:43.000000000 +0200
+++ bind10.py.in 2010-10-12 15:26:09.000000000 +0200
@@ -710,6 +710,9 @@
signal.signal(signal.SIGINT, fatal_signal)
signal.signal(signal.SIGTERM, fatal_signal)
+ # Block SIGPIPE, as we don't want it to end this process
+ signal.signal(signal.SIGPIPE, signal.SIG_IGN)
+
# Go bob!
boss_of_bind = BoB(options.msgq_socket_file, int(options.auth_port),
options.address, options.nocache, options.verbose,
}}}
--
Ticket URL: <http://bind10.isc.org/ticket/367#comment:1>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list