]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
master: If chrooted service's core wasn't dumped, suggest to unset the chroot.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 24 Oct 2016 09:23:49 +0000 (12:23 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 24 Oct 2016 11:26:18 +0000 (14:26 +0300)
src/master/service-process.c

index 7a24c58394c4a1c66dd8be6ca0710c256d2e006f..3e72c386cb8651ee61b15bb92851c4b73a51efd8 100644 (file)
@@ -474,6 +474,11 @@ log_coredump(struct service *service, string_t *str, int status)
                return;
        }
 #endif
+       if (service->set->chroot[0] != '\0') {
+               str_printfa(str, " (core not dumped - try to clear "
+                           "service %s { chroot = } )", service->set->name);
+               return;
+       }
 
        str_append(str, " (core not dumped)");
 #endif