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 4AUZOO+9B2TurQAASxT56A (envelope-from ) for ; Tue, 07 Mar 2023 23:42:56 +0100 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 cDYTN++9B2S3PQAAG6o9tA (envelope-from ) for ; Tue, 07 Mar 2023 23:42:55 +0100 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 B4CD22C863 for ; Tue, 7 Mar 2023 23:42:55 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="LYNrTt/n"; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678228975; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=4RcMlvAvumhauThdTWTVr5hhhQW18ei3AwQogN36MBQ=; b=d351thuBaPbFqlO3QMYKqQAQm36m+sZ3Cm2LgoymQc+edzCeKJ8LXpafZ8XABOg3MkYoRY 1IoVZORbMeJJSRnJmBpKmnouKTF+vRh/fTZKoq3VR8m3aA8i7oqD1SPqQjhi+EzVf0ZHom KsJmHbkbEiZR3yJJkqb2wV1kH62HAVdR+e3CzkinqGvCefXDhqaRkm9XIEr+VFLFpwZk2A MhqFjGegY0UAQDrft2oVMSwRVzIy1o9yQxzQAPtaTLbgD3L3DprWLbTAdtFNtLxpbBfsOG GloS8HUkHMo5abAcBUeWo745oWql695GwIT3MiVFIcVIChAmGTOhh8mgHGbWNw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678228975; a=rsa-sha256; cv=none; b=kd+dSVFApLstZFLQHDuUrHmIXuVqWaxwHUY6tAfS5IAb5uD2caM1+SXi6qg8E5MJ4lZBN4 6IefuL/wjhfALAFSMGun14N0AmVBUs/THL5zLIZj6MOpeW/X99K90QtVGVf4LQuHlUZip3 1+xV+5jkgKlWJ0NWzzlLOqPk9IP8XVSj2JvV2msUOoa+q1AcbKlLoc+IXUtFZH+9Gynf3L XNmxjBGSEBesYxjc2H3Kk2gsFvpEVAnAhXGPs5tOkrTnYbGxL/iEKW/JaMPO+c39jzZOig GrGCfOF4GiGCWk31HUIcVHt3dS1O0/6dnzUewPKC1+spDkbplVPsxXowNnf0gw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="LYNrTt/n"; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZfGl-0002Ni-WB; Tue, 07 Mar 2023 16:54:52 -0500 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 1pZfGj-0002NP-Ks for guix-devel@gnu.org; Tue, 07 Mar 2023 16:54:49 -0500 Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZfGi-0005py-2u for guix-devel@gnu.org; Tue, 07 Mar 2023 16:54:49 -0500 Received: by mail-qt1-x82e.google.com with SMTP id r16so14524932qtx.9 for ; Tue, 07 Mar 2023 13:54:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678226085; h=content-transfer-encoding:mime-version:message-id:user-agent :references:date:in-reply-to:subject:cc:cc:to:from:from:to:cc :subject:date:message-id:reply-to; bh=4RcMlvAvumhauThdTWTVr5hhhQW18ei3AwQogN36MBQ=; b=LYNrTt/nEa7ro9PL0mWEjpBH9tqsC0NZ+TwAC/NYb8uPv0NRQ1ghMMNxUBDwLifQVC e9IfvqQ2BOQY8nVXjqIX9blYgRCDWCJ1iArNMigJx7xGO67BSlEp7merlvqSohvo8f4N BTvO55Wz0vfmO0/+LiUAqW6p/qmoM9cLcFMURmdRRKypVMa5zEw/ksBoFG5QCSfyx7NY KGNZvwZq/eq5ujGP25EzVh08S5cnqae7CpjtrkW1QuqY+inurvfoZ70hcWwHJYViDXfi 83tDWpMeQrxi9+j5LLIHgxp45JdC4YHaN4Ps1i0KH5OgWaiYYshSwLNql1zDyjLo7dFN 9wRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678226085; h=content-transfer-encoding:mime-version:message-id:user-agent :references:date:in-reply-to:subject:cc:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4RcMlvAvumhauThdTWTVr5hhhQW18ei3AwQogN36MBQ=; b=Y+h6WDow8xJDBQ4MYr7p2F7cYloLToO+ldSpK1D+FbObAkuLhdEcz7Jxgg7+4AMv7G WfLqfyUdq+NRhe5fyAWMAwwyXCV9emOgr3CP2tfFPKcGJRO00j+FZ3BZm/U+7fivhqGl IZ41h7FBZ4hLDmvNcOqnZa/zWY46BcNCmb+J4oBzuSBHxN3LgTCisKzb6na+80C1Vstp 0ZDV/m+KZQzhTx/Xn95n0MdQ+zH6xT3F4qtz3SE/mq36VDjuX7eFo2kqB3cWWsOdCvJ+ H04AZ6xWXzJO4qXYLiOlpt/5FKdEAokAHfE+84a6WG/HUTS9LtwrLII2WspdsxrbAD31 HNmA== X-Gm-Message-State: AO0yUKUWiwnBogtZv9TY0Q17+SiR+NYL4eBZD7fiIQ2AGl4nL5tFiK1c WtRupfGrp9Hqs4v5vCyrky04vxZMz3oxK0mE X-Google-Smtp-Source: AK7set+fb8HoCkY6ofv/rQdVW2N86lkCk1gRGPuquudMiNBjfK5E3245YoNNR9DaxAnQUnA/fJ0cOA== X-Received: by 2002:ac8:5c4a:0:b0:3c0:3d68:5415 with SMTP id j10-20020ac85c4a000000b003c03d685415mr4836432qtj.34.1678226085753; Tue, 07 Mar 2023 13:54:45 -0800 (PST) Received: from hurd ([2607:fad8:4:3::1000]) by smtp.gmail.com with ESMTPSA id q17-20020ac84111000000b003bfa52112f9sm10428122qtl.4.2023.03.07.13.54.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 13:54:45 -0800 (PST) From: Maxim Cournoyer To: Liliana Marie Prikler Cc: Bruno Victal , Jonathan Brielmaier Cc: guix-devel Subject: Unique user and group names validation (was: Re: Backward incompatible changes in mpd-service-type) In-Reply-To: (Liliana Marie Prikler's message of "Tue, 07 Mar 2023 06:31:43 +0100") Date: Tue, 07 Mar 2023 12:03:55 -0500 References: <87y1owsbab.fsf@gmail.com> <8c7394ba-b8fa-eac5-7d3e-3d8160b71894@makinata.eu> <959a4528abf2fec979e3816ff8d175f65d13d1ab.camel@gmail.com> <87bkl5z7lt.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Received: from hurd ([2607:fad8:4:3::1000]) by smtp.gmail.com with ESMTPSA id b1-20020ac84f01000000b003bb8c60cdf1sm9906276qte.78.2023.03.07.09.03.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 09:03:56 -0800 (PST) Message-ID: <87sfegut0l.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::82e; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82e.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: X-Spam: Yes X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam: Yes X-Migadu-Queue-Id: B4CD22C863 X-Spam-Score: 9.70 X-Migadu-Spam-Score: 9.70 List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: PxbJcMkbcFHF +CC guix-devel, Jonathan Hi Liliana, Liliana Marie Prikler writes: > Am Montag, dem 06.03.2023 um 20:13 -0500 schrieb Maxim Cournoyer: >> > Am Freitag, dem 17.02.2023 um 07:53 -0500 schrieb Maxim Cournoyer: >> > > Else an error rather than a warning when multiple same-name users >> > > are defined would be more appropriate, I think. >> > Guess what, it used to be a formatted message (i.e. an actual >> > error). However, that broke some configs as reported in [1], so I >> > demoted it to a warning. >>=20 >> Interesting.=C2=A0 I didn't know we were usefully (?) abusing duplicate >> users and group. > As far as I'm aware, we aren't. Even if such uses exist, they raise > said warning and probably cause more issues down the line, like with > your bug report. > >> Perhaps we should try to isolate the most common offenders >> (services?), fix them up, and then re-introduce the check, perhaps >> gradually (e.g. "in 6 months time, duplicated users or groups will >> become a configuration error"). > The only instance known to me (cups creating a duplicate lp group) was > fixed back in 2021. I'm starting a new discussion about it on guix-devel with the hope we can better our understanding of which configurations would be broken if 8488f45b6e05d646224cc2b410497ddf9864c612 was re-instated, which seems like a good idea to me? --=20 Thanks, Maxim