From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 18 14:02:07 2020 Received: (at 40680) by debbugs.gnu.org; 18 Apr 2020 18:02:07 +0000 Received: from localhost ([127.0.0.1]:43542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPrn4-00085h-Uq for submit@debbugs.gnu.org; Sat, 18 Apr 2020 14:02:07 -0400 Received: from flashner.co.il ([178.62.234.194]:39738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPrn2-00085B-Ib for 40680@debbugs.gnu.org; Sat, 18 Apr 2020 14:02:05 -0400 Received: from localhost (unknown [141.226.9.17]) by flashner.co.il (Postfix) with ESMTPSA id ABCC4402BE; Sat, 18 Apr 2020 18:01:58 +0000 (UTC) Date: Sat, 18 Apr 2020 21:01:21 +0300 From: Efraim Flashner To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#40680] [PATCH] service: sddm: Have sddm-service-type conflict with other display managers. 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> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 40680 Cc: 40680@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --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--