From patchwork Thu Feb 10 20:27:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josselin Poiret X-Patchwork-Id: 37170 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 437E027BBEA; Thu, 10 Feb 2022 20:29:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0A4D927BBE9 for ; Thu, 10 Feb 2022 20:29:43 +0000 (GMT) Received: from localhost ([::1]:44452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIG4T-0004Ya-Sm for patchwork@mira.cbaines.net; Thu, 10 Feb 2022 15:29:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIG3t-0004YI-Fx for guix-patches@gnu.org; Thu, 10 Feb 2022 15:29:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35131) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIG3q-0004ME-6o for guix-patches@gnu.org; Thu, 10 Feb 2022 15:29:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nIG3q-0002lr-4s for guix-patches@gnu.org; Thu, 10 Feb 2022 15:29:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53926] [PATCH] services: gdm-service-type: Require elogind. Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Feb 2022 20:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53926 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53926@debbugs.gnu.org Cc: Josselin Poiret X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164452490010585 (code B ref -1); Thu, 10 Feb 2022 20:29:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Feb 2022 20:28:20 +0000 Received: from localhost ([127.0.0.1]:57261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIG39-0002kf-Oo for submit@debbugs.gnu.org; Thu, 10 Feb 2022 15:28:19 -0500 Received: from lists.gnu.org ([209.51.188.17]:51712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIG37-0002kT-FL for submit@debbugs.gnu.org; Thu, 10 Feb 2022 15:28:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIG37-0004Vv-8a for guix-patches@gnu.org; Thu, 10 Feb 2022 15:28:17 -0500 Received: from jpoiret.xyz ([206.189.101.64]:54328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIG33-0004GQ-0L for guix-patches@gnu.org; Thu, 10 Feb 2022 15:28:16 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id B1FB7184D3D; Thu, 10 Feb 2022 20:27:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1644524872; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=/yDdTWgxpgtVchh0xU6a6nzvoLaJZ+9xHttGFMY4MXw=; b=hgRDqOvSiNcZlSQ+/AzDuWjObd39RLp0IItAhiNUl8jlXQGV8yc/iZpN4x8Z7kt7UgyvFe fhUxib6rd22Ll7I3h2/OQCAMPsIBBJAfSeTcD03Fg1NlcJPcP5hm2+y1EQ666/oLgUTtlU DkJgyvem+bi6PpzPnRJqafQAYaLshSHHsIlHPZ3Z6d/hZQVCgk+QXHSCI61If4oUnta+I+ x2Ie+nlfbpLWylDjl3RkaK+v1e8pnwXqYelanRIHLWR/299iBJcvNxz6tB7wJxHpaHP2vu fCARxQUhf5/juqzfyucqi4cN1lIAeapsEgeZn2softj0S8VJ9ScVmN54xzOMNQ== Date: Thu, 10 Feb 2022 21:27:47 +0100 Message-Id: <20220210202747.27729-1-dev@jpoiret.xyz> MIME-Version: 1.0 Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spamd-Bar: ++++ Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz X-Spam_score_int: 21 X-Spam_score: 2.1 X-Spam_bar: ++ X-Spam_report: (2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=1.997, PDS_OTHER_BAD_TLD=1.766, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Josselin Poiret X-ACL-Warn: , Josselin Poiret via Guix-patches X-Patchwork-Original-From: Josselin Poiret via Guix-patches via From: Josselin Poiret X-getmail-retrieved-from-mailbox: Patches * 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)