dovecot-2.2: restrict_process_count(): Don't die if process coun...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Apr 8 13:10:04 EEST 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/dd0d5981ad42
changeset: 16246:dd0d5981ad42
user: Timo Sirainen <tss at iki.fi>
date: Mon Apr 08 13:09:52 2013 +0300
description:
restrict_process_count(): Don't die if process count can't be changed.
SELinux has hard limits and doesn't allow root to increase them. The admin
should fix the error one way or another, but it's not a total failure just
leaving it.
diffstat:
src/lib/restrict-process-size.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r ac0e59dfe081 -r dd0d5981ad42 src/lib/restrict-process-size.c
--- a/src/lib/restrict-process-size.c Mon Apr 08 13:03:12 2013 +0300
+++ b/src/lib/restrict-process-size.c Mon Apr 08 13:09:52 2013 +0300
@@ -30,7 +30,7 @@
rlim.rlim_max = rlim.rlim_cur = count;
if (setrlimit(RLIMIT_NPROC, &rlim) < 0) {
- i_fatal("setrlimit(RLIMIT_NPROC, %llu): %m",
+ i_error("setrlimit(RLIMIT_NPROC, %llu): %m",
(unsigned long long)count);
}
#endif
More information about the dovecot-cvs
mailing list