From patchwork Fri Apr 17 14:41:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 21340 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 435FD27BBE4; Fri, 17 Apr 2020 15:43:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 1A2F927BBE1 for ; Fri, 17 Apr 2020 15:43:11 +0100 (BST) Received: from localhost ([::1]:48020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPSCz-0003Y4-Io for patchwork@mira.cbaines.net; Fri, 17 Apr 2020 10:43:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46099) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPSCt-0003Xe-Dc for guix-patches@gnu.org; Fri, 17 Apr 2020 10:43:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPSCs-00080n-Gs for guix-patches@gnu.org; Fri, 17 Apr 2020 10:43:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58111) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jPSCs-00080d-EC for guix-patches@gnu.org; Fri, 17 Apr 2020 10:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jPSCs-0008Dh-CK for guix-patches@gnu.org; Fri, 17 Apr 2020 10:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40680] [PATCH] service: sddm: Have sddm-service-type conflict with other display managers. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Apr 2020 14:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40680 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40680@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158713454431541 (code B ref -1); Fri, 17 Apr 2020 14:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Apr 2020 14:42:24 +0000 Received: from localhost ([127.0.0.1]:41424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPSCG-0008Ce-Ga for submit@debbugs.gnu.org; Fri, 17 Apr 2020 10:42:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:51248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPSCE-0008CU-Sl for submit@debbugs.gnu.org; Fri, 17 Apr 2020 10:42:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45709) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPSCD-0003Uk-NQ for guix-patches@gnu.org; Fri, 17 Apr 2020 10:42:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPSCC-0007b5-Ee for guix-patches@gnu.org; Fri, 17 Apr 2020 10:42:21 -0400 Received: from flashner.co.il ([178.62.234.194]:33932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jPSCC-0007Fc-8f for guix-patches@gnu.org; Fri, 17 Apr 2020 10:42:20 -0400 Received: from localhost (unknown [141.226.9.17]) by flashner.co.il (Postfix) with ESMTPSA id 352EF401AA; Fri, 17 Apr 2020 14:41:48 +0000 (UTC) From: Efraim Flashner Date: Fri, 17 Apr 2020 17:41:15 +0300 Message-Id: <20200417144115.2475-1-efraim@flashner.co.il> X-Mailer: git-send-email 2.26.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" X-getmail-retrieved-from-mailbox: Patches * gnu/services/sddm.scm (sddm-shepherd-service)[shepherd-service]: Conflict with 'xorg-server. --- I was looking over the services list with raingloom on IRC and I noticed that GDM and Slim both provision xorg-server, while SDDM provisions display-manager. To ensure that they conflict with each other we can either: A: Have SDDM conflict with 'xorg-server B: Have SDDM also provision 'xorg-server I'm currently using SDDM (in Wayland mode) to launch an X session of Enlightenment, so I think it's safe enough to say that SDDM can provision 'xorg-server. --- gnu/services/sddm.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/services/sddm.scm b/gnu/services/sddm.scm index 1921afce95..aa08859513 100644 --- a/gnu/services/sddm.scm +++ b/gnu/services/sddm.scm @@ -171,6 +171,7 @@ Relogin=" (if (sddm-configuration-relogin? config) (documentation "SDDM display manager.") (requirement '(user-processes)) (provision '(display-manager)) + (conflicts-with '(xorg-server)) (start #~(make-forkexec-constructor #$sddm-command)) (stop #~(make-kill-destructor)))))