[PATCH] s3:notifyd: Handle sigup in notifyd to reparse smb.conf

Shyam Rathi shyam.rathi at nutanix.com
Sun May 19 02:46:29 UTC 2019


Hello,

At present, SIGHUP is blocked on notifyd. So, if parent smbd
is started with "log level" 10 in smb.conf, and later changed
to 0, the SIGHUP will not change the log level to 0 in notify
smbd process and it will keep printing verbose logs in the
corresponding log files.

Proposed fix is to write a SIGHUP handler for notifyd and set
it to reload services.


Please review the attached patch for suggestions and comments.

Regards,
Shyamsunder Rathi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-notifyd-Handle-sigup-in-notifyd-to-reparse-smb.co.patch
Type: application/octet-stream
Size: 2548 bytes
Desc: 0001-s3-notifyd-Handle-sigup-in-notifyd-to-reparse-smb.co.patch
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20190519/3dbdf4ba/0001-s3-notifyd-Handle-sigup-in-notifyd-to-reparse-smb.co.obj>


More information about the samba-technical mailing list