summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorClément Lassieur <clement@lassieur.org>2018-11-10 18:37:55 +0100
committerClément Lassieur <clement@lassieur.org>2018-11-10 19:12:21 +0100
commita7553a7360ac07ff114b807fc3026f08158d34c8 (patch)
tree94dacfa23e823f3da00e99bbe2cafc828b170467 /gnu
parentbe8dd4a5fec804f2f004dd3a87c2872af44dc88d (diff)
downloadguix-a7553a7360ac07ff114b807fc3026f08158d34c8.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/mail.scm13
1 files changed, 3 insertions, 10 deletions
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