From a7553a7360ac07ff114b807fc3026f08158d34c8 Mon Sep 17 00:00:00 2001 From: Clément Lassieur Date: Sat, 10 Nov 2018 18:37:55 +0100 Subject: services: dovecot: Set correct default value for the "auth" service. * gnu/services/mail.scm (dovecot-configuration): Set 'service-count' to 0 for the "auth" service. --- gnu/services/mail.scm | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'gnu/services') diff --git a/gnu/services/mail.scm b/gnu/services/mail.scm index dfbdf6d6cc..fcaedd038b 100644 --- a/gnu/services/mail.scm +++ b/gnu/services/mail.scm @@ -511,16 +511,9 @@ complex, customize the address and port fields of the (kind "pop3") (client-limit 1) (process-limit 1024)) - (service-configuration (kind "auth") - ;; In what could be taken to be a bug, the default value of 1 for - ;; service-count makes it so that a PAM auth worker can't fork off - ;; subprocesses for making blocking queries. The result is that nobody - ;; can log in -- very secure, but not very useful! If we simply omit - ;; the service-count, it will default to the value of - ;; auth-worker-max-count, which is 30, instead of defaulting to 1, which - ;; is the default for all other services. As a hack, bump this value to - ;; 30. - (service-count 30) + (service-configuration + (kind "auth") + (service-count 0) (client-limit 0) (process-limit 1) (listeners -- cgit 1.4.1