The Samba-Bugzilla – Attachment 10330 Details for
Bug 10830
nmbd can leave unreaped zombies.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 4.1.next, 4.0.next.
0001-s3-nmbd-Ensure-the-main-nmbd-process-doesn-t-create-.patch (text/plain), 947 bytes, created by
Jeremy Allison
on 2014-10-07 17:43:30 UTC
(
hide
)
Description:
git-am fix for 4.1.next, 4.0.next.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2014-10-07 17:43:30 UTC
Size:
947 bytes
patch
obsolete
>From 16e460e180cf8d6708b27137742fbce80e29b823 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Tue, 23 Sep 2014 13:32:37 -0700 >Subject: [PATCH] s3: nmbd: Ensure the main nmbd process doesn't create > zombies. > >Use the same mechanism as setup for smbd and winbindd. > >Fixes bug #10830 - nmbd can leave unreaped zombies. > >https://bugzilla.samba.org/show_bug.cgi?id=10830 > >Signed-off-by: Jeremy Allison <jra@samba.org> >Reviewed-by: Martin Schwenke <martin@meltin.net> >--- > source3/nmbd/nmbd.c | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c >index 50b18e5..d883c0a 100644 >--- a/source3/nmbd/nmbd.c >+++ b/source3/nmbd/nmbd.c >@@ -884,6 +884,9 @@ static bool open_sockets(bool isdaemon, int port) > BlockSignals(True, SIGUSR2); > #endif > >+ /* Ignore children - no zombies. */ >+ CatchChild(); >+ > if ( opt_interactive ) { > Fork = False; > log_stdout = True; >-- >2.1.0.rc2.206.gedb03e5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
ira
:
review+
Actions:
View
Attachments on
bug 10830
: 10330