From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CHYWJWduTWQ66QAASxT56A (envelope-from ) for ; Sat, 29 Apr 2023 21:22:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2IIwJGduTWTpNQEAG6o9tA (envelope-from ) for ; Sat, 29 Apr 2023 21:22:15 +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 678F1190A2 for ; Sat, 29 Apr 2023 21:22:15 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1psoC3-0008NZ-BK; Sat, 29 Apr 2023 13:17:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1psoBz-0008NF-AH for bug-guix@gnu.org; Sat, 29 Apr 2023 13:17:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1psoBy-0002Zj-OA for bug-guix@gnu.org; Sat, 29 Apr 2023 13:17:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1psoBy-0008Lg-7T for bug-guix@gnu.org; Sat, 29 Apr 2023 13:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63082: [PATCH 04/17] services: mpd: Obsolete the 'group' field. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 29 Apr 2023 17:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63082 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Liliana Marie Prikler Cc: 63082@debbugs.gnu.org Received: via spool by 63082-submit@debbugs.gnu.org id=B63082.168278860532062 (code B ref 63082); Sat, 29 Apr 2023 17:17:02 +0000 Received: (at 63082) by debbugs.gnu.org; 29 Apr 2023 17:16:45 +0000 Received: from localhost ([127.0.0.1]:36529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psoBh-0008L4-23 for submit@debbugs.gnu.org; Sat, 29 Apr 2023 13:16:45 -0400 Received: from mail-qt1-f170.google.com ([209.85.160.170]:49580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psoBf-0008Kr-JL for 63082@debbugs.gnu.org; Sat, 29 Apr 2023 13:16:43 -0400 Received: by mail-qt1-f170.google.com with SMTP id d75a77b69052e-3f0b299d739so5014191cf.3 for <63082@debbugs.gnu.org>; Sat, 29 Apr 2023 10:16:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682788598; x=1685380598; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=Ovf1KRdWvhLa9KzD+7M4C4ULEnrJOjRmJZqKwT4aW4w=; b=fPKTgj23N4nz9qJTGJsTBXeslC3biE/SMDcdZuiGp8/A7P1AAIck/7rkmrknd0662s HY809uN6mJsgDWEp55ikyfv6qVb6lEk/Q3JWobNDxVQbGEyeSiHNiGA3l4/SooqdXu3J Bf5nCqzmCUpptEzVq23nOJTmIbMCEv72OqX/ZC0ttBO5GRrmIWWEE59jK116JT4gxhRf J+qzOH1HMvc5GjKnRqvxLnE4CkY58XF7bvfy1Ivl0+Faiv70tdcEDPeYcWf6INoWN8le el8OrrWWpbpBIK8jyb/7lB1omrd2lFH1HiF6il/uzDtWjRSChrR1tLvLx+IQdl7DzQXg wr2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682788598; x=1685380598; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Ovf1KRdWvhLa9KzD+7M4C4ULEnrJOjRmJZqKwT4aW4w=; b=fSx1LE3emEb5IODO/cHXh2fPe11ahj1fGCVz2HXZk7rAb5eyt8WcjCyUHeGnMzB37y WPxaPN23NxEp7+wZ8UuJmyaZEZq5RB8ZTzhpg/tBeZ8bj7imV9UbgFlnpmU0DqBCjD1F w8ddXtRm1g7e31CtcMJYE4rqkw3HuyQKCZILqkafuwrvR0/G5vLJ9iwUlxiCimrb49gW 6BRap+0qw8iJHQOiCMYN1oV/e7jeb25sWrs7nf4/z5ZRPio+hYoy3daLyaDEQH+x6Vey Qi64kgNIK1PDhygBOlZ2PhKzKpKgabeK7Qw/Kgzh2vk1cuzKHCR7oTyW/ALkMWKw7MdM hPkg== X-Gm-Message-State: AC+VfDwW4qlawdo7L6c5N4DT99YG85OQBeKJi6zyMDhyGcVx7m7BZeE5 Rhxxt4fywsUurSoYUMgJPevUhWRCwq0= X-Google-Smtp-Source: ACHHUZ4vUuvwBFSP34xXjQX0yfxEp0FBqz60wLDVy50F1yszDjSZBzXn0ygKUT/aY5kDnp2ca8meUA== X-Received: by 2002:a05:622a:1741:b0:3ef:3854:7cbf with SMTP id l1-20020a05622a174100b003ef38547cbfmr14738264qtk.42.1682788597911; Sat, 29 Apr 2023 10:16:37 -0700 (PDT) Received: from hurd (dsl-155-245.b2b2c.ca. [66.158.155.245]) by smtp.gmail.com with ESMTPSA id br13-20020a05620a460d00b0074e0abe59a0sm7587133qkb.78.2023.04.29.10.16.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Apr 2023 10:16:37 -0700 (PDT) From: Maxim Cournoyer References: <172f246e91445b431fb289b6cb346d37a8da1c08.camel@gmail.com> Date: Sat, 29 Apr 2023 13:16:36 -0400 In-Reply-To: (Liliana Marie Prikler's message of "Sat, 29 Apr 2023 08:35:06 +0200") Message-ID: <87ilde8v7v.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682796135; a=rsa-sha256; cv=none; b=q7Pg6FYOC11mdRnKva68/B0Daqq5mxIQwDcU/04i4ibnTMJGJ79jg3k1FB6mq7YqL5lGRk PRaAwMQJ2ub6GiyiUGWbSrN90jcRyvTl5YlqHVqUC7sF4E9IB0XFB4hDwWWdw6uo2AvrFT Hfa4M2X/YSTGvnAt/gZg3kuby1eJdJTgC2krX0zEYCE4vTTYSKHM8NPuSMmltMhsW/YoTb vF6X3fFhbRLMpDxoQPTI3sBN8WVIj4vR4wyDuPrKgoVepp0Nt65Tgms/h6VpL7fedEJS42 auZJ+9+0L291ouKIipyMW4IvM+T3y71ALeexA/EgCJfXvgR0/iY5kpqZ2ys33g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=fPKTgj23; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682796135; 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=Ovf1KRdWvhLa9KzD+7M4C4ULEnrJOjRmJZqKwT4aW4w=; b=CyD6Jz7pE9mONgORJDHolM9btOH2Ixe8mmBCNosBmGwv/ZvJ4bxqjYcjg5xpRHSSWbO8k9 +4uMJ/WIm5M24DP4DuS7oiUshtGl4QCd7MxjX4ay1X5vleBvBCfLmc+OqZUoj0XTRxS6WZ eRDzo5remfj1/UdFncP/5M5E/SKClE/DZAnJmkg+ew84j4pjyteuISBssl6hJ8KEMpucka 2pRdBsnxe9lyGMbdXDTzWcXJqZzBJtGtAhVna4uD92t+JebxrOB68Fh1bzU171SzDTHmDI 2Fd6+1T8JRmA2Nw4i2osI/n51azKahRt3pbQViszsnYfglIwyfMVERUzNZ2mkQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=fPKTgj23; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.30 X-Spam-Score: 7.30 X-Migadu-Queue-Id: 678F1190A2 X-TUID: /Q3YVa94ocHU Hi Liliana, Liliana Marie Prikler writes: > Am Samstag, dem 29.04.2023 um 08:26 +0200 schrieb Liliana Marie > Prikler: >> IIRC using supplementary groups does not suffice, because the >> service won't work then; do I actually recall that correctly?=C2=A0=20 > Reading the rest of the series it turns out that worry was unwarranted. > Supplementary groups do work as they should. Perhaps the simplest, more natural way to fix this would be to do the following: 1. Revert to use simple strings for the user/group, with their types to maybe-string. 2. When the fields are specified, it's assumed that their corresponding user/group already exist, as done for other services. When unspecified, then the service takes care to extend the user-accounts service with the mpd user/group. This means we do not have to expose user-accounts at the , which is not the right place for that anyway; it's already exposed via the users/groups fields of the record. That's much easier to reason with, for both humans and the code, in my opinion. --=20 Thanks, Maxim