GNU bug report logs - #58582
[PATCH] gnu: Fix dbus session address in home-dbus-shepherd-services and home-dbus-environment-variables

Previous Next

Package: guix-patches;

Reported by: Sughosha <Sughosha <at> proton.me>

Date: Mon, 17 Oct 2022 11:44:02 UTC

Severity: normal

Tags: moreinfo, notabug, patch

Done: Sughosha <Sughosha <at> proton.me>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58582 in the body.
You can then email your comments to 58582 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#58582; Package guix-patches. (Mon, 17 Oct 2022 11:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sughosha <Sughosha <at> proton.me>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 17 Oct 2022 11:44:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <Sughosha <at> proton.me>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [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
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#58582; Package guix-patches. (Mon, 17 Oct 2022 11:51:01 GMT) Full text and rfc822 format available.

Message #8 received at 58582 <at> debbugs.gnu.org (full text, mbox):

From: "(" <paren <at> disroot.org>
To: "Sughosha" <Sughosha <at> proton.me>, <58582 <at> debbugs.gnu.org>
Subject: Re: [bug#58582] [PATCH] gnu: Fix dbus session address in
 home-dbus-shepherd-services and home-dbus-environment-variables
Date: Mon, 17 Oct 2022 12:50:28 +0100
Hello,

On Mon Oct 17, 2022 at 12:43 PM BST, Sughosha via Guix-patches via wrote:
> Currently if home-dbus-service-type is enabled, the GDM session crashes.

Oopsie. :)

> 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.

``./pre-inst-env guix home reconfigure ~/conf/home.scm'' works for me... I'll
test it, one moment :)

    -- (




Added tag(s) moreinfo. Request was from Christopher Baines <mail <at> cbaines.net> to control <at> debbugs.gnu.org. (Thu, 03 Nov 2022 16:12:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#58582; Package guix-patches. (Tue, 03 Jan 2023 22:16:03 GMT) Full text and rfc822 format available.

Message #13 received at 58582 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: "(" <paren <at> disroot.org>
Cc: Sughosha <Sughosha <at> proton.me>, 58582 <at> debbugs.gnu.org
Subject: Re: bug#58582: [PATCH] gnu: Fix dbus session address in
 home-dbus-shepherd-services and home-dbus-environment-variables
Date: Tue, 03 Jan 2023 17:15:25 -0500
Hello,

"(" <paren <at> disroot.org> writes:

> Hello,
>
> On Mon Oct 17, 2022 at 12:43 PM BST, Sughosha via Guix-patches via wrote:
>> Currently if home-dbus-service-type is enabled, the GDM session crashes.
>
> Oopsie. :)
>
>> 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.
>
> ``./pre-inst-env guix home reconfigure ~/conf/home.scm'' works for me... I'll
> test it, one moment :)

Friendly ping :-)

-- 
Thanks,
Maxim




Information forwarded to guix-patches <at> gnu.org:
bug#58582; Package guix-patches. (Tue, 03 Jan 2023 23:55:02 GMT) Full text and rfc822 format available.

Message #16 received at 58582 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <Sughosha <at> proton.me>
To: "58582 <at> debbugs.gnu.org" <58582 <at> debbugs.gnu.org>
Subject: Re: bug#58582: [PATCH] gnu: Fix dbus session address in
 home-dbus-shepherd-services and home-dbus-environment-variables
Date: Tue, 03 Jan 2023 23:53:53 +0000
I am not sure what had caused the problem, but now I don't have this problem anymore.

tags 58582 notabug
close 58582
quit




Added tag(s) notabug. Request was from Sughosha <Sughosha <at> proton.me> to control <at> debbugs.gnu.org. (Fri, 03 Nov 2023 23:23:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 58582 <at> debbugs.gnu.org and Sughosha <Sughosha <at> proton.me> Request was from Sughosha <Sughosha <at> proton.me> to control <at> debbugs.gnu.org. (Fri, 03 Nov 2023 23:23:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 02 Dec 2023 12:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 138 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.