s4: call reopen_logs_internal() in the SIGHUP handler of the prefork process model
authorRalph Boehme <slow@samba.org>
Mon, 23 Nov 2020 15:44:04 +0000 (16:44 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 9 Dec 2020 07:57:19 +0000 (07:57 +0000)
commit7258fc076adab75d3abeaa874159eb5b04ee5f23
tree78720eeeb506d2b63a48c7d8a38f593aa92262ab
parentfa2ea13ec04c09d1748aad41b27bbcb0c8e056f8
s4: call reopen_logs_internal() in the SIGHUP handler of the prefork process model

With debug_schedule_reopen_logs() the actual reopen only takes place at some
point in the future when a DEBUG message is processed.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14248

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 19413e76a46f07fdd46fde5e60707bb6845a782d)
source4/smbd/process_prefork.c