From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4B2kNYgF8mIBTAAAbAwnHQ (envelope-from ) for ; Tue, 09 Aug 2022 08:58:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KCZ3NYgF8mKyWAAAauVa8A (envelope-from ) for ; Tue, 09 Aug 2022 08:58:16 +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 7440B2D9E7 for ; Tue, 9 Aug 2022 08:58:16 +0200 (CEST) Received: from localhost ([::1]:36666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLJBu-00051V-IX for larch@yhetil.org; Tue, 09 Aug 2022 02:58:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41616) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLJBj-00051M-6T for guix-patches@gnu.org; Tue, 09 Aug 2022 02:58:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52647) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLJBi-00031W-EG for guix-patches@gnu.org; Tue, 09 Aug 2022 02:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLJBi-0007K6-7i for guix-patches@gnu.org; Tue, 09 Aug 2022 02:58: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: Tue, 09 Aug 2022 06:58: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 Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 56690@debbugs.gnu.org Received: via spool by 56690-submit@debbugs.gnu.org id=B56690.166002826128112 (code B ref 56690); Tue, 09 Aug 2022 06:58:02 +0000 Received: (at 56690) by debbugs.gnu.org; 9 Aug 2022 06:57:41 +0000 Received: from localhost ([127.0.0.1]:42396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLJBM-0007JL-Jy for submit@debbugs.gnu.org; Tue, 09 Aug 2022 02:57:40 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:22424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLJBG-0007J7-U0 for 56690@debbugs.gnu.org; Tue, 09 Aug 2022 02:57:39 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4M23mB0YdKz1LZVs; Tue, 9 Aug 2022 08:57:30 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4M23mB0YdKz1LZVs DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1660028251; bh=5SswygauWYp5bQHm1rmOi1fgP69Jjqljqsw0O8/liF4=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=DLR+odmCNI+lkJy59qhKWjZ+3Ug8bdrgGpZtj6WHMdbiU6kaEYOfvpDEPUo1/1Uv5 ZIDD1mZtnZAKYjP3DScNLFz1Jnrnex0uooqozaqfxrmsDMHOldyqam8Sk1Z7ZSzMdK tpR+RIoBj2zlnpRDPLlBVGAUEW25238yd0s6xzms= Message-ID: <063eee23b1ff1b0f288d5e465aa5bac1862c9bb8.camel@ist.tugraz.at> From: Liliana Marie Prikler Date: Tue, 09 Aug 2022 08:57:29 +0200 In-Reply-To: <87mtcezhty.fsf@muradm.net> References: <20220722042745.26745-1-mail@muradm.net> <87czdddrra.fsf@gnu.org> <87les00x51.fsf@muradm.net> <87h72n24ra.fsf@muradm.net> <55a3a3bf118f364b70cbd74d214998955d81eaa9.camel@ist.tugraz.at> <87mtcezhty.fsf@muradm.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=1660028296; 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: 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=5SswygauWYp5bQHm1rmOi1fgP69Jjqljqsw0O8/liF4=; b=aAH+Qsa3Znhnqam2WAFDp3LCF8zRHaWli3UjoGJNWnOsoVeyUoJSJvRb/YIUX6ub1qnIj6 gCNElUbGTpjqu+ysgmn99yAHy93yawjiYgt0/OKt2sZFdJwGyMN040++7FVkvv8x04VJ2E LOVUxuHX2BfksntLm3cAwind9W3fIjTN7wS7J69lJQ3iKzJmRb2ZlESsbS7+KMrFJuWFvA yT+y4l3acq+n8TpHTctl9CBWWfpQICoGzOUU3gyBwpVj/UjkdGjwCGjY5YTVmFXEGTq0kA n/qWcPUlWWu2reyFHcCi+YJwNmDyg5kCgro6ITMWD7Xo5wTI6Kv+XvOD2jmjbg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660028296; a=rsa-sha256; cv=none; b=OJ4JV+50qXFepUdYWB1JyKj4S+Qr5oVzL3W2ef9aG0XgHq2PrBkzOe+P8J9FBRNpuC4UIk uiciv+rH7aQY3s55jZkcG5dnKSaHNlg9QLgvNapWkpasTx62LCPM9f82lHUD5KtmbbkMN1 svAM8ewWbbYPVFcwC1KMvyVUBCH7rn1uAtPFLH4QjpLBauW2n8NhX2OBxAP96t/4CAI3Gw nFcnPnNor8r8YFuH1tgX9EqqZ5DFAV9k5NUJN8hEkniRJKcfDTH4EW55ReeSyADm2qMmSp 4TJe+gFgP0lL5V3GD6Xd4cBBsdp7c61BImjj4G+931mMxJfQdg4FIQ5Nm41HIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=DLR+odmC; 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.51 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=DLR+odmC; 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: 7440B2D9E7 X-Spam-Score: 4.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4rXLGz28cVIA Am Montag, dem 08.08.2022 um 21:50 +0300 schrieb muradm: > > 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? > While I understand what you are saying, for me user is fine, and I > can't come up with better description, as my eyes too blurred on > this subject. Anyway for now I specified it as "libseat user". I don't think this really aids us here – it instead lets us ask who is a "libseat user". Perhaps you want to specify "login managers" like greetd or gdm/sddm/etc. explicitly here? Also, (when) do regular users have to be in the seat group? > > > +  (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. > ok field removed Note ‘eq?’ groups here. In other words, you should be able to take a group (not just a group name) for the group field, sanitize the field so that it will always be a group, and then use that group in seatd- accounts (see the second option mentioned in <79341a82bf9cd5fc6c2227255095f3fe2927dcbe.camel@ist.tugraz.at>). If for instance instead of seat, you wanted the video group, you would have to take the one from %base-groups, rather than creating a new one. Cheers