The smbd_scavenger crashes with a core dump if its parent dies first
realrichardsharpe at gmail.com
Thu Aug 30 16:23:13 UTC 2018
On Thu, Aug 30, 2018 at 9:07 AM, Ralph Böhme <slow at samba.org> wrote:
> On Thu, Aug 30, 2018 at 08:32:04AM -0700, Richard Sharpe wrote:
>> By killing the smbd-scavenger processes first?
> ps -o pid,comm
> But kill -SIGTERM send to the parent smbd should work and not crash. Why not
> try to fix the underlying bug instead of resorting to such a crutch. :)
Why are you so serious? :-)
OK, so the correct fix is probably to:
1. Add a scavenger_shutdown function to scavenger.c, and
2. Call scavenger_shutdown from exit_server_common.
More information about the samba-technical