unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#58582] [PATCH] gnu: Fix dbus session address in home-dbus-shepherd-services and home-dbus-environment-variables
@ 2022-10-17 11:43 Sughosha via Guix-patches via
  2022-10-17 11:50 ` ( via Guix-patches via
  0 siblings, 1 reply; 4+ messages in thread
From: Sughosha via Guix-patches via @ 2022-10-17 11:43 UTC (permalink / raw)
  To: 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.
---
 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





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#58582] [PATCH] gnu: Fix dbus session address in home-dbus-shepherd-services and home-dbus-environment-variables
  2022-10-17 11:43 [bug#58582] [PATCH] gnu: Fix dbus session address in home-dbus-shepherd-services and home-dbus-environment-variables Sughosha via Guix-patches via
@ 2022-10-17 11:50 ` ( via Guix-patches via
  2023-01-03 22:15   ` Maxim Cournoyer
  0 siblings, 1 reply; 4+ messages in thread
From: ( via Guix-patches via @ 2022-10-17 11:50 UTC (permalink / raw)
  To: Sughosha, 58582

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 :)

    -- (




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#58582] [PATCH] gnu: Fix dbus session address in home-dbus-shepherd-services and home-dbus-environment-variables
  2022-10-17 11:50 ` ( via Guix-patches via
@ 2023-01-03 22:15   ` Maxim Cournoyer
  2023-01-03 23:53     ` Sughosha via Guix-patches via
  0 siblings, 1 reply; 4+ messages in thread
From: Maxim Cournoyer @ 2023-01-03 22:15 UTC (permalink / raw)
  To: (; +Cc: Sughosha, 58582

Hello,

"(" <paren@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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#58582] [PATCH] gnu: Fix dbus session address in home-dbus-shepherd-services and home-dbus-environment-variables
  2023-01-03 22:15   ` Maxim Cournoyer
@ 2023-01-03 23:53     ` Sughosha via Guix-patches via
  0 siblings, 0 replies; 4+ messages in thread
From: Sughosha via Guix-patches via @ 2023-01-03 23:53 UTC (permalink / raw)
  To: 58582@debbugs.gnu.org

I am not sure what had caused the problem, but now I don't have this problem anymore.

tags 58582 notabug
close 58582
quit




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-03 23:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-17 11:43 [bug#58582] [PATCH] gnu: Fix dbus session address in home-dbus-shepherd-services and home-dbus-environment-variables Sughosha via Guix-patches via
2022-10-17 11:50 ` ( via Guix-patches via
2023-01-03 22:15   ` Maxim Cournoyer
2023-01-03 23:53     ` Sughosha via Guix-patches via

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