From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:37129) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPro0-0000IM-Pz for guix-patches@gnu.org; Sat, 18 Apr 2020 14:03:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPrnz-0007s3-Bf for guix-patches@gnu.org; Sat, 18 Apr 2020 14:03:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60229) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jPrny-0007qn-5X for guix-patches@gnu.org; Sat, 18 Apr 2020 14:03:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jPrny-00086w-2S for guix-patches@gnu.org; Sat, 18 Apr 2020 14:03:02 -0400 Subject: [bug#40680] [PATCH] service: sddm: Have sddm-service-type conflict with other display managers. Resent-Message-ID: Date: Sat, 18 Apr 2020 21:01:21 +0300 From: Efraim Flashner Message-ID: <20200418180121.GA4725@E5400> References: <20200417144115.2475-1-efraim@flashner.co.il> <87r1wlaku6.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline In-Reply-To: <87r1wlaku6.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 40680@debbugs.gnu.org --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 17, 2020 at 11:00:49PM +0200, Ludovic Court=C3=A8s wrote: > Hi Efraim, >=20 > Efraim Flashner skribis: >=20 > > * 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=3D" (if (sddm-configuration-re= login? config) > > (documentation "SDDM display manager.") > > (requirement '(user-processes)) > > (provision '(display-manager)) > > + (conflicts-with '(xorg-server)) >=20 > =E2=80=98conflicts-with=E2=80=99 doesn=E2=80=99t exist, right? :-) >=20 I haven't tried it out for Guix services, but it exists for shepherd services, according to the manual=C2=B9 > But yes, I think (provision '(xorg-server display-manager)) would be > fine. >=20 > Or we can even drop =E2=80=98display-manager=E2=80=99 since it=E2=80=99s = not used anywhere else. Normally I'd be skeptical about dropping it since people might expect it if they're using sddm, but it'd probably be fine. =C2=B9 https://www.gnu.org/software/shepherd/manual/html_node/Methods-of-se= rvices.html#Methods-of-services --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --x+6KMIRAuhnl3hBn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl6bQHEACgkQQarn3Mo9 g1HWJA/+OO2FO1VUOW9iMPLE5QKlNvLH8+vI4jiO84ykAbf84syra1Vc50spT0Lp RQW7wYcQ3JtbPDrY/Ua2sKBuuc5ltr6w7+mK5CYksRAHi0PnhrFotM8gPXAiYEGR HN5B1GsHw33Chy34Yg1E/aB3x1KdxnE4f/rlcxdHdF8xSFMwmedA5cjSLCkMUrUx Ei1E7R5j71wqLno2xH7x9VzO3J+sKbFrIyCBPpE1Hk7r2xx+juc04tlCIBEFb/5a rN41ZYW4TaJ0tN5T6C/w81kQFR0F7+OodQPhCcP6BVIFSJMk6mzVLv0dLLnbWtHk 37B5cuWqeDRhDs1KBQ2zfQJPBAIpMBJ3aijTsSEbu5B3FUfRQ5Id/1au0zZeCebk ZUFkqDVTAUOVcZRhp+GTajsITCsl14YOLgJmYIvtLvIYhrDKIWIGHqvzOh4NQpI6 1uDaOwm/kwoEE+EMc9oMUJNowQ0jMVGDaPB/xuxditMjoMFNITV3e+gWMQYmM8g6 WVbQ9gzCzqTQbL03vN6QZ663dz6N0s+wrHEQgFvWyDL4mxpWK98CfTBoULFaywd3 ajS/2ZFAFuheLA2mX1lhqfnbzaZF4UKVNzSMcfc8lwtKq43R5mCWShJ70qe8zo1V /Ry26yPqQ4xxTmIcyvLCjHwmR/qbVPmcSgI+zGz/uMt4i6ZBUa8= =QFOo -----END PGP SIGNATURE----- --x+6KMIRAuhnl3hBn--