[PATCH] s3-param remove DEVELOPER only default for panic action

Andrew Bartlett abartlet at samba.org
Tue Mar 22 17:59:42 MDT 2011


This panic action is dangerious, as it blocks the file server from
restarting (because 'sleep' has the main socket fd open) if the parent
smbd segfaults.

Andrew Bartlett
---
 source3/param/loadparm.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index f9b8f70..6ebbb19 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -5197,9 +5197,6 @@ static void init_globals(bool reinit_globals)
 	}
 	string_set(&Globals.szAnnounceVersion, s);
 	SAFE_FREE(s);
-#ifdef DEVELOPER
-	string_set(&Globals.szPanicAction, "/bin/sleep 999999999");
-#endif
 
 	string_set(&Globals.szSocketOptions, DEFAULT_SOCKET_OPTIONS);
 
-- 
1.7.4


--=-+59mGO/qXAtkGrkPBtUs--



More information about the samba-technical mailing list