The Samba-Bugzilla – Bug 11840
Notifyd daemon exits on issuing general purpose signals like SIGHUP and SIGUSR1.
Last modified: 2016-05-11 11:36:08 UTC
We have recently moved to samba version 4.3.5.
While working on this build, we have observed that Notifyd was getting disappeared every now and then. Later we have found that it was exiting on receiving SIGHUP signal which we normally use to broadcast(using killall -SIGHUP smbd) all smbd processes for reload config.
Since notifyd is forked from smbd and not having any handlers for signals like SIGHUP, SIGUSR1,etc it simply existed.
We need to mask those signals which we are not handling.
Created attachment 11999 [details]
Patch for master.
Volker, can you have a look please?
(In reply to Stefan Metzmacher from comment #2)
> Volker, can you have a look please?
Yes, I will do.
Created attachment 12040 [details]
Patch for 4.3
Created attachment 12041 [details]
Patch for 4.4
4.2 does not have the notifyd yet
Stefan, please review the patches and pass the bug on the Karolin. Thanks, Volker
Pushed to autobuild-v4-[4|3]-test.
(In reply to Karolin Seeger from comment #8)
Pushed to both branches.
Closing out bug report.