From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id ABUzK1KVTWQOdAAASxT56A (envelope-from ) for ; Sun, 30 Apr 2023 00:08:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0I01K1KVTWQSbwAA9RJhRA (envelope-from ) for ; Sun, 30 Apr 2023 00:08:18 +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 8BDD83E0D7 for ; Sun, 30 Apr 2023 00:08:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pssjd-0004tK-7U; Sat, 29 Apr 2023 18:08:05 -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 1pssja-0004tC-IT for bug-guix@gnu.org; Sat, 29 Apr 2023 18:08:02 -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 1pssja-0008Sx-8D for bug-guix@gnu.org; Sat, 29 Apr 2023 18:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pssjZ-0008Lz-L4 for bug-guix@gnu.org; Sat, 29 Apr 2023 18:08:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63082: [PATCH 04/17] services: mpd: Obsolete the 'group' field. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 29 Apr 2023 22:08:01 +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: Maxim Cournoyer Cc: 63082@debbugs.gnu.org Received: via spool by 63082-submit@debbugs.gnu.org id=B63082.168280605832078 (code B ref 63082); Sat, 29 Apr 2023 22:08:01 +0000 Received: (at 63082) by debbugs.gnu.org; 29 Apr 2023 22:07:38 +0000 Received: from localhost ([127.0.0.1]:36805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pssjB-0008LK-OF for submit@debbugs.gnu.org; Sat, 29 Apr 2023 18:07:37 -0400 Received: from mail-ej1-f67.google.com ([209.85.218.67]:47580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pssj7-0008L5-Tg for 63082@debbugs.gnu.org; Sat, 29 Apr 2023 18:07:36 -0400 Received: by mail-ej1-f67.google.com with SMTP id a640c23a62f3a-953343581a4so172955366b.3 for <63082@debbugs.gnu.org>; Sat, 29 Apr 2023 15:07:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682806048; x=1685398048; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=+6AwIzHZamAQhXcgHnvaARIbUvzQa0WZzQqo+fR10x4=; b=XIeIYNOHDmEpkpZ+j8MOWuyKTeQR/5etrB+trNm7QTpcAO3P+j/wTyVQ9Bm9/3TU9h zdfWfBruX5k3eR7RYvW+XzRqowTT/3kLVSYo7nG/gIfNLZurAdc97ukpIq/VrmBzN70Z DWkBNFedP7OSgohzLD4ba2tDWMTNt7/uSwNY9WnmlN18iHQbYP97r0aO0tOWt0a3AsMa +iKy3Yzy9a45v6H5jEX6opuk9grIQTlQChW60nc7kTydvbjQjEqj0BhrMRmedA3JO7vk etOl3zbiOLNSEad6ytrxFOFhRIrQQ/sqNjHFmHdRTSjcrH9feLRVoeYrHSHlr32TVzRc AUrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682806048; x=1685398048; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=+6AwIzHZamAQhXcgHnvaARIbUvzQa0WZzQqo+fR10x4=; b=bGlgzd96cWKmwC0gT+9oi/NcWinV7F0M4HY/M4GYU3vRoG8UYTh0NWmfwXHZtXgK8z 6OgCYEGNarkRCESEAmejB6p4c0xCcPS+ZGeG86b9/Lax+HN2oHTsBdwXaYzhsZ1CuS2V WSV1/RxKPWgt9hH5sBQxC2KB1rs6zRaLE6I0b9s7jqI6OSaoLxsSEH6RUdNw9cSUdIWe aFxhNvXxSyUwygpVZF4xrzHWTGGmxTnXRI6EIEPDwDR4D1XnBnJj+C2tKo1o7UY2k62V nXeQbjubgV1zqhwrPv/fm6CZOPNs7fH3nfEL1hlM2oFIlagUzucJS8hU6PPAYKrKnpuX ALLA== X-Gm-Message-State: AC+VfDzk9i6dWw3K25I2doahUsLe9cq2bDrfntzMyvmm138/2Rfftm58 ZZb0iZICEo254q2aaVH9wHk= X-Google-Smtp-Source: ACHHUZ6Hw5o7JzUsprEj3/Kndos0e9jsjde91A1+5VadFfSJaXrq62rbre755c/Ic67zvm7YcF3AOw== X-Received: by 2002:a17:907:6e90:b0:94f:5079:ade2 with SMTP id sh16-20020a1709076e9000b0094f5079ade2mr10988715ejc.62.1682806047905; Sat, 29 Apr 2023 15:07:27 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id e24-20020a17090681d800b0094f54c032e3sm12881736ejx.103.2023.04.29.15.07.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Apr 2023 15:07:27 -0700 (PDT) Message-ID: <652275711a94ce83399f8e79d545fbbe230ee824.camel@gmail.com> From: Liliana Marie Prikler Date: Sun, 30 Apr 2023 00:07:26 +0200 In-Reply-To: <87ilde8v7v.fsf@gmail.com> References: <172f246e91445b431fb289b6cb346d37a8da1c08.camel@gmail.com> <87ilde8v7v.fsf@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682806098; a=rsa-sha256; cv=none; b=KySz694XS48R1n8loK9S3z/vBHMhtqjhGCao05n/bOvbvuzm/dyFMvUEnnfVyZzdMIOqNd ydwGqhPq/CuoxwwF+0QFVGmGG7x77lJGUObjogwOuK9jBTCTiDY2J+pl1gGbXK9jY5911s o0UFPWFXRfep2ToNgyoJy3JhIz/wTw1UInwZwO7YOF3ZoPLVFnRNrb2EHXrRNn2fVoJ2TH edOj/kOj91mnS6N+LjmOGl2mkZb3tYd7bGI7KXMb6Q6hWRHrb2rGeZsSO7f4WThgpNo/Sk y3yP2HRrTYc+U7KmSbUvwMacbR0Q4TtTevf6KZfz/MSRAe321I/7KoML94etTg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=XIeIYNOH; 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=1682806098; 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=+6AwIzHZamAQhXcgHnvaARIbUvzQa0WZzQqo+fR10x4=; b=ePiao326m6cLBGxO+x+3HwisEFBxL2oHMkwKkDkOgJsGPB01wvhDlJJLPYFxg9BpZvG8+I tgxAbqPMkwz1Ha8JeWR2/qEEweeI1b5BVeXOwnHLyyW0V1u/ljILrPe5trGsvxpSNUdYBk l+GOceXTzVBwT0Y5FYW2DTfgVXBICSRfGp/Yz5E0NrkyBMOXygVomg2MOd16jGQqt+zgYt pBrVahjhekM5mAp7PZpZ8chyzcBcG29DsXryN3FApQbocZoiScM+nZ6pq8FoLMSoU1JgPE 8+/XdSt9MXrG0SIBsNxqYe+K0lH3v8RoLn+drKysSAyjxDDaK8hdEJuBRO/tnA== X-Migadu-Spam-Score: -1.70 X-Spam-Score: -1.70 X-Migadu-Queue-Id: 8BDD83E0D7 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=XIeIYNOH; 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-TUID: +5WJI+dY5mYH Am Samstag, dem 29.04.2023 um 13:16 -0400 schrieb Maxim Cournoyer: > 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 system> record. >=20 > That's much easier to reason with, for both humans and the code, in > my opinion. We have the tools to make this meaningful with user-accounts already =E2=80= =93 we've had them for some while in fact. (operating-system ... (users (cons* alice bob mpd %base-user-accounts)) (services (cons* (mpd-service (user (find mpd-user? users))) %base-services)) ...) is a perfectly fine configuration given concrete values for alice, bob, and mpd with mpd-user? matching the MPD user account by name. The point in providing user-accounts in the MPD service is so that the right thing is done w.r.t. account creation regardless of whether the user exists in users or not. In the former case, it is checked that definitions match (using pointer identity), in the latter the user is automatically added. "I will assume that a user by this name exists even if it does not" is a recipe for shooting oneself in the knee. Cheers