From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 12:46:24 2022 Received: (at submit) by debbugs.gnu.org; 12 Dec 2022 17:46:24 +0000 Received: from localhost ([127.0.0.1]:54358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4msh-0001ZI-UK for submit@debbugs.gnu.org; Mon, 12 Dec 2022 12:46:24 -0500 Received: from lists.gnu.org ([209.51.188.17]:40022) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4msf-0001ZB-30 for submit@debbugs.gnu.org; Mon, 12 Dec 2022 12:46:22 -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 1p4mse-000887-RB for guix-patches@gnu.org; Mon, 12 Dec 2022 12:46:20 -0500 Received: from smtpmciv5.myservices.hosting ([185.26.107.241]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4msc-0001X0-BC for guix-patches@gnu.org; Mon, 12 Dec 2022 12:46:19 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.172]) by smtpmciv5.myservices.hosting (Postfix) with ESMTP id 605C820491 for ; Mon, 12 Dec 2022 18:46:05 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 1349280096; Mon, 12 Dec 2022 18:46:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-1.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id tLSuHF4fyJbW; Mon, 12 Dec 2022 18:46:04 +0100 (CET) Received: from guix-nuc.home.arpa (bl12-93-156.dsl.telepac.pt [85.245.93.156]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 6D53580093; Mon, 12 Dec 2022 18:46:04 +0100 (CET) From: mirai@makinata.eu To: guix-patches@gnu.org Subject: [PATCH] activation: make install-special-file match against pairs as well. Date: Mon, 12 Dec 2022 17:45:47 +0000 Message-Id: <43e937e1625b47a80887e68847fb8a8811d3f39f.1670867103.git.mirai@makinata.eu> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.107.241; envelope-from=mirai@makinata.eu; helo=smtpmciv5.myservices.hosting X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Bruno Victal X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) From: Bruno Victal special-files is a list of 2-tuples (pairs) but matching against a non-list pair would fail as match-lambda was only matching against a list pattern. --- gnu/build/activation.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/build/activation.scm b/gnu/build/activation.scm index 10c9045740..d4a7559651 100644 --- a/gnu/build/activation.scm +++ b/gnu/build/activation.scm @@ -341,7 +341,7 @@ (define (activate-special-files special-files) " (define install-special-file (match-lambda - ((target file) + ((or (target file) (? pair? (= car target) (= cdr file))) (let ((pivot (string-append target ".new"))) (mkdir-p (dirname target)) (symlink file pivot) base-commit: 5fb5af5658b7575a945579a7cf51c193600b76bb -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 15:34:10 2022 Received: (at 60014) by debbugs.gnu.org; 12 Dec 2022 20:34:10 +0000 Received: from localhost ([127.0.0.1]:55214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4pV3-0003dw-Kp for submit@debbugs.gnu.org; Mon, 12 Dec 2022 15:34:09 -0500 Received: from jpoiret.xyz ([206.189.101.64]:58714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4pV1-0003dq-U4 for 60014@debbugs.gnu.org; Mon, 12 Dec 2022 15:34:08 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id B8C9B1851DF; Mon, 12 Dec 2022 20:34:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1670877243; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=AUZX8qb1UKu2V1qyU9Sl4ZztHdwPVhB6v5PpZ1dkXkU=; b=Pyysp+NfHpstkVODU7QR/8tuHKEdmw3apg1pfUn4K3ER+G1ddmiu3nAFj2mDCj+MMFS9Vz dCKddLxMf6BF5Qc5yyI1PrkrgOKe0UMY1R2lXoB+drRF1IMHWiWERUC1NOCZavfMe87Fjb ePKh/3Sf/TzIHENmg8GZq89n5lwhkraaHUrvHq1jaX/jNjJIv4tBjRjoqwqv/f1eXp9xr1 +mxypkbVAPoZCQRUIjO2/c1OC3L2jhXXSdFdXUrLNGQdG5vSCCFdg+0dTqnv4RcUALdj88 ovLGD3iYqYKj+zUfoQuQGdL9dY8xzsP2YN9oY+lRmDliYVPWzvkvX18QPHkD5g== From: Josselin Poiret To: mirai@makinata.eu, 60014@debbugs.gnu.org Subject: Re: [bug#60014] [PATCH] activation: make install-special-file match against pairs as well. In-Reply-To: <43e937e1625b47a80887e68847fb8a8811d3f39f.1670867103.git.mirai@makinata.eu> References: <43e937e1625b47a80887e68847fb8a8811d3f39f.1670867103.git.mirai@makinata.eu> Date: Mon, 12 Dec 2022 21:34:02 +0100 Message-ID: <87k02wfjk5.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spamd-Bar: / X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Bruno, Is this patch related to some specific problem you're running into? I personally would prefer keeping the special file interface as-is, and not mix two different kinds of entries: lists with 2 element [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 60014 Cc: Bruno Victal X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Bruno, Is this patch related to some specific problem you're running into? I personally would prefer keeping the special file interface as-is, and not mix two different kinds of entries: lists with 2 element [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Hi Bruno, Is this patch related to some specific problem you're running into? I personally would prefer keeping the special file interface as-is, and not mix two different kinds of entries: lists with 2 elements, and pairs. That would avoid having to manage even more edge-cases down the line if some more processing is needed. Otherwise, you're missing the ChangeLog entry format for the commit message, which you can find described at [1]. You can take some inspiration from other commits in the repository. Best, -- Josselin Poiret From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 16:00:50 2022 Received: (at 60014) by debbugs.gnu.org; 12 Dec 2022 21:00:50 +0000 Received: from localhost ([127.0.0.1]:55339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4pur-0003yX-Ok for submit@debbugs.gnu.org; Mon, 12 Dec 2022 16:00:50 -0500 Received: from tobias.gr ([80.241.217.52]:57930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4puo-0003yR-Aa for 60014@debbugs.gnu.org; Mon, 12 Dec 2022 16:00:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=8n+g4AhQMdsHZ kuTBupMoJhfuloKTqJyWSy3HFv734g=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=TY6xZsmXUUWKObkj5+MXnJZ6Nx4cx3yL5han5g CXmh1YZyOKrn4mxeKQSRlxcxt2m8dUKPihHEIw7/jxpaJ00r4iCmhTUkDgU44gz/s/xx7L E8drKgiwA9A2mGwd1Q/I6BRVZ4BK6MdDOMHngTDHnTJnxSsunNRqleQunuRlJLIAcr777D cn3PRUoa3qQPgiGiGgZa8A4/pvTPqg3vg7zPb6cFURyVI87geyEdB+ikisjKW8PUC9g4/N 2NqVcXFKN6wWk+Fx9/Ge4vnEx+xkPvZ0sbyn2MWcDttQj6ESDlazYlKyh58aF9W5U63x0e ImnLLo7LkZGg9l4au6sAKedQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 76c7d4de (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 12 Dec 2022 21:00:37 +0000 (UTC) References: <43e937e1625b47a80887e68847fb8a8811d3f39f.1670867103.git.mirai@makinata.eu> <87k02wfjk5.fsf@jpoiret.xyz> From: Tobias Geerinckx-Rice To: Josselin Poiret Subject: Re: [bug#60014] [PATCH] activation: make install-special-file match against pairs as well. Date: Mon, 12 Dec 2022 21:52:46 +0100 In-reply-to: <87k02wfjk5.fsf@jpoiret.xyz> BIMI-Selector: v=BIMI1; s=default; Message-ID: <87v8mgcp45.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 60014 Cc: 60014@debbugs.gnu.org, Bruno Victal , guix-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Josselin Poiret via Guix-patches via =E5=86=99=E9=81=93=EF=BC=9A > I personally would prefer keeping the special file interface=20 > as-is, and > not mix two different kinds of entries: lists with 2 elements,=20 > and > pairs. That would avoid having to manage even more edge-cases=20 > down the > line if some more processing is needed. I agree with this reasoning, and would go as far as to say that if=20 this fixes anything, that thing should probably be fixed instead=E2=80=A6? =E2=80=98Takes a list of As, but as a special case, a single A=E2=80=99 is= =20 confusing and makes it that much harder for newcomers to move=20 beyond cargo-culting magical snippets. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCY5eW2g0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15m4YA/0cLEmsPszjIfH/blAGdD/CmL1BCexW72y1CVFdP eMq5AQDR/cPdCRqZTHImc1GSwi/WsY1Poc8035zOCG6NSc/JDw== =jSFi -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 17:09:55 2022 Received: (at 60014) by debbugs.gnu.org; 12 Dec 2022 22:09:55 +0000 Received: from localhost ([127.0.0.1]:55699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4qzj-0004ma-At for submit@debbugs.gnu.org; Mon, 12 Dec 2022 17:09:55 -0500 Received: from smtpmciv2.myservices.hosting ([185.26.107.238]:43330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4qzh-0004mU-Ak for 60014@debbugs.gnu.org; Mon, 12 Dec 2022 17:09:53 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.172]) by smtpmciv2.myservices.hosting (Postfix) with ESMTP id 075A920BFB; Mon, 12 Dec 2022 23:09:50 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id B3CC380097; Mon, 12 Dec 2022 23:09:50 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-1.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id g1Yocgsfr4KQ; Mon, 12 Dec 2022 23:09:50 +0100 (CET) Received: from [192.168.1.239] (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 47D5380096; Mon, 12 Dec 2022 23:09:50 +0100 (CET) Message-ID: <7f00edbf-8b39-0d3e-4d29-0815176d143c@makinata.eu> Date: Mon, 12 Dec 2022 22:09:49 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [bug#60014] [PATCH] activation: make install-special-file match against pairs as well. Content-Language: en-US To: Josselin Poiret , 60014@debbugs.gnu.org References: <43e937e1625b47a80887e68847fb8a8811d3f39f.1670867103.git.mirai@makinata.eu> <87k02wfjk5.fsf@jpoiret.xyz> From: mirai In-Reply-To: <87k02wfjk5.fsf@jpoiret.xyz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 60014 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2022-12-12 20:34, Josselin Poiret wrote: > Hi Bruno, > > Is this patch related to some specific problem you're running into? I > personally would prefer keeping the special file interface as-is, and > not mix two different kinds of entries: lists with 2 elements, and > pairs. That would avoid having to manage even more edge-cases down the > line if some more processing is needed. I'm writing a service definition that uses a special-files-service-type service-extension. The documentation for it says: --8<---------------cut here---------------start------------->8--- The value associated with special-files-service-type services must be a list of tuples where the first element is the “special file” and the second element is its target. --8<---------------cut here---------------end--------------->8--- I assume a pair is a reasonable interpretation of 'tuples' in this context, so I proceeded to serialize the fields with: --8<---------------cut here---------------start------------->8--- (cons "filename here" (mixed-text-file "filename" contents ...)) --8<---------------cut here---------------end--------------->8--- Which I think is the natural way of doing it. (and communicates the intent, a pair with a path and a file-like object.) Of course, (list "path" file-like-obj) works as well but imo the pair is clearer in purpose. (what meaning would the third element and so on have, if ever present?) This I found out the hard way by getting strange errors until I looked into what happens behind `special-files-service-type' and realizing that only lists were accepted. The mixing of cases is unfortunate (it should have been pairs from the start) but preserves compatibility with existing syntax. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 17:25:16 2022 Received: (at submit) by debbugs.gnu.org; 12 Dec 2022 22:25:16 +0000 Received: from localhost ([127.0.0.1]:55800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4rEZ-00050X-On for submit@debbugs.gnu.org; Mon, 12 Dec 2022 17:25:16 -0500 Received: from lists.gnu.org ([209.51.188.17]:50222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4rEY-00050R-9V for submit@debbugs.gnu.org; Mon, 12 Dec 2022 17:25:14 -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 1p4rEY-0006Ad-2x for guix-patches@gnu.org; Mon, 12 Dec 2022 17:25:14 -0500 Received: from smtpmciv5.myservices.hosting ([185.26.107.241]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4rEW-0001fV-H5 for guix-patches@gnu.org; Mon, 12 Dec 2022 17:25:13 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.172]) by smtpmciv5.myservices.hosting (Postfix) with ESMTP id DD2922076C; Mon, 12 Dec 2022 23:25:06 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 8ACDE80097; Mon, 12 Dec 2022 23:25:06 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-1.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id hQwEoMRXwOUY; Mon, 12 Dec 2022 23:25:06 +0100 (CET) Received: from [192.168.1.239] (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 0FB7280093; Mon, 12 Dec 2022 23:25:05 +0100 (CET) Message-ID: Date: Mon, 12 Dec 2022 22:25:05 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [bug#60014] [PATCH] activation: make install-special-file match against pairs as well. Content-Language: en-US To: Tobias Geerinckx-Rice , Josselin Poiret References: <43e937e1625b47a80887e68847fb8a8811d3f39f.1670867103.git.mirai@makinata.eu> <87k02wfjk5.fsf@jpoiret.xyz> <87v8mgcp45.fsf@nckx> From: mirai In-Reply-To: <87v8mgcp45.fsf@nckx> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.107.241; envelope-from=mirai@makinata.eu; helo=smtpmciv5.myservices.hosting X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: 60014@debbugs.gnu.org, guix-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) On 2022-12-12 20:52, Tobias Geerinckx-Rice wrote: > Josselin Poiret via Guix-patches via 写道: >> I personally would prefer keeping the special file interface as-is, and >> not mix two different kinds of entries: lists with 2 elements, and >> pairs.  That would avoid having to manage even more edge-cases down the >> line if some more processing is needed. > > I agree with this reasoning, and would go as far as to say that if this fixes anything, that thing should probably be fixed instead…? > > ‘Takes a list of As, but as a special case, a single A’ is confusing and makes it that much harder for newcomers to move beyond cargo-culting magical snippets. That's not what's happening here, right now what guix does is: take a list of tuples, where tuples are 2-element lists of path + file-like. This patch does: take a list of tuples, where tuples are pairs of path + file-like (and as a bonus, preserve existing configurations by allowing the pairs to be lists as well). From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 05:15:40 2022 Received: (at 60014) by debbugs.gnu.org; 13 Dec 2022 10:15:40 +0000 Received: from localhost ([127.0.0.1]:59449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p52K4-0002ol-53 for submit@debbugs.gnu.org; Tue, 13 Dec 2022 05:15:40 -0500 Received: from jpoiret.xyz ([206.189.101.64]:46732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p52K2-0002od-9I for 60014@debbugs.gnu.org; Tue, 13 Dec 2022 05:15:38 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 34A4B185315; Tue, 13 Dec 2022 10:15:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1670926535; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QVQkQ1A5Q/lfiM6e7sn/W/kL2AcM9hKiqwV9d6R14vc=; b=wfrRPpWdKkxCtl/ZCOcoKA9RFZZsWtNrRcFYv10Ve2GFBxu1eiQ0NR2gP7GMjzTTyfaRTc Cio6R10p6OQSk8pwHr5ZpGy3Di7dMmR0+4ONaHyBIjb9qCyD0tpvWS3ZkXEDb7AXiS+ldl 2LNA1zobhjp7/aUMVeaZ5ro7OAa2VXdf/msqBo3kKryMYdVFk0hpvzEpmPXlvj2Mb8JzD8 CsuwVZRYjqIcLOtQV6e3FGZ5PNDxOLKK1ZGgtqa5ZmlHovznl3rPACUq3vyIGRcUera9lt 6x7fvcBUmCSytBIfXfsyTQlHS7nwD6MwoC6g4rBUJAHpHr0Ax0d45f9Uu9Scsw== From: Josselin Poiret To: mirai , 60014@debbugs.gnu.org Subject: Re: [bug#60014] [PATCH] activation: make install-special-file match against pairs as well. In-Reply-To: <7f00edbf-8b39-0d3e-4d29-0815176d143c@makinata.eu> References: <43e937e1625b47a80887e68847fb8a8811d3f39f.1670867103.git.mirai@makinata.eu> <87k02wfjk5.fsf@jpoiret.xyz> <7f00edbf-8b39-0d3e-4d29-0815176d143c@makinata.eu> Date: Tue, 13 Dec 2022 11:15:34 +0100 Message-ID: <87h6xzfw3d.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spamd-Bar: / X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Bruno, mirai writes: > The documentation for it says: > --88--- > The value associated with special-files-service-type services must be a list of tuples where the [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 60014 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Bruno, mirai writes: > The documentation for it says: > --88--- > The value associated with special-files-service-type services must be a list of tuples where the [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Hi Bruno, mirai writes: > The documentation for it says: > --8<---------------cut here---------------start------------->8--- > The value associated with special-files-service-type services must be a l= ist of tuples where the first element is the =E2=80=9Cspecial file=E2=80=9D= and the second element is its target.=20 > --8<---------------cut here---------------end--------------->8--- > > Which I think is the natural way of doing it. (and communicates the inten= t, a pair with a path and a file-like object.) Right, that's unfortunate, although that could be changed to =E2=80=9Clist = of lists=E2=80=9D to make it clearer. > Of course, (list "path" file-like-obj) works as well but imo the pair is = clearer in purpose. > (what meaning would the third element and so on have, if ever present?) > This I found out the hard way by getting strange errors until I looked in= to what happens behind > `special-files-service-type' and realizing that only lists were accepted. > > The mixing of cases is unfortunate (it should have been pairs from the st= art) but preserves > compatibility with existing syntax.=20 I agree with you here, but then I think to avoid having to maintain both cases at the same time, all existing uses of special-files-service-type should also be modified, and only one kind should remain, with the other triggering some deprecation warning. You could match to `(path . file-like)`, and if (list? file-like), throw an exception. As a sidenote, the main problem is that Guile is not a statically typed language, but that's a whole other debate to have. In any case, I don't think this patch will be accepted as-is. I would only be partially in favor of the second solution (because it breaks existing code), while the first solution is low-effort and should work well enough. Up to you (and maintainers) to decide. Best, --=20 Josselin Poiret From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 08:04:16 2022 Received: (at 60014) by debbugs.gnu.org; 13 Dec 2022 13:04:16 +0000 Received: from localhost ([127.0.0.1]:60236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p54xE-00012s-4V for submit@debbugs.gnu.org; Tue, 13 Dec 2022 08:04:16 -0500 Received: from smtpmciv2.myservices.hosting ([185.26.107.238]:40852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p54xC-00012k-5F for 60014@debbugs.gnu.org; Tue, 13 Dec 2022 08:04:14 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.172]) by smtpmciv2.myservices.hosting (Postfix) with ESMTP id EF9BB20CD8; Tue, 13 Dec 2022 14:04:11 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id B03DF80093; Tue, 13 Dec 2022 14:04:11 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-1.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id mi8KAHw0Oh12; Tue, 13 Dec 2022 14:04:08 +0100 (CET) Received: from [192.168.1.239] (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 01E6480097; Tue, 13 Dec 2022 14:04:07 +0100 (CET) Message-ID: <4e874c04-8cad-6d72-379b-967721b82713@makinata.eu> Date: Tue, 13 Dec 2022 13:04:07 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [bug#60014] [PATCH] activation: make install-special-file match against pairs as well. Content-Language: en-US To: Josselin Poiret , 60014@debbugs.gnu.org References: <43e937e1625b47a80887e68847fb8a8811d3f39f.1670867103.git.mirai@makinata.eu> <87k02wfjk5.fsf@jpoiret.xyz> <7f00edbf-8b39-0d3e-4d29-0815176d143c@makinata.eu> <87h6xzfw3d.fsf@jpoiret.xyz> From: mirai In-Reply-To: <87h6xzfw3d.fsf@jpoiret.xyz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 60014 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2022-12-13 10:15, Josselin Poiret wrote: > Hi Bruno, > > mirai writes: > >> The documentation for it says: >> --8<---------------cut here---------------start------------->8--- >> The value associated with special-files-service-type services must be a list of tuples where the first element is the “special file” and the second element is its target. >> --8<---------------cut here---------------end--------------->8--- >> >> Which I think is the natural way of doing it. (and communicates the intent, a pair with a path and a file-like object.) > > Right, that's unfortunate, although that could be changed to “list of > lists” to make it clearer. > >> Of course, (list "path" file-like-obj) works as well but imo the pair is clearer in purpose. >> (what meaning would the third element and so on have, if ever present?) >> This I found out the hard way by getting strange errors until I looked into what happens behind >> `special-files-service-type' and realizing that only lists were accepted. >> >> The mixing of cases is unfortunate (it should have been pairs from the start) but preserves >> compatibility with existing syntax. > > I agree with you here, but then I think to avoid having to maintain both > cases at the same time, all existing uses of special-files-service-type > should also be modified, and only one kind should remain, with the other > triggering some deprecation warning. You could match to `(path > . file-like)`, and if (list? file-like), throw an exception. The `(= car target) (= cdr file)' match pattern is lifted from https://git.savannah.gnu.org/cgit/guile.git/tree/module/ice-9/match.upstream.scm?id=b54263dc98b2700fa777745405ad7651601bcdc6#n139 as Guile's Pattern Matching page doesn't specify how to match against pairs when I was looking into it. > As a sidenote, the main problem is that Guile is not a statically typed > language, but that's a whole other debate to have. > > In any case, I don't think this patch will be accepted as-is. I would > only be partially in favor of the second solution (because it breaks > existing code), while the first solution is low-effort and should work > well enough. Up to you (and maintainers) to decide. A breaking change here (or a non-breaking "deprecated" warning similar to how bootloader target field was renamed to targets can be done too, but before any further changes its best to discuss if such a change will be received. On 2022-12-12 20:34, Josselin Poiret wrote: > Otherwise, you're missing the ChangeLog entry format for the commit > message, which you can find described at [1]. You can take some > inspiration from other commits in the repository. I'm missing the link at [1], could you resend it? Cheers, Bruno From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 14:56:32 2022 Received: (at 60014) by debbugs.gnu.org; 13 Dec 2022 19:56:32 +0000 Received: from localhost ([127.0.0.1]:34286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5BOC-0006mJ-Ai for submit@debbugs.gnu.org; Tue, 13 Dec 2022 14:56:32 -0500 Received: from jpoiret.xyz ([206.189.101.64]:57480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5BOA-0006mD-QD for 60014@debbugs.gnu.org; Tue, 13 Dec 2022 14:56:31 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id D9D26184F64; Tue, 13 Dec 2022 19:56:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1670961386; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7X3jO0EEud35465ky/prN/Ym9jOwV1Pud3bGGOgHfkY=; b=b7vF0gscfOLJbe6kwuxPXF1VxbrRZye+0zufBhkxWfdXb2JzVtWNYVaQy9baiBNgw3Gu7C Dqdyn+EOVQafiIxl12LOdSX9vlG4RyxNCpx/ZJupcLPjocw/PNTK57ifq2HnZhIWWK0eYK Vj0iDNjJWHjgKP3iG959WAehVUyXgDbonQACJ6VoRyy5pYxkXyxaegKmYq5lw10I7D7DK6 CpEIkaRiLMjn82nGbLZ0X2CyOeqWoAjxg0xPutX7yS8kqCHt2I+bHtMYL/QMUhzPh8+LY6 RDdeUrBOF3ZfDT8FYWPyYpPscpHx4u07hNo8goNPZ1KtHPt9czbe6W9rdnI4Dw== From: Josselin Poiret To: mirai , 60014@debbugs.gnu.org Subject: Re: [bug#60014] [PATCH] activation: make install-special-file match against pairs as well. In-Reply-To: <4e874c04-8cad-6d72-379b-967721b82713@makinata.eu> References: <43e937e1625b47a80887e68847fb8a8811d3f39f.1670867103.git.mirai@makinata.eu> <87k02wfjk5.fsf@jpoiret.xyz> <7f00edbf-8b39-0d3e-4d29-0815176d143c@makinata.eu> <87h6xzfw3d.fsf@jpoiret.xyz> <4e874c04-8cad-6d72-379b-967721b82713@makinata.eu> Date: Tue, 13 Dec 2022 20:56:25 +0100 Message-ID: <87bko7f57a.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spamd-Bar: / X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: mirai writes: > I'm missing the link at [1], could you resend it? My bad, here it is Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 60014 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: mirai writes: > I'm missing the link at [1], could you resend it? My bad, here it is Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager mirai writes: > I'm missing the link at [1], could you resend it? My bad, here it is [1] https://www.gnu.org/prep/standards/html_node/Change-Logs.html#Change-Logs -- Josselin Poiret From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 13 15:08:08 2022 Received: (at submit) by debbugs.gnu.org; 13 Dec 2022 20:08:08 +0000 Received: from localhost ([127.0.0.1]:34348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5BZP-0006u4-Ko for submit@debbugs.gnu.org; Tue, 13 Dec 2022 15:08:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:60764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5BZN-0006ty-Rv for submit@debbugs.gnu.org; Tue, 13 Dec 2022 15:08:06 -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 1p5BZM-0006ck-46 for guix-patches@gnu.org; Tue, 13 Dec 2022 15:08:05 -0500 Received: from tobias.gr ([2a02:c205:2020:6054::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5BZK-0004mY-J7 for guix-patches@gnu.org; Tue, 13 Dec 2022 15:08:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=UkfR3GFmePeci jdVe+CePb1oSAkUSIo2kyIQiUUeK2Y=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=D0SQB4UoHIoAyGhajd++zSSpFugZZj5/bNgYIq r3MeNgXS0ELkSM+vfRBiB0WG4Y1WUb8DE1XJq6suStyUWaWSeeCoEg8UhlIyrmAB0oZny7 JOwffNeb0CGaxvJPlLC9iliMp+jiR/p/77BnuVFYO5MaPV6febw9YunKXPWPye5/ToaMUd ymnuFJFOb4Dg7KTxBH+4oWK07QCTL5B0HJBi/V6h29GEsmnWsLYwXaE0F57Yanm8GsNESU eJXNbRQBFAacshdnFhjLcIF9N13dMx8KovqGcZlx+4d/MECDb2bzC1YXkcB3891sTqdBQC AriQFPR6qIeX0gC4m03+iHcA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 85464d42 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 13 Dec 2022 20:07:53 +0000 (UTC) References: <43e937e1625b47a80887e68847fb8a8811d3f39f.1670867103.git.mirai@makinata.eu> <87k02wfjk5.fsf@jpoiret.xyz> <87v8mgcp45.fsf@nckx> From: Tobias Geerinckx-Rice To: mirai Subject: Re: [bug#60014] [PATCH] activation: make install-special-file match against pairs as well. Date: Tue, 13 Dec 2022 21:04:42 +0100 In-reply-to: BIMI-Selector: v=BIMI1; s=default; Message-ID: <87ilifcbgh.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: Josselin Poiret , 60014@debbugs.gnu.org, guix-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Heyo, mirai =E5=86=99=E9=81=93=EF=BC=9A > This patch does: take a list of tuples, where tuples are pairs=20 > of path + file-like This is fine. > (and as a bonus, > preserve existing configurations by allowing the pairs to be=20 > lists as well). This not so much. I guess my example was poorly chosen, but at=20 least deprecate the old style, as jpoiret also suggests. That=20 does not mean you need to instantly break old configurations. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCY5jb/g0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15wu8A/j/W98VS3V1ZpmUcCUOYPp6a4VPmYU6nvJG0WK5n HRXSAP9VWP0EQTX9hqy9qPoFIzUmqrvBa3JZ7zocWv0rSqWkCg== =f60/ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 20 09:47:22 2022 Received: (at 60014) by debbugs.gnu.org; 20 Dec 2022 14:47:22 +0000 Received: from localhost ([127.0.0.1]:45280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7dtq-0005La-2i for submit@debbugs.gnu.org; Tue, 20 Dec 2022 09:47:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7dtn-0005LU-IV for 60014@debbugs.gnu.org; Tue, 20 Dec 2022 09:47:20 -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 1p7dth-000302-Fg; Tue, 20 Dec 2022 09:47:13 -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=ZPRGVSPqn/sBzq4f4gI2HAPMs1uQ7T3/6xPNba//yeQ=; b=c4i6DX17IQ0+95x1YP31 BTGmSj+6+iEJ/dDHu2ImX4Z2zAB8cZ865uV63PH+vO4JbQAxSPczMHzRSCYhHP/Rv7R9yFG7W4TQW hoAmoLlWl6gYcbBDNRdyu9yBUhiBae9gbzsiTSfXFcHNgTWU6rfHxvpUkg9lJHh1lbeQUcEwGG7TP 5KQJtgDkGsMvkAqQcS6bJiOkR1tVhdF8tMH9Hj2Nm4zbbhCL6fMnmkXW9apNCEd1hH/OVCwpyTcCB axLqCEkeElBAIpY8cwCMWq5DxsvwnjiB+8hxAlPME6MFf2tdaW1XSbnIPXjY1+WvKxGypwDZIJxeS L5ja8ERG8Qg74Q==; Received: from [193.50.110.60] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7dth-0005ee-0K; Tue, 20 Dec 2022 09:47:13 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Josselin Poiret Subject: Re: bug#60014: [PATCH] activation: make install-special-file match against pairs as well. References: <43e937e1625b47a80887e68847fb8a8811d3f39f.1670867103.git.mirai@makinata.eu> <87k02wfjk5.fsf@jpoiret.xyz> Date: Tue, 20 Dec 2022 15:47:10 +0100 In-Reply-To: <87k02wfjk5.fsf@jpoiret.xyz> (Josselin Poiret's message of "Mon, 12 Dec 2022 21:34:02 +0100") Message-ID: <87ili66sk1.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-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 60014 Cc: 60014@debbugs.gnu.org, mirai@makinata.eu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) Hi, Josselin Poiret skribis: > Is this patch related to some specific problem you're running into? I > personally would prefer keeping the special file interface as-is, and > not mix two different kinds of entries: lists with 2 elements, and > pairs. That would avoid having to manage even more edge-cases down the > line if some more processing is needed. I agree. This is a public-facing interface so we should keep it as-is; extending it to support pairs in addition to two-list elements would likely bring confusion and bugs. I=E2=80=99m not entirely sure why we settled on two-list elements rather th= an pairs back then, but I think it=E2=80=99s OK. Closing? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 21 08:21:09 2022 Received: (at 60014) by debbugs.gnu.org; 21 Dec 2022 13:21:09 +0000 Received: from localhost ([127.0.0.1]:51850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7z1x-0003cu-42 for submit@debbugs.gnu.org; Wed, 21 Dec 2022 08:21:09 -0500 Received: from smtpm3.myservices.hosting ([185.26.105.234]:46270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7z1r-0003co-KM for 60014@debbugs.gnu.org; Wed, 21 Dec 2022 08:21:07 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.172]) by smtpm3.myservices.hosting (Postfix) with ESMTP id D0A1420DD4; Wed, 21 Dec 2022 14:20:58 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 4586780096; Wed, 21 Dec 2022 14:20:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-1.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Zo6O-6mUsb2C; Wed, 21 Dec 2022 14:20:57 +0100 (CET) Received: from [192.168.1.239] (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 7B72680093; Wed, 21 Dec 2022 14:20:57 +0100 (CET) Message-ID: <15a36fc9-05ce-d599-5539-166de64e9f04@makinata.eu> Date: Wed, 21 Dec 2022 13:20:51 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: bug#60014: [PATCH] activation: make install-special-file match against pairs as well. Content-Language: en-US To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= , Josselin Poiret References: <43e937e1625b47a80887e68847fb8a8811d3f39f.1670867103.git.mirai@makinata.eu> <87k02wfjk5.fsf@jpoiret.xyz> <87ili66sk1.fsf_-_@gnu.org> From: mirai In-Reply-To: <87ili66sk1.fsf_-_@gnu.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, While thinking about this, I've noticed that using lists as "pairs" is a pattern that is common in the existing guix code, with openssh-service-type 'authorized-keys' field and G-Expressions 'file-uni [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 NICE_REPLY_A Looks like a legit reply (A) X-Debbugs-Envelope-To: 60014 Cc: 60014@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hi, While thinking about this, I've noticed that using lists as "pairs" is a pattern that is common in the existing guix code, with openssh-service-type 'authorized-keys' field and G-Expressions 'file-union' as examples. Given the "entrenched" list usage, I don't think it's worth the effort to change the whole system to use pairs at this point (or maybe allow it as it probably just creates more confusion). I will amend the special-files-service-type doc entry to clarify that it expects two-element lists instead. Bruno On 2022-12-20 14:47, Ludovic Courtès wrote: > Hi, > > Josselin Poiret skribis: > >> Is this patch related to some specific problem you're running into? I >> personally would prefer keeping the special file interface as-is, and >> not mix two different kinds of entries: lists with 2 elements, and >> pairs. That would avoid having to manage even more edge-cases down the >> line if some more processing is needed. > > I agree. This is a public-facing interface so we should keep it as-is; > extending it to support pairs in addition to two-list elements would > likely bring confusion and bugs. > > I’m not entirely sure why we settled on two-list elements rather than > pairs back then, but I think it’s OK. > > Closing? > > Ludo’. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 21 08:32:19 2022 Received: (at 60014) by debbugs.gnu.org; 21 Dec 2022 13:32:19 +0000 Received: from localhost ([127.0.0.1]:51909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7zCl-0003lH-6n for submit@debbugs.gnu.org; Wed, 21 Dec 2022 08:32:19 -0500 Received: from smtpmciv5.myservices.hosting ([185.26.107.241]:37712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7zCi-0003lB-IH for 60014@debbugs.gnu.org; Wed, 21 Dec 2022 08:32:17 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.172]) by smtpmciv5.myservices.hosting (Postfix) with ESMTP id 5075720C97 for <60014@debbugs.gnu.org>; Wed, 21 Dec 2022 14:32:08 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id CAB3A80098; Wed, 21 Dec 2022 14:32:03 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-1.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id X7dovFQXvTVq; Wed, 21 Dec 2022 14:32:02 +0100 (CET) Received: from guix-nuc.home.arpa (bl12-93-156.dsl.telepac.pt [85.245.93.156]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 890B780097; Wed, 21 Dec 2022 14:32:02 +0100 (CET) From: mirai@makinata.eu To: 60014@debbugs.gnu.org Subject: [PATCH v2] doc: Clarify special-files-service-type expected value. Date: Wed, 21 Dec 2022 13:31:44 +0000 Message-Id: X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60014 Cc: Bruno Victal X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) From: Bruno Victal * doc/guix.texi (Services, Base Services): Clarify special-files-service-type expected value. --- doc/guix.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guix.texi b/doc/guix.texi index fd03da8c97..a9b6e1231d 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -17753,7 +17753,7 @@ This is the service that sets up ``special files'' such as @file{/bin/sh}; an instance of it is part of @code{%base-services}. The value associated with @code{special-files-service-type} services -must be a list of tuples where the first element is the ``special file'' +must be a list of two-element lists where the first element is the ``special file'' and the second element is its target. By default it is: @cindex @file{/bin/sh} base-commit: 7833acab0da02335941974608510c02e2d1d8069 -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 21 08:33:18 2022 Received: (at control) by debbugs.gnu.org; 21 Dec 2022 13:33:18 +0000 Received: from localhost ([127.0.0.1]:51919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7zDi-0003mU-Ix for submit@debbugs.gnu.org; Wed, 21 Dec 2022 08:33:18 -0500 Received: from smtpmciv2.myservices.hosting ([185.26.107.238]:46002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7zDg-0003mK-GJ for control@debbugs.gnu.org; Wed, 21 Dec 2022 08:33:16 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.172]) by smtpmciv2.myservices.hosting (Postfix) with ESMTP id C6C4620CDA for ; Wed, 21 Dec 2022 14:33:15 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 39EBF80096 for ; Wed, 21 Dec 2022 14:33:15 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-1.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id t-8dKvE7dzN4 for ; Wed, 21 Dec 2022 14:33:15 +0100 (CET) Received: from [192.168.1.239] (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id DF4B580093 for ; Wed, 21 Dec 2022 14:33:14 +0100 (CET) Message-ID: <4866cd86-648e-61f5-d84b-b5297fd90b98@makinata.eu> Date: Wed, 21 Dec 2022 13:33:14 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Content-Language: en-US To: control From: mirai Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: retitle 60014 [PATCH v2] doc: Clarify special-files-service-type expected value. quit Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) retitle 60014 [PATCH v2] doc: Clarify special-files-service-type expected value. quit From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 17 21:33:15 2023 Received: (at 60014) by debbugs.gnu.org; 18 Feb 2023 02:33:15 +0000 Received: from localhost ([127.0.0.1]:42045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTD2J-0002X8-Cy for submit@debbugs.gnu.org; Fri, 17 Feb 2023 21:33:15 -0500 Received: from smtpm3.myservices.hosting ([185.26.105.234]:45582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTD2G-0002Wy-9t for 60014@debbugs.gnu.org; Fri, 17 Feb 2023 21:33:14 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm3.myservices.hosting (Postfix) with ESMTP id 5593720FD8 for <60014@debbugs.gnu.org>; Sat, 18 Feb 2023 03:33:09 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 116CD8009A for <60014@debbugs.gnu.org>; Sat, 18 Feb 2023 03:33:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ZBd8g6lyORpV for <60014@debbugs.gnu.org>; Sat, 18 Feb 2023 03:33:08 +0100 (CET) Received: from [192.168.1.239] (unknown [10.192.1.83]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id C4DD780098 for <60014@debbugs.gnu.org>; Sat, 18 Feb 2023 03:33:08 +0100 (CET) Message-ID: Date: Sat, 18 Feb 2023 02:33:08 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [PATCH v2] doc: Clarify special-files-service-type expected value. Content-Language: en-US To: 60014@debbugs.gnu.org References: From: Bruno Victal In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: 60014 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) bump From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 21 10:15:29 2023 Received: (at 60014-done) by debbugs.gnu.org; 21 Mar 2023 14:15:29 +0000 Received: from localhost ([127.0.0.1]:60073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pecls-000434-N1 for submit@debbugs.gnu.org; Tue, 21 Mar 2023 10:15:29 -0400 Received: from mail-qt1-f179.google.com ([209.85.160.179]:46947) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pecln-0003aC-Dx for 60014-done@debbugs.gnu.org; Tue, 21 Mar 2023 10:15:27 -0400 Received: by mail-qt1-f179.google.com with SMTP id c19so17949678qtn.13 for <60014-done@debbugs.gnu.org>; Tue, 21 Mar 2023 07:15:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679408118; h=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=+luI+llsh08R76boVvZIPBy8R2MPJuPi84KE695FY/0=; b=DWfdtIFm0v1CM31DsKfJaDXbf5Ox1Qwbap5PGM2Nz1UpVxT0cNm6BXqEdrr8rDAxAj QPk2XVahPCjC5WG2AbGY5te3xU836fQ/EkpetTNhe+K1bQvhlduk09po/7RoihQ2H2c4 4r47FyGwJYXZPskH1bbTcL8Hpb7k1GyqAmporexmcQxfo2cgTYasJRv4zePiWz/dVAd3 wCvkvWcklN2DGgyAVh/1gRl19VPY/bmjfz9e/qR8/loCoEkKP8/OqRtGu0chDZGmk0Jc 70FpI9Tilc06TpL+bMtl02H3SFwOKTSDmDErL+0tx6GJ6qughU3VekSXo+Z4JfpGgZQT YAjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679408118; h=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=+luI+llsh08R76boVvZIPBy8R2MPJuPi84KE695FY/0=; b=QQ4hBnSLYtHfNOGBxBafUQDIRzB/z17CEKBS9LAIIkV3nk28RKsSFiqPYYKtk67k2J +7RW2TxybvKnzxqWrQvouku1wrMnl9SxfS+zSn+etN9CH9YVldDLkjzS+8jxUKXBOgoA 6GyKTo7945wwhMTNTY6h2QPdGRS9HgP+H5rdUNX/WILOHYCgPISJTlZRPFK7p+TLmJLY jTa1XqHJ/nZpD/pRa0fBABtvRUBTiJl0OBvmRdwDfALroJNG4DX+NhqRvGO+QBCYythG LuruvLzjysSqcH6yz/CzB8QwLHRIcnp3SOzOlPho4tKcCUj8LJu2o8Pkr2dwgue2nPSM K/aQ== X-Gm-Message-State: AO0yUKULatTl2ZZCZJWFEkYgYthrxPQ4n848aOWUsd5JWEPSpnD7bCMi 1I3eARtIAr5CBzcH44vx252M45c6VGSXsQ== X-Google-Smtp-Source: AK7set/7SZUHWHzcgQGUYS9ZOLUCh9XLsJV5vikmKrQcE+lboLCiSEyRbPxFaSEjvzKjbkzq98rFlw== X-Received: by 2002:a05:622a:1809:b0:3bf:e2f8:c6a4 with SMTP id t9-20020a05622a180900b003bfe2f8c6a4mr3939516qtc.61.1679408117784; Tue, 21 Mar 2023 07:15:17 -0700 (PDT) Received: from hurd ([2607:fad8:4:3::1004]) by smtp.gmail.com with ESMTPSA id f21-20020a05620a281500b0074233b15a72sm9308864qkp.116.2023.03.21.07.15.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 07:15:17 -0700 (PDT) From: Maxim Cournoyer To: mirai@makinata.eu Subject: Re: bug#60014: [PATCH v2] doc: Clarify special-files-service-type expected value. References: <43e937e1625b47a80887e68847fb8a8811d3f39f.1670867103.git.mirai@makinata.eu> Date: Tue, 21 Mar 2023 10:15:15 -0400 In-Reply-To: (mirai@makinata.eu's message of "Wed, 21 Dec 2022 13:31:44 +0000") Message-ID: <877cvaqjgs.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 60014-done Cc: 60014-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, mirai@makinata.eu writes: > From: Bruno Victal > > * doc/guix.texi (Services, Base Services): Clarify special-files-service-type > expected value. > --- > doc/guix.texi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/doc/guix.texi b/doc/guix.texi > index fd03da8c97..a9b6e1231d 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -17753,7 +17753,7 @@ This is the service that sets up ``special files'' such as > @file{/bin/sh}; an instance of it is part of @code{%base-services}. > > The value associated with @code{special-files-service-type} services > -must be a list of tuples where the first element is the ``special file'' > +must be a list of two-element lists where the first element is the ``special file'' > and the second element is its target. By default it is: Applied! -- Thanks, Maxim From unknown Sun Aug 10 09:10:41 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 19 Apr 2023 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator