summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSughosha <Sughosha@proton.me>2022-10-17 11:43:19 +0000
committerGuix Patches Tester <>2022-10-17 12:46:43 +0100
commitbec13ba521e6f27d59cded1c23d205c98de10e85 (patch)
tree7b32a5398ded936e9257e8a08eb6f862ace23746
parent270eb27b20b4d1e024553a017f479556ee0b8ded (diff)
downloadguix-patches-bec13ba521e6f27d59cded1c23d205c98de10e85.tar
guix-patches-bec13ba521e6f27d59cded1c23d205c98de10e85.tar.gz
gnu: Fix dbus session address in home-dbus-shepherd-services and home-dbus-environment-variablesissue-58582
* gnu/home/services/desktop.scm (home-dbus-shepherd-services): Fix dbus session address. (home-dbus-environment-variables): Fix dbus session address. Currently if home-dbus-service-type is enabled, the GDM session crashes. This fix should possibly prevent it. However, I could not test it since reconfiguring guix home with pre-inst-env doesn't make any change and I don't know any other method.
-rw-r--r--gnu/home/services/desktop.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/home/services/desktop.scm b/gnu/home/services/desktop.scm
index e94e666d93..91e39af36c 100644
--- a/gnu/home/services/desktop.scm
+++ b/gnu/home/services/desktop.scm
@@ -196,7 +196,7 @@ according to time of day.")))
(list #$(file-append (home-dbus-dbus config)
"/bin/dbus-daemon")
"--nofork" "--session"
- (format #f "--address=unix:path=~a/bus"
+ (format #f "--address=unix:path=~a/dbus.lock"
(or (getenv "XDG_RUNTIME_DIR")
(format #f "/run/user/~a"
(getuid)))))
@@ -211,7 +211,7 @@ according to time of day.")))
(define (home-dbus-environment-variables config)
'(("DBUS_SESSION_BUS_ADDRESS"
- . "unix:path=${XDG_RUNTIME_DIR:-/run/user/$UID}/bus")))
+ . "unix:path=${XDG_RUNTIME_DIR:-/run/user/$UID}/dbus.lock")))
(define home-dbus-service-type
(service-type