guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: services: dovecot: Set correct default value for the "auth" servi


From: Clément Lassieur
Subject: 03/03: services: dovecot: Set correct default value for the "auth" service.
Date: Sat, 10 Nov 2018 13:13:51 -0500 (EST)

snape pushed a commit to branch master
in repository guix.

commit a7553a7360ac07ff114b807fc3026f08158d34c8
Author: Clément Lassieur <address@hidden>
Date:   Sat Nov 10 18:37:55 2018 +0100

    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(-)

diff --git a/gnu/services/mail.scm b/gnu/services/mail.scm
index dfbdf6d..fcaedd0 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]