BIND 10 trac1673, updated. da20b37573ddbf682a47a6b1f4ed2bfab05f232e [1673] Add ChangeLog entry
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Mar 7 04:24:20 UTC 2012
The branch, trac1673 has been updated
via da20b37573ddbf682a47a6b1f4ed2bfab05f232e (commit)
via 53010f412dc665c97a8bb9c8335df0c3381a4608 (commit)
from 1fed5c5dc286c690e3d11e7816b8322ee7af07f8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit da20b37573ddbf682a47a6b1f4ed2bfab05f232e
Author: Mukund Sivaraman <muks at isc.org>
Date: Wed Mar 7 09:54:07 2012 +0530
[1673] Add ChangeLog entry
commit 53010f412dc665c97a8bb9c8335df0c3381a4608
Author: Mukund Sivaraman <muks at isc.org>
Date: Wed Mar 7 09:52:50 2012 +0530
[1673] Output the signal name even when the process dumps core
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
src/lib/python/isc/bind10/component.py | 6 +++---
2 files changed, 8 insertions(+), 3 deletions(-)
-----------------------------------------------------------------------
diff --git a/ChangeLog b/ChangeLog
index dcba992..e9e2050 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+395. [func] muks
+ The boss process now gives more helpful description when a
+ sub-process exits due to a signal.
+ (Trac #1673, git ...)
+
394. [defect] jelte
b10-auth now catches any exceptions during response building; if any
datasource either throws an exception or causes an exception to be
diff --git a/src/lib/python/isc/bind10/component.py b/src/lib/python/isc/bind10/component.py
index c767b7d..b854743 100644
--- a/src/lib/python/isc/bind10/component.py
+++ b/src/lib/python/isc/bind10/component.py
@@ -227,11 +227,11 @@ class BaseComponent:
signame = get_signame(sig)
exit_str = "process stopped with exit status %d (killed by signal %d: %s)" % (exit_code, sig, signame)
elif os.WIFSIGNALED(exit_code):
+ sig = os.WTERMSIG(exit_code)
+ signame = get_signame(sig)
if os.WCOREDUMP(exit_code):
- exit_str = "process dumped core with exit status %d" % (exit_code)
+ exit_str = "process dumped core with exit status %d (killed by signal %d: %s)" % (exit_code, sig, signame)
else:
- sig = os.WTERMSIG(exit_code)
- signame = get_signame(sig)
exit_str = "process terminated with exit status %d (killed by signal %d: %s)" % (exit_code, sig, signame)
else:
exit_str = "unknown condition with exit status %d" % (exit_code)
More information about the bind10-changes
mailing list