From: Timo Sirainen Date: Fri, 13 Mar 2009 19:12:23 +0000 (-0400) Subject: If login process core dumps, suggest using -D parameter. X-Git-Tag: 1.2.beta2~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e7355058f65ad446550226ddbcdc7a4ddcae9ace;p=thirdparty%2Fdovecot%2Fcore.git If login process core dumps, suggest using -D parameter. --HG-- branch : HEAD --- diff --git a/src/master/child-process.c b/src/master/child-process.c index 5814cb437a..2202a9f6a7 100644 --- a/src/master/child-process.c +++ b/src/master/child-process.c @@ -142,8 +142,10 @@ log_coredump(string_t *str, enum process_type process_type, int status) return; /* let's try to figure out why we didn't get a core dump */ - if (process_type != PROCESS_TYPE_IMAP && - process_type != PROCESS_TYPE_POP3) + if (process_type == PROCESS_TYPE_LOGIN) + str_append(str, " (core not dumped - add -D to login_executable)"); + else if (process_type != PROCESS_TYPE_IMAP && + process_type != PROCESS_TYPE_POP3) str_append(str, " (core not dumped)"); #ifndef HAVE_PR_SET_DUMPABLE else if (!settings_root->defaults->mail_drop_priv_before_exec)