The branch, master has been updated via cade673 Mask general purpose signals for notifyd. from ffd64de ctdb-daemon: Drop --lvs option and support for CTDB_CAP_LVS
https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit cade673f5fff8a578b8620149688ecc93e981205 Author: Hemanth Thummala <hemanth.thumm...@nutanix.com> Date: Thu Apr 14 13:09:37 2016 -0700 Mask general purpose signals for notifyd. Currently there is no signal handling available for notify daemon. Signals like SIGHUP and SIGUSR1 can lead to terminate the notify daemon. Masking these signals for notifyd as we are not handling them. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11840 Signed-off-by: Hemanth Thummala <hemanth.thumm...@nutanix.com> Reviewed-by: Volker Lendecke <v...@samba.org> Reviewed-by: Stefan Metzmacher <me...@samba.org> Autobuild-User(master): Stefan Metzmacher <me...@samba.org> Autobuild-Date(master): Fri Apr 15 15:31:19 CEST 2016 on sn-devel-144 ----------------------------------------------------------------------- Summary of changes: source3/smbd/notifyd/notifyd.c | 4 ++++ 1 file changed, 4 insertions(+) Changeset truncated at 500 lines: diff --git a/source3/smbd/notifyd/notifyd.c b/source3/smbd/notifyd/notifyd.c index 316cdea..49fb9c9 100644 --- a/source3/smbd/notifyd/notifyd.c +++ b/source3/smbd/notifyd/notifyd.c @@ -256,6 +256,10 @@ struct tevent_req *notifyd_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, return tevent_req_post(req, ev); } + /* Block those signals that we are not handling */ + BlockSignals(True, SIGHUP); + BlockSignals(True, SIGUSR1); + if (ctdbd_conn == NULL) { /* * No cluster around, skip the database replication -- Samba Shared Repository