[PATCH] clean the event context after fork in fork_domain_child()

boyang boyang at suse.de
Sun Jan 4 13:01:28 GMT 2009


Hi, everybody:
     The point here is that there maybe outstanding requests in parent,
and async_request_timeout is set, which cause this child try to kill
some other child, probably be primary domain's child. Look, After
winbindd started, child for primary domain is forked, then other domains
such as BUILTIN. If there are outstanding requests sent to child for
primary domain, async_request_timeout handler is set, which is
inheritted in child for domain BUILTIN. Later, time expired and child
for BUILTIN sends SIGTERM to child for primary domain.
     Patches are in the attachment, Thanks!

Best
      Regards
BoYang
4th, Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: event-context-master.diff
Type: text/x-patch
Size: 1623 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090104/cac781dd/event-context-master.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: event-context-v3-0-test.diff
Type: text/x-patch
Size: 1619 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090104/cac781dd/event-context-v3-0-test.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: event-context-v3-2-test.diff
Type: text/x-patch
Size: 1619 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090104/cac781dd/event-context-v3-2-test.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: event-context-v3-3-test.diff
Type: text/x-patch
Size: 1619 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090104/cac781dd/event-context-v3-3-test.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boyang.vcf
Type: text/x-vcard
Size: 187 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090104/cac781dd/boyang.vcf


More information about the samba-technical mailing list