The Samba-Bugzilla – Attachment 12041 Details for
Bug 11840
Notifyd daemon exits on issuing general purpose signals like SIGHUP and SIGUSR1.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 4.4
bug-11840-v4-4.patch (text/plain), 1.43 KB, created by
Volker Lendecke
on 2016-04-28 12:13:28 UTC
(
hide
)
Description:
Patch for 4.4
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2016-04-28 12:13:28 UTC
Size:
1.43 KB
patch
obsolete
>From 62d7e34da61462ddee59949a101893a2774b0f60 Mon Sep 17 00:00:00 2001 >From: Hemanth Thummala <hemanth.thummala@nutanix.com> >Date: Thu, 14 Apr 2016 13:09:37 -0700 >Subject: [PATCH] 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.thummala@nutanix.com> >Reviewed-by: Volker Lendecke <vl@samba.org> >Reviewed-by: Stefan Metzmacher <metze@samba.org> > >Autobuild-User(master): Stefan Metzmacher <metze@samba.org> >Autobuild-Date(master): Fri Apr 15 15:31:19 CEST 2016 on sn-devel-144 >(cherry picked from commit cade673f5fff8a578b8620149688ecc93e981205) >--- > source3/smbd/notifyd/notifyd.c | 4 ++++ > 1 file changed, 4 insertions(+) > >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 >-- >1.7.9.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
metze
:
review+
Actions:
View
Attachments on
bug 11840
:
11999
|
12040
| 12041