From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kAcfNZI/f2cPKQAAqHPOHw:P1 (envelope-from ) for ; Thu, 09 Jan 2025 03:16:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id kAcfNZI/f2cPKQAAqHPOHw (envelope-from ) for ; Thu, 09 Jan 2025 04:16:34 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=qGhIleiK; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=A5J7FHaX; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736392594; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=ifbJv1EN74PN+JI1Ev4kUe8HWYlCPpq9BbKLh+bUziY=; b=ILLS5SqduCZkJUsuBy2VrffomfKXUfL9fa1QckNUsMQttQjNXuMm81ftxBPEAiwGssha17 B0Ff1jOKHXoHbvJAoax+r9ISI0qLTuX6DMfSj5JE6i+q8/0C7gLgfsxfPPBNgwkT9DKuD5 ARstgHdD34F4WKFoEDo7olvPLf1h2US96WSgMhgOALn6rmvQwmEYMCsLGOVAtaoeJXlNpU ZY0W6h/oS4McvSQsNYnynhm7P86gKIMPAwXjV2lQyHi9pzvF+dlN6dTgkpTeE3z2vQK1Ny yfsTbXhwa8BOnfg9lkA5gp6PXyMuI9sJyFkUMAFr5TJ7o1Rw/rYBXrlAHe0yHA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=qGhIleiK; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=A5J7FHaX; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736392594; a=rsa-sha256; cv=none; b=qjUpOPusogRIxhnnaZ76PtP+3I6RkajcE0i7TOl2kmEQuG/Sj77p49EHxWC7WQRFEXl4k+ 0g4qEgNc2+1iPISr3KLt2bQs2VmayPzymTQOko7Z3/R8uMKHV6dgzjnWGy+BVAqo50T3rS ILH1OI6gr/uWPsMKyj9x8fEXADg64X1RLKInQ5rBBmAnNBUpKzUKkKHc3alrqXFE1kAxkB B2vz4fAekm948DlSge+n+3IYEL9FJfh4jvUcWtctsOH5+rgnDL0s98o0AjOdnxwj1x8BCW F5I9A6fz5DXEI1CPqHMwvZESko1MNCdiJYIdAjW9U4WMOfmUfyJO1Yf+Cgy7XA== 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 8DE1D249D7 for ; Thu, 09 Jan 2025 04:16:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVj1i-00065m-1x; Wed, 08 Jan 2025 22:16: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 1tVj1f-00065N-VM for bug-guix@gnu.org; Wed, 08 Jan 2025 22:16:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tVj1e-0002Of-Fv for bug-guix@gnu.org; Wed, 08 Jan 2025 22:16:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=ifbJv1EN74PN+JI1Ev4kUe8HWYlCPpq9BbKLh+bUziY=; b=qGhIleiKKYb3SF0cFyj6i31Ex2d+qONq7ADx5puitxSwoeyUrKEiDg+Bgab5YArQtqr2euQg5QXw8Y4OsXDnl7iLFrSdgW5hIdK3JVd3VUCnwPNrc/NNnza5Nvuvbd1lkGbmpEg+vd0BpXXNWB9XeGrGFjxF7ATJxZRfn2bylkJ7hNmLJWWPvXx3uJM4DSlGCePXuiLUlp1ufX9dDYEoNSriLahrjC18CnMNpo4uRrQvdMYk9SZNphxLMG8CmHStkkuxDZu7bN2v3SYrzlChiCXL53WFI1u4zVOzi+VHqJEkAeN6WwBX8FPR/iBDDda/MgMsvyGceHtrUwG3RQKp3A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVj1e-0003C7-0i for bug-guix@gnu.org; Wed, 08 Jan 2025 22:16:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#75450: tor-onion-service-configuration example in Guix Manual does not work Resent-From: raid5atemyhomework Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 09 Jan 2025 03:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75450 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 75450@debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.173639251912205 (code B ref -1); Thu, 09 Jan 2025 03:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Jan 2025 03:15:19 +0000 Received: from localhost ([127.0.0.1]:49768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVj0w-0003Aj-F1 for submit@debbugs.gnu.org; Wed, 08 Jan 2025 22:15:18 -0500 Received: from lists.gnu.org ([2001:470:142::17]:35534) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tVj0t-000351-3i for submit@debbugs.gnu.org; Wed, 08 Jan 2025 22:15:16 -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 1tVj0m-0005Zd-DR for bug-guix@gnu.org; Wed, 08 Jan 2025 22:15:08 -0500 Received: from mail-106110.protonmail.ch ([79.135.106.110]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVj0j-0001e2-Rr for bug-guix@gnu.org; Wed, 08 Jan 2025 22:15:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1736391872; x=1736651072; bh=ifbJv1EN74PN+JI1Ev4kUe8HWYlCPpq9BbKLh+bUziY=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=A5J7FHaXItwesvMsuNwkVCXqXjzRiQI+4Mr/MLW7qe5eP3EVE+ycLy4o3/H7i2jUS r2bojp//nsl3AsEp1UwBqZ110hIRz9Cs88WHN2PIgRhVNBNfdCFnFMBMRxS/Tln9Iy O3TGsGNaF3mgLvR/e63JpXXPFSYoYM+ViHwarydNsBk5cfqhwartaBK/2urzHfwtgn 0Wb4w4q0VEXHrZN0iq+lN3KJgbDZhsSwOtHhJuH24g1EdRjSb9n2I7aAdugB0P6dsU 7d9vLjGkL+XPPbYhL9XEvSmjXKmywDaUSBlz3hULdQs5dvUo9byMdd/dONYu7vK0Mh tPMX/o+ovM6sQ== Date: Thu, 09 Jan 2025 03:04:29 +0000 Message-ID: <_RvdQNewziiAa0eDz9sY0SkB5aYYI2d8atxY4aNcnGxrdRPm-DCXAuBNgLbevNypdpOjYYW7V6rUl4luPwE6tZsMplpBKNRXTOHl6lrrErQ=@protonmail.com> Feedback-ID: 28717774:user:proton X-Pm-Message-ID: 808302504c10bb8a34182bb5e3ff3958c6dc4dbc MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1=_ESh5FFwD3IwAT5cnErARBaSh0hNVFiTmq0D8EWlF0Cs" Received-SPF: pass client-ip=79.135.106.110; envelope-from=raid5atemyhomework@protonmail.com; helo=mail-106110.protonmail.ch 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-to: raid5atemyhomework From: raid5atemyhomework via Bug reports for GNU Guix 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 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -3.38 X-Spam-Score: -3.38 X-Migadu-Queue-Id: 8DE1D249D7 X-TUID: 59hDyHsft3/2 --b1=_ESh5FFwD3IwAT5cnErARBaSh0hNVFiTmq0D8EWlF0Cs Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Guix has been pestering me about the deprecation of `tor-hidden-service` fo= r a year now. So I checked out the manual to see the correct official way = that replaces `tor-hidden-service`: ```text -- Variable: tor-service-type Type for a service that runs the Tor (https://torproject.org) anonymous networking daemon. The service is configured using a =E2=80=98=E2=80=99 record. By default, the Tor dae= mon runs as the =E2=80=98tor=E2=80=99 unprivileged user, which is a member of the = =E2=80=98tor=E2=80=99 group. Services of this type can be extended by other services to specify =E2=80=9Conion services=E2=80=9D (in addition to those already specifi= ed in =E2=80=98tor-configuration=E2=80=99) as in this example: (simple-service 'my-extra-onion-service tor-service-type (list (tor-onion-service-configuration (name "extra-onion-service") (mapping '((80 . "127.0.0.1:8080")))))) ``` I created a simple `configuration.scm` that uses the above example verbatim= in the `services` list, and got this error on `guix system build`: ```text building /gnu/store/c3x922pfx3lcb8nzwcns6k43ncaj2asj-torrc.drv... Backtrace:=20 4 (primitive-load "/gnu/store/1flyd8skq8cx6p8d7cpv5b99rxc?") In ice-9/ports.scm: 433:17 3 (call-with-output-file _ _ #:binary _ #:encoding _) In ice-9/eval.scm: 619:8 2 (_ #(#(#) #)) In ice-9/boot-9.scm: 260:13 1 (for-each # ?) In ice-9/eval.scm: 619:8 0 (_ #(#(# ("e?" ?)))) ice-9/eval.scm:619:8: Throw to key `match-error' with args `("match" "no ma= tching pattern" ("extra-onion-service" (80 . "127.0.0.1:8080")))'. builder for `/gnu/store/c3x922pfx3lcb8nzwcns6k43ncaj2asj-torrc.drv' failed = with exit code 1 build of /gnu/store/c3x922pfx3lcb8nzwcns6k43ncaj2asj-torrc.drv failed ``` Please do not deprecate `tor-hidden-service` until your replacement has act= ually been tested to ***actually work*** on some very simple use-case examp= le. I attached the simple example that fails. --b1=_ESh5FFwD3IwAT5cnErARBaSh0hNVFiTmq0D8EWlF0Cs Content-Type: application/vnd.lotus-screencam; name=base.scm Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=base.scm OzsgVGhpcyBpcyBhbiBvcGVyYXRpbmcgc3lzdGVtIGNvbmZpZ3VyYXRpb24gZ2VuZXJhdGVkCjs7 IGJ5IHRoZSBncmFwaGljYWwgaW5zdGFsbGVyLgoKKHVzZS1tb2R1bGVzIChnbnUpKQoodXNlLXNl cnZpY2UtbW9kdWxlcyBkZXNrdG9wIG5ldHdvcmtpbmcgc3NoIHhvcmcpCgoob3BlcmF0aW5nLXN5 c3RlbQogIChsb2NhbGUgImVuX1VTLnV0ZjgiKQogICh0aW1lem9uZSAiRXRjL1VUQyIpCiAgKGtl eWJvYXJkLWxheW91dCAoa2V5Ym9hcmQtbGF5b3V0ICJ1cyIpKQogIChob3N0LW5hbWUgImthZ3V5 YSIpCiAgKHVzZXJzIChjb25zKiAodXNlci1hY2NvdW50CiAgICAgICAgICAgICAgICAgIChuYW1l ICJyYWlkNWF0ZW15aG9tZXdvcmsiKQogICAgICAgICAgICAgICAgICAoY29tbWVudCAicmFpZDVh dGVteWhvbWV3b3JrIikKICAgICAgICAgICAgICAgICAgKGdyb3VwICJ1c2VycyIpCiAgICAgICAg ICAgICAgICAgIChob21lLWRpcmVjdG9yeSAiL2hvbWUvem1uc2NweGoiKQogICAgICAgICAgICAg ICAgICAoc3VwcGxlbWVudGFyeS1ncm91cHMKICAgICAgICAgICAgICAgICAgICAnKCJ3aGVlbCIg Im5ldGRldiIgImF1ZGlvIiAidmlkZW8iKSkpCiAgICAgICAgICAgICAgICAlYmFzZS11c2VyLWFj Y291bnRzKSkKICAocGFja2FnZXMKICAgIChhcHBlbmQKICAgICAgJWJhc2UtcGFja2FnZXMpKQog IChzZXJ2aWNlcwogICAgKGFwcGVuZAogICAgICAobGlzdCAoc2VydmljZSBvcGVuc3NoLXNlcnZp Y2UtdHlwZSkKICAgICAgICAgICAgKHNlcnZpY2UgZGhjcC1jbGllbnQtc2VydmljZS10eXBlKQog ICAgICAgICAgICAoc2VydmljZSB0b3Itc2VydmljZS10eXBlKQogICAgICAgICAgICAoc2ltcGxl LXNlcnZpY2UgJ215LWV4dHJhLW9uaW9uLXNlcnZpY2UgdG9yLXNlcnZpY2UtdHlwZQogICAgICAg ICAgICAgICAgICAgICAgICAgICAgKGxpc3QgKHRvci1vbmlvbi1zZXJ2aWNlLWNvbmZpZ3VyYXRp b24KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKG5hbWUgImV4dHJhLW9uaW9u LXNlcnZpY2UiKQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAobWFwcGluZyAn KCg4MCAuICIxMjcuMC4wLjE6ODA4MCIpKSkpKSkpCiAgICAgICViYXNlLXNlcnZpY2VzKSkKICAo Ym9vdGxvYWRlcgogICAgKGJvb3Rsb2FkZXItY29uZmlndXJhdGlvbgogICAgICAoYm9vdGxvYWRl ciBncnViLWJvb3Rsb2FkZXIpCiAgICAgICh0YXJnZXRzICIvZGV2L3NkYSIpCiAgICAgIChrZXli b2FyZC1sYXlvdXQga2V5Ym9hcmQtbGF5b3V0KSkpCiAgKGZpbGUtc3lzdGVtcwogICAgKGNvbnMq IChmaWxlLXN5c3RlbQogICAgICAgICAgICAgKG1vdW50LXBvaW50ICIvIikKICAgICAgICAgICAg IChkZXZpY2UKICAgICAgICAgICAgICAgKHV1aWQgImRhYjhmYWRlLTUyYTctNDRjMC04M2RlLTM0 ZmI4NGZlZWU1NSIKICAgICAgICAgICAgICAgICAgICAgJ2V4dDQpKQogICAgICAgICAgICAgKHR5 cGUgImV4dDQiKSkKICAgICAgICAgICAlYmFzZS1maWxlLXN5c3RlbXMpKSkK --b1=_ESh5FFwD3IwAT5cnErARBaSh0hNVFiTmq0D8EWlF0Cs--