From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4OY+Njpp8WKHlQAAbAwnHQ (envelope-from ) for ; Mon, 08 Aug 2022 21:51:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +NcrNjpp8WIMUwEA9RJhRA (envelope-from ) for ; Mon, 08 Aug 2022 21:51:22 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 78C011F124 for ; Mon, 8 Aug 2022 21:51:22 +0200 (CEST) Received: from localhost ([::1]:34266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oL8mX-0002Fg-72 for larch@yhetil.org; Mon, 08 Aug 2022 15:51:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oL8mE-0002FQ-Gq for guix-patches@gnu.org; Mon, 08 Aug 2022 15:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52294) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oL8mE-0003mR-86 for guix-patches@gnu.org; Mon, 08 Aug 2022 15:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oL8mE-0006HW-3P for guix-patches@gnu.org; Mon, 08 Aug 2022 15:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56690] [PATCH] gnu: seatd-service-type: Should use seat group. Resent-From: muradm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Aug 2022 19:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56690 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "(" Cc: ludo@gnu.org, 56690@debbugs.gnu.org X-Debbugs-Original-Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 56690@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165998821324056 (code B ref -1); Mon, 08 Aug 2022 19:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Aug 2022 19:50:13 +0000 Received: from localhost ([127.0.0.1]:42041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oL8lQ-0006Fp-PJ for submit@debbugs.gnu.org; Mon, 08 Aug 2022 15:50:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:49798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oL8lL-0006Fb-Lu for submit@debbugs.gnu.org; Mon, 08 Aug 2022 15:50:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oL8lL-0002Cl-CE for guix-patches@gnu.org; Mon, 08 Aug 2022 15:50:07 -0400 Received: from nomad-cl1.staging.muradm.net ([139.162.159.157]:40674 helo=nomad-cl1.muradm.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oL8lJ-0003Yg-Ly; Mon, 08 Aug 2022 15:50:07 -0400 Received: from localhost ([127.0.0.1]:49976) by nomad-cl1.muradm.net with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1oL8ki-00026x-0Q; Mon, 08 Aug 2022 19:49:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=muradm.net; s=mail; h=Content-Type:MIME-Version:Message-ID:In-reply-to:Date:Subject:Cc:To :From:References:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=nfiLjV0aPnd502dQeBi+mw22zEiWNuZ0x9IA+O+/6k0=; b=cGhtlKEOfCISjZv6a2Zg3WlVxP bgy3IyuXpFHSMW7O6hv9hzDqIYriZe9Hhi2iMukNuVxRWhekhsV+ZLnAj4l85aDtZgVwe6tOa/E0H Lc02xcIA+fKKR5+UFIIx1v5GRbPT4cQZ1rmljQ3qa/f9M8OFoyXlqtUAjw8438FoZP1f1+SUdxEsR 16bzUfEvAf3fXq9vFB6sfThyFA8LVMRcWBiT9N/74m07uDR6H3vmcOxzOaOwQYGRDjT0Zs0AITEOz aG2e0r10vFRyVAEAgvDSitXXPukPWSCuyQPEX4Qac7Z8MgrQL8P/kBg50SwgtCf9LEDVGe/b+fo2U XEn0d6OrHNWWpgQhzm/vAiXQ2YlrUW/UOpDeMKQYdPJvusYSBv7zdDwNjrmLVlbdLJMkb6k+GsaIb 8ZwvAEcExSQDARdqB1eQ7HFAoNgqji6VpP5z8rcACdTM9WxLqTWtpmr7p62wPOc96Q69xd+BLkyUZ d/DfGVGuvD6nYCkVCzKV8VCw; Received: from muradm by localhost with local (Exim 4.96) (envelope-from ) id 1oL8l9-0006mm-2b; Mon, 08 Aug 2022 22:49:55 +0300 References: <20220722042745.26745-1-mail@muradm.net> <87czdddrra.fsf@gnu.org> <87sfm7az76.fsf@gnu.org> User-agent: mu4e 1.8.7; emacs 29.0.50 From: muradm Date: Mon, 08 Aug 2022 22:44:37 +0300 In-reply-to: Message-ID: <87a68ezfa4.fsf@muradm.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=139.162.159.157; envelope-from=mail@muradm.net; helo=nomad-cl1.muradm.net X-Spam_score_int: -20 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659988282; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=nfiLjV0aPnd502dQeBi+mw22zEiWNuZ0x9IA+O+/6k0=; b=ltC4AroDhDpqosZ+80xn0+J1TJU5123RJKVPjrVOTHuBJYKyu2Z++T9cDQGYxRwn5YmHLm TzH1v6YUZD8dx04gRvwH3rbGs5wkijV6y2l+zsWao0ul6tAruUxE04+WOHrbjvSlRa5ZLV XIbJtKMAfCTe6eyx1rwkPn+10yYqtXmLiCsVDWKM6ZSgmVlM2iSOVmTTPG7F7HYnk66HAU V8juvll1eOwa1GiUayM80hFHMJ+VhjlqLhBtWwWgpncNG4esSGfy/4NgY++tJUgyhpake0 fbSpqem6XqQsGla/AmhuLiPlvHLWu4O8hr1lnKsZZuN5AWNlpYKRRy9j56n7Jw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659988282; a=rsa-sha256; cv=none; b=Nisx9i9l54jOc15yo4Gj75sEXA1b3HYUjxZSB1CrExPjW/j21WKUinwQnZdKhzzLt+Mxn3 skspZ4+Qt0q17IzHHIdPp2W55h2caYqV2PiB3MppgEavFWTP5yMtES6tiiC5l1c9eaLNOf WKGJAMDHWurLrSUtrxGKQbMMn99oucwq9WH1f6XX3ucgxdDdHYnlh+079Aa48h2z7ADwqN aIm5K6PZ0hUTCLelxYFUfOHUe00g3ppZEXjPJ54vmVBJXylnzpVDL4QLtP322i9SIxpA/i 3q6BhLWHxpohl96R0lMOufHrsZcCZ/GmTB5agFdgStiZT+rnEBwxWsinYe72ag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=cGhtlKEO; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=cGhtlKEO; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 78C011F124 X-Spam-Score: -1.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: yCj6sMJSQ7pN --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable "(" writes: > On Mon Aug 8, 2022 at 9:58 AM BST, Ludovic Court=C3=A8s wrote: >> Is there a bug report, and do we have system tests for this >> functionality? > > I don't believe there are system tests for greetd, no. There is > a bug report, though: . > >> I admit I know little about greetd and cases where it might be=20 >> used. > > As I understand it, greetd is a daemon that handles the=20 > sensitive parts > of display managers, which it calls 'greeters'. It allows you to=20 > write a > login program without having to write those difficult and=20 > sensitive parts > by simply writing a GUI that sends JSON messages to the socket=20 > when it > gets input. For greetd/greeter this is fine explanation. > So the problem is some greeters try to talk to seatd, but since=20 > they > don't have the right permissions, they bail out. To be more correct here, greeter that requires both talking to=20 greetd and talking to seatd via libseat. Suppose gtkgreet which is=20 running with sway. So greetd will start greeter which is "sway -c config-which-starts-gtkgreet.conf". Now you have two=20 processes in the scope of greeter, one is sway which has to talk to swatd=20 via libseat and the other is gtkgreet which is going to talk with=20 greetd. The one who bails out is sway here due to lack of permissions for seatd.sock for talking to seatd via libseat. > > -- ( --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEESPY5lma9A9l5HGLP6M7O0mLOBeIFAmLxaOMACgkQ6M7O0mLO BeK4Lg//Rz4oTQ01j4iaHGnganLNuywDRt9uvtVf0hol9/ZGv1fkDlyVBne20K0E /YNHfEReGBm7RVbVQzXiyb2++xtUZba0UgbYRTMj5IxTDWnKWxznhkDEbkcpuqG4 Q5Z/NClDLOMjZAIFsP43tgdYkAU9f4K9RAOiQ+9W5ZWi0y/+8P5wlVwu3WmAsirS ZEpGRaFp4qV/fg5l1+NlmItjVe2ud9hl/FIJJeqt9SmmFPQQ/IFORR8sZpCdAZtx gkVcp+zG6kqQDhIfqIvSif0tsTxISXoDGxBk2XLVAgTNVNbhZA2bdJmF/DWFOdLw z7lh7lk1UpUtOidSDLbAzmxnfxPKCeEk59tiO1RT2SuLM/2YXHXhRQ4p4+pM4Pux AMtkZNvzJawCNzUfsB5dmnr4fTTfndqSErcZ9t+5a7kcGHgFQImW4IHlXYC82Qs0 HPy6ZvqSZ4qDKL/+sWkylh/3yHsmakppKipLa1qkDrOk42GEb9CA1uSPzey9pWc+ lWHc4a7ZyMBkpjdqjir96ylJphcUTc7weL+yOWq4RfrrX+cWZt9T3p3uRIqR3LrO IUVUw1+4YWPSd3nC6AfhWMRQoKgRI2dUR5FasfiYBhPBJpqc4ASir+LkX6AoTA13 77KIC9YDJDRBCAGanU1s52kE7BrQexsw73KBrmRMBEgwfd20aGg= =bMO9 -----END PGP SIGNATURE----- --=-=-=--