From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WMoVCYao8GLh4QAAbAwnHQ (envelope-from ) for ; Mon, 08 Aug 2022 08:09:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gPzUCIao8GKBBgAAauVa8A (envelope-from ) for ; Mon, 08 Aug 2022 08:09:10 +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 DAD55322C9 for ; Mon, 8 Aug 2022 08:09:09 +0200 (CEST) Received: from localhost ([::1]:52040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKvwr-0003Ql-2u for larch@yhetil.org; Mon, 08 Aug 2022 02:09:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKvwk-0003QW-Us for guix-patches@gnu.org; Mon, 08 Aug 2022 02:09:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKvwk-0002VW-Ly for guix-patches@gnu.org; Mon, 08 Aug 2022 02:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKvwk-0002pQ-H0 for guix-patches@gnu.org; Mon, 08 Aug 2022 02:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56690] [PATCH] gnu: seatd-service-type: Should use seat group. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Aug 2022 06:09: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: muradm , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 56690@debbugs.gnu.org Received: via spool by 56690-submit@debbugs.gnu.org id=B56690.165993894010864 (code B ref 56690); Mon, 08 Aug 2022 06:09:02 +0000 Received: (at 56690) by debbugs.gnu.org; 8 Aug 2022 06:09:00 +0000 Received: from localhost ([127.0.0.1]:38925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKvwi-0002p9-9s for submit@debbugs.gnu.org; Mon, 08 Aug 2022 02:09:00 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:50635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKvwf-0002ol-Gf for 56690@debbugs.gnu.org; Mon, 08 Aug 2022 02:08:58 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4M1QkZ1zqTz1LZVs; Mon, 8 Aug 2022 08:08:54 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4M1QkZ1zqTz1LZVs DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1659938934; bh=ZoGzWZTpMMQzWDoabCJgOBVVKK+U9/6REnveVu6fCsM=; h=Subject:From:To:Date:In-Reply-To:References:From; b=Rxgt8gI1Um8W7mzBp8UNyKbj5qPt77JJ2x9jUcXpi0/1s8QmiiCJSRiCkjl6E0s2g Q5dSmxRQbvEwcJDSpiRCWv9IHT6F59mqV5RqtfnZ6AgOlse4Om5mzjThrYS5Qtetwq nysBv1lWx28SknhOpmecFwyiVfJbQHXLGxvTxLc4= Message-ID: <55a3a3bf118f364b70cbd74d214998955d81eaa9.camel@ist.tugraz.at> From: Liliana Marie Prikler Date: Mon, 08 Aug 2022 08:08:53 +0200 In-Reply-To: <87h72n24ra.fsf@muradm.net> References: <20220722042745.26745-1-mail@muradm.net> <87czdddrra.fsf@gnu.org> <87les00x51.fsf@muradm.net> <87h72n24ra.fsf@muradm.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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=1659938949; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=ZoGzWZTpMMQzWDoabCJgOBVVKK+U9/6REnveVu6fCsM=; b=RteEgRnxikCyXM6rgIN7tByuj7RS8r2UqRJPMeZfKjmUTg/MX1w8b2xsS25Dkn6uEzR4II 7lqi1Mxkv0xymUzZft2eP9U3Vv9ARZ6EoR+MWGSa7DGe+M5omHCxZn03kUg+foUNTBnVws c/6UCUqPK647gSU47xsLa0jbWVjivEcbYINhAdL8N41h4P2yWRFr6scPfvops0yxfDRLRY M7BvMbHHOykEKVCQ/i50oE6pSCPn6ZE6Psz/Pchlundwrz/Wk/IP/VW5n2TXGyJ3UmzmnC u10gLUJtKCVQ6ImWBFMuSPhRb2apcGU31TnQDYU3BTs3bcHXVptvRUOw5HhTFQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659938949; a=rsa-sha256; cv=none; b=XCY05VyemXp7slj8qvsdX1T3w2YA1jw9+pxv+8K4sdubclVHhGf8kjz9PzXUSieqVqi/nu o24YMuNww7XhhZJqocINymRBu2CdmWnD1Dmr6Vp76Ibtxin3JvV5XCh4BJUq/u7gVV/QTi dtzPH8KLlM9Bz7BVKyejBfXy644yHsEmFeklVsjAO+1GUbxfGdUwh3FSLOIFFOlTavi36u +d7e8dEcheNjIWI5yGzRUYL2z4tYsGRkix3+s3SK8yf5GAUAE3lFFp/XxHSbI2faPhuvsO gSh2R5YkpmwKkmJAvVkCqv+PsbhAt/HEoeQe9NZLP4GilbeyakzHPDx03vkdAQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=Rxgt8gI1; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=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: 4.81 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=Rxgt8gI1; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=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: DAD55322C9 X-Spam-Score: 4.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: Iojgzvyh6vJS Am Sonntag, dem 07.08.2022 um 23:05 +0300 schrieb muradm: > * gnu/services/desktop.scm (seatd-service-type): Uses "seat" group. > [extensions]: Added account-service-type with seatd-accounts. > (seatd-accounts): Conditionally produces list with "seat" group. > (): > [user] Drop user field, since it is not going to be used. Removed field. > [group] Change default value to "seat". > [existing-group?] Add field which controls if group should be > created or not. Would be Added field, but see below. > * doc/guix.texi: Mention that users may need to become members of > "seat" group and update default value for group field. Add > explanation on seatd.sock file. Remove dropped user field. > +When seat mamanagement is provided by @code{seatd}, users that > acquire management. > +resources provided by @code{seatd} should have permissions to access > +its UNIX domain socket. By default, @code{seatd-service-type} > provides > +``seat'' group. And user should become its member. Which user? Closely related, who acquires resources provided by @code{seatd}? Just the greeter? A regular user logging in? What access level is needed/provided? Read access? Write access? > + (group seatd-group (default "seat")) > + (existing-group? seatd-existing-group? (default #f)) AFAIK this is not necessary. accounts-service-type can handle multiple eq? groups, so as long as you're careful with what you put into group, you shouldn't get an error. Cheers