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

Richard Sharpe realrichardsharpe at gmail.com
Thu Aug 30 15:34:01 UTC 2018


On Thu, Aug 30, 2018 at 8:32 AM, Richard Sharpe
<realrichardsharpe at gmail.com> wrote:
> On Thu, Aug 30, 2018 at 8:11 AM, Ralph Böhme <slow at samba.org> wrote:
>> On Thu, Aug 30, 2018 at 07:05:13AM -0700, Richard Sharpe via samba-technical
>> wrote:
>>>
>>> If we were to call prctl(PR_SET_NAME, "smbd_scavenger", NULL, NULL,
>>> NULL) in the scavenger just after fork, this could help make shutdown
>>> deterministic...
>>
>>
>> How???
>
> By killing the smbd-scavenger processes first?

"When I say deterministic, it means exactly what I want it to mean,"
said Humpty Dumpty.

In this case, it means QA will get off my back.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)



More information about the samba-technical mailing list