[PATCH] Fix low FD handling and add stdin handler to nmbd/winbindd

Andrew Bartlett abartlet at samba.org
Fri Mar 2 01:48:37 MST 2012


The attached patches fix up our 'low' file descriptor handling,
particularly for lsasd, spoolssd and epmd.  These now output their logs
during failed tests (this didn't happen before, which was highly
frustrating). 

I also add 'stdin handlers' for nmbd and winbindd, so that these
processes will now exist when their stdin goes away (in --foreground
mode, as used in make test).  

With these fixes, the stdin handler also now works even if --log-stdout
is not specified. 

The first two patches improve how all this works in make test, and are
already in autobuild, but are included for context. 

Andrew Bartlett
-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-selftest-Put-stdin-pipe-on-the-environment.patch
Type: text/x-patch
Size: 1479 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120302/66b441c1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-selftest-close-stdin-and-wait-with-waitpid-for-a-saf.patch
Type: text/x-patch
Size: 2734 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120302/66b441c1/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-change-low-FDs-are-handled-in-Samba.patch
Type: text/x-patch
Size: 5632 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120302/66b441c1/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-s3-nmbd-Add-stdin-handler-for-nmbd.patch
Type: text/x-patch
Size: 2122 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120302/66b441c1/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-s3-winbindd-Add-stdin-handler-for-winbind.patch
Type: text/x-patch
Size: 3687 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120302/66b441c1/attachment-0004.bin>


More information about the samba-technical mailing list