Subject: bug#53926: closed (Re: bug#53926: [PATCH] services: gdm-service-type: Require elogind.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 10 Feb 2022 22:19:01 +0000

Your bug report

#53926: [PATCH] services: gdm-service-type: Require elogind.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
53926: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=53926
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#53926: [PATCH] services: gdm-service-type: Require elogind.
From: Ludovic Courtès <[email-masked]>
To: Josselin Poiret <[email-masked]>
Cc: [email-masked]
Date: Thu, 10 Feb 2022 23:18:13 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Josselin Poiret <[email-masked]> skribis:

> * gnu/services/xorg.scm (gdm-shepherd-service): Make it require
> elogind.
> ---
> Hello everyone,
>
> GDM needs elogind to function, and up until now it was racing with the
> elogind service, leading to dbus trying to start a second elogind
> while the first is still setting up.  This should fix it.

Oh, so that was it…  Applied, thanks!

Ludo’.

Subject: [PATCH] services: gdm-service-type: Require elogind.
From: Josselin Poiret <[email-masked]>
To: [email-masked]
Cc: Josselin Poiret <[email-masked]>
Date: Thu, 10 Feb 2022 21:27:47 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/services/xorg.scm (gdm-shepherd-service): Make it require
elogind.
---
Hello everyone,

GDM needs elogind to function, and up until now it was racing with the
elogind service, leading to dbus trying to start a second elogind
while the first is still setting up.  This should fix it.

Best,
Josselin

 gnu/services/xorg.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index a5e1a1471d..d6dfb07425 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -975,7 +975,7 @@ (define (gdm-shepherd-service config)
   (list (shepherd-service
          (documentation "Xorg display server (GDM)")
          (provision '(xorg-server))
-         (requirement '(dbus-system user-processes host-name udev))
+         (requirement '(dbus-system user-processes host-name udev elogind))
          (start #~(lambda ()
                     (fork+exec-command
                      (list #$(file-append (gdm-configuration-gdm config)
-- 
2.34.0