From: Sughosha via Guix-patches via <guix-patches@gnu.org>
To: 58582@debbugs.gnu.org
Subject: [bug#58582] [PATCH] gnu: Fix dbus session address in home-dbus-shepherd-services and home-dbus-environment-variables
Date: Mon, 17 Oct 2022 11:43:19 +0000 [thread overview]
Message-ID: <6B8PVUNJFWE65EEQjuqmH-PLzud7XaJZQ7M1VWklTB4FboCffQez3Tn0H5rLpEcwBJk-4o7StU9b2r0QbN3OHfR_KephR_IZ21vFdd50xjc=@proton.me> (raw)
* 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.
---
gnu/home/services/desktop.scm | 4 ++--
1 file 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 @@ (define (home-dbus-shepherd-services config)
(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 @@ (define (home-dbus-shepherd-services config)
(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
--
2.38.0
next reply other threads:[~2022-10-17 11:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-17 11:43 Sughosha via Guix-patches via [this message]
2022-10-17 11:50 ` [bug#58582] [PATCH] gnu: Fix dbus session address in home-dbus-shepherd-services and home-dbus-environment-variables ( via Guix-patches via
2023-01-03 22:15 ` Maxim Cournoyer
2023-01-03 23:53 ` Sughosha via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='6B8PVUNJFWE65EEQjuqmH-PLzud7XaJZQ7M1VWklTB4FboCffQez3Tn0H5rLpEcwBJk-4o7StU9b2r0QbN3OHfR_KephR_IZ21vFdd50xjc=@proton.me' \
--to=guix-patches@gnu.org \
--cc=58582@debbugs.gnu.org \
--cc=Sughosha@proton.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).