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.
This commit is contained in:
Clément Lassieur 2018-11-10 18:37:55 +01:00
parent be8dd4a5fe
commit a7553a7360
No known key found for this signature in database
GPG Key ID: 89F96D4808F359C7
1 changed files with 3 additions and 10 deletions

View File

@ -511,16 +511,9 @@ complex, customize the address and port fields of the
(kind "pop3") (kind "pop3")
(client-limit 1) (client-limit 1)
(process-limit 1024)) (process-limit 1024))
(service-configuration (kind "auth") (service-configuration
;; In what could be taken to be a bug, the default value of 1 for (kind "auth")
;; service-count makes it so that a PAM auth worker can't fork off (service-count 0)
;; 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)
(client-limit 0) (client-limit 0)
(process-limit 1) (process-limit 1)
(listeners (listeners