[svn] commit: r3190 - /trunk/src/bin/bind10/bind10.py.in

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Oct 12 13:48:19 UTC 2010


Author: shane
Date: Tue Oct 12 13:48:18 2010
New Revision: 3190

Log:
Block SIGPIPE signals. We had a command channel message cause 
the process to die due to this problem.

Full details can be found in the ticket:

https://bind10.isc.org/ticket/367

Patch reviewed by Michal in Jabber.

Modified:
    trunk/src/bin/bind10/bind10.py.in

Modified: trunk/src/bin/bind10/bind10.py.in
==============================================================================
--- trunk/src/bin/bind10/bind10.py.in (original)
+++ trunk/src/bin/bind10/bind10.py.in Tue Oct 12 13:48:18 2010
@@ -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,




More information about the bind10-changes mailing list