[PATCH] Handle SIGCHLD better in process_standard, remove process_{onefork, prefork}

Andrew Bartlett abartlet at samba.org
Mon Mar 16 18:57:42 MDT 2015


On Tue, 2015-03-17 at 01:52 +0100, Stefan (metze) Metzmacher wrote:
> Am 17.03.2015 um 01:34 schrieb Stefan (metze) Metzmacher:
> > Am 17.03.2015 um 01:17 schrieb Stefan (metze) Metzmacher:
> >> This compiles...
> > 
> > now we don't log strerror(status). With is wrong, e.g.
> > Child 15954 exited with status 127 - Key has expired
> 
> And now it looks like:
> 
> [2015/03/17 00:50:23.593723,  2, pid=16318]
> ../source4/smbd/process_standard.c:117(standard_child_pipe_handler)
>   Child 16327 (winbindd) exited with status 1
> 
> We remember the service name if available.

Much better!

I'll review a bit more and push shortly.

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150317/66dd6198/attachment-0001.pgp>


More information about the samba-technical mailing list