dovecot-2.0: master: Improved core dump error messages.
dovecot at dovecot.org
dovecot at dovecot.org
Wed Jun 30 23:33:38 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/e350532d8ce0
changeset: 11666:e350532d8ce0
user: Timo Sirainen <tss at iki.fi>
date: Wed Jun 30 21:33:35 2010 +0100
description:
master: Improved core dump error messages.
diffstat:
src/master/service-process.c | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r b265dee142a6 -r e350532d8ce0 src/master/service-process.c
--- a/src/master/service-process.c Wed Jun 30 21:21:19 2010 +0100
+++ b/src/master/service-process.c Wed Jun 30 21:33:35 2010 +0100
@@ -396,17 +396,22 @@
#ifndef HAVE_PR_SET_DUMPABLE
if (!service->set->drop_priv_before_exec && service->uid != 0) {
- str_append(str, " (core not dumped - set drop_priv_before_exec=yes)");
+ str_append(str, " (core not dumped - set service %s "
+ "{ drop_priv_before_exec=yes })",
+ service->set->name);
return;
}
if (*service->set->privileged_group != '\0' && service->uid != 0) {
- str_append(str, " (core not dumped - privileged_group prevented it)");
+ str_append(str, " (core not dumped - service %s "
+ "{ privileged_group } prevented it)",
+ service->set->name);
return;
}
#else
if (!service->set->login_dump_core &&
service->type == SERVICE_TYPE_LOGIN) {
- str_append(str, " (core not dumped - add -D parameter to service executable");
+ str_printfa(str, " (core not dumped - add -D parameter to "
+ "service %s { executable }", service->set->name);
return;
}
#endif
More information about the dovecot-cvs
mailing list