summaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorTimothy Sample <samplet@ngyro.com>2021-12-21 11:52:34 -0500
committerLeo Famulari <leo@famulari.name>2021-12-22 18:33:07 -0500
commit488f1c589df00e802163af534294d93372e5c025 (patch)
tree9145495b18d6141438113e791122e34b4342a4b0 /gnu/services
parenta296b5fff9f182da7c7b67cc7bdba0957623e650 (diff)
downloadguix-patches-488f1c589df00e802163af534294d93372e5c025.tar
guix-patches-488f1c589df00e802163af534294d93372e5c025.tar.gz
services: dbus: Wait 1 minute for elogind to get ready.
Fixes <https://issues.guix.gnu.org/issue/52051>. * gnu/services/dbus.scm (dbus-configuration-directory): Set a 60 second authentication timeout in the D-Bus configuration.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/dbus.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/services/dbus.scm b/gnu/services/dbus.scm
index 85a4c3ec9a..d2daf60497 100644
--- a/gnu/services/dbus.scm
+++ b/gnu/services/dbus.scm
@@ -106,6 +106,10 @@ includes the @code{etc/dbus-1/system.d} directories of each package listed in
(define (services->sxml services)
;; Return the SXML 'includedir' clauses for DIRS.
`(busconfig
+ ;; Increase this timeout to 60 seconds to work around race-y
+ ;; failures such as <https://issues.guix.gnu.org/52051> on slow
+ ;; computers with slow I/O.
+ (limit (@ (name "auth_timeout")) "60000")
(servicehelper "/run/setuid-programs/dbus-daemon-launch-helper")
;; First, the '.service' files of services subject to activation.