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 oJSBDSXGiWPNPAAAbAwnHQ (envelope-from ) for ; Fri, 02 Dec 2022 10:32:21 +0100 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 KI8dDSXGiWM44QAAauVa8A (envelope-from ) for ; Fri, 02 Dec 2022 10:32:21 +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 1D6622FFD6 for ; Fri, 2 Dec 2022 10:32:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p12Oq-0003ap-O2; Fri, 02 Dec 2022 04:32:04 -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 1p12Oo-0003aZ-Ty for bug-guix@gnu.org; Fri, 02 Dec 2022 04:32:03 -0500 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 1p12Oo-0005xj-Kc for bug-guix@gnu.org; Fri, 02 Dec 2022 04:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p12Oo-0004c4-DI for bug-guix@gnu.org; Fri, 02 Dec 2022 04:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#59423: Invalid 'location' field generated in dovecot configuration Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 02 Dec 2022 09:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59423 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: Pierre Langlois , 59423@debbugs.gnu.org Received: via spool by 59423-submit@debbugs.gnu.org id=B59423.166997346717723 (code B ref 59423); Fri, 02 Dec 2022 09:32:02 +0000 Received: (at 59423) by debbugs.gnu.org; 2 Dec 2022 09:31:07 +0000 Received: from localhost ([127.0.0.1]:45594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p12Nv-0004bn-Ec for submit@debbugs.gnu.org; Fri, 02 Dec 2022 04:31:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p12Nr-0004bP-5c for 59423@debbugs.gnu.org; Fri, 02 Dec 2022 04:31:05 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p12Nl-0005sp-Oz; Fri, 02 Dec 2022 04:30:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=psS9f0zy+nu47SjOxFqcWpGCCj5ihhPYxwFYUd53slU=; b=Xm00TzsUfqNKi/DFb0h+ nQ5cjTHYBvvKcgwajTre36hB2Yx5937cezDkVP4DREGigLhq0IehqeXGRQpbth5AGnLCaj7KZ1xKK tV7NgEQiH9HuCuoP81EqpCZJhg/+U4CVQoVsm+fnz9/iMKd5QpqblOzNhQrOPCoLNrIT13mjDQ3de cZWVsUVSzzuXJME4VDimUAxG2fekGkFf7GyCmQ2uvVjig8InVw+qfNwuFhOcYR3UQpRDEg9O9OPz5 MWtGZqxkIrs+aGhAaYXwwAJmCsFCO2gPfZ548lh+0A6Myyg1NAeTBaQRtNNcGg0gAJmKIwoMX0g3z Ybkem1WofS4rcA==; Received: from [193.50.110.137] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p12Nl-0004sy-AP; Fri, 02 Dec 2022 04:30:57 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87y1s5wa4p.fsf@gmx.com> <87v8n2iytp.fsf@gmail.com> <875yf293ph.fsf@gmx.com> <87y1ry7o69.fsf@gmx.com> <87cz9a7n4y.fsf@gmx.com> <87fse6fmrq.fsf@gmail.com> <87cz995wwu.fsf@gmx.com> <87o7stw2gz.fsf@gmail.com> <87pmd7ceck.fsf@gnu.org> <87sfi2svb9.fsf@gmail.com> <8735a2ahmi.fsf@gnu.org> <87a64aseqm.fsf@gmail.com> Date: Fri, 02 Dec 2022 10:30:55 +0100 In-Reply-To: <87a64aseqm.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 28 Nov 2022 20:58:57 -0500") Message-ID: <87iliuup80.fsf@gnu.org> 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-TUID: E1kr0SuNl5/P Hi Maxim, Maxim Cournoyer skribis: > Ludovic Court=C3=A8s writes: [...] >>>> That generates two accessors called =E2=80=98namespace-configuration-l= ocation=E2=80=99. >>>> The second one shadows the first one. >>> >>> Yes. You didn't address my question directly though, so let me ask it >>> again: where is this %location field access (named "location") used? > > [...] > >> =E2=80=A6 the field is accessed via its accessor, >> =E2=80=98name-configuration-location=E2=80=99. We can kinda see it here: > > [...] > >> Each record has a =E2=80=98getter=E2=80=99 field t= hat refers to >> the accessor. In the case of =E2=80=98location=E2=80=99, that=E2=80=99s= the =E2=80=9Cwrong=E2=80=9D >> accessor=E2=80=94the accessor of =E2=80=98%location=E2=80=99. >> >> I hope that addresses your question! > > No :-). I meant why do we even set a default accessor for the *source > location* information (in the (gnu service configuration) macros); it's > that one that doesn't seem to get used (or I'm blind to it!), at least > via this accessor. If it's not strictly necessary, we can stop > producing it, and that would solve the problem. Like I wrote, I think it=E2=80=99s necessary, even if not used now. We=E2=80=99ve been knowingly shipping a broken Dovecot for two weeks now. = As I wrote, and as Pierre suggested, can we just revert the =E2=80=98%location= =E2=80=99 field shuffling for now? I can even do it on your behalf. After that we can continue that discussion (though I don=E2=80=99t have muc= h to add to be honest). Thanks in advance! Ludo=E2=80=99.