The smbd_scavenger crashes with a core dump if its parent dies first

Richard Sharpe realrichardsharpe at
Thu Aug 30 16:23:13 UTC 2018

On Thu, Aug 30, 2018 at 9:07 AM, Ralph Böhme <slow at> 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.

Richard Sharpe

More information about the samba-technical mailing list