From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AK7tJ7vDkmBMxQAAgWs5BA (envelope-from ) for ; Wed, 05 May 2021 18:11:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yIGDI7vDkmCVUQAAB5/wlQ (envelope-from ) for ; Wed, 05 May 2021 16:11:39 +0000 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 40235C057 for ; Wed, 5 May 2021 18:11:38 +0200 (CEST) Received: from localhost ([::1]:42300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leK7c-0001hG-Ee for larch@yhetil.org; Wed, 05 May 2021 12:11:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59078) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leK1G-0003qw-D4 for bug-guix@gnu.org; Wed, 05 May 2021 12:05:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49728) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1leK1F-0001Ig-UD for bug-guix@gnu.org; Wed, 05 May 2021 12:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1leK1F-0003lp-ON for bug-guix@gnu.org; Wed, 05 May 2021 12:05:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48240: =?UTF-8?Q?=E2=80=9Cguix_?= =?UTF-8?Q?copy=E2=80=9D?= to host with daemon listening on TCP fails Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 05 May 2021 16:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48240 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 48240@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162023068914477 (code B ref -1); Wed, 05 May 2021 16:05:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 May 2021 16:04:49 +0000 Received: from localhost ([127.0.0.1]:33040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leK13-0003lR-KL for submit@debbugs.gnu.org; Wed, 05 May 2021 12:04:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:59220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leK10-0003lI-PZ for submit@debbugs.gnu.org; Wed, 05 May 2021 12:04:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leK10-0003bi-Iz for bug-guix@gnu.org; Wed, 05 May 2021 12:04:46 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21196) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leK0p-00018f-68 for bug-guix@gnu.org; Wed, 05 May 2021 12:04:46 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1620230668; cv=none; d=zohomail.com; s=zohoarc; b=BjKKE2rApNou7LHDMwObRA+mgDZLqNfkZZmHPhJaAbwpN4Lm9y/QWxv+De6Wf3CiO7bIno8HHES+wIxHyWk4G1ZNO3u+ea4xvyZYkrQ3HDIXy8hvM5o8i2FwrkSZ9YHw3tLCFb3oZ6vfR8AjesYdonnVrIyI0BPQYq5J8ljHyes= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1620230668; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=1eQFKXe3fWOXMUtMmTRE0EvxyCJV0U8wYQtaVsVHs0A=; b=ObBMJut+swWUcF8NCfwi+BK5IhUJyxaK5FSu74nT3xG0OMpI6r+WNZpvx5IhWF0e8nMaRgVOLm/62l1KkUI1SXPXG5FBummVhafAQwA11a8HbXMHrfFQU5TcCcp9dq01nhqwWdfswxQgYYEgmPhxM6i+UNLtEHEJsBiiGbc25R0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1620230668; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=1eQFKXe3fWOXMUtMmTRE0EvxyCJV0U8wYQtaVsVHs0A=; b=K0KShcfQK7gWmhip2o1IfN0NP6CtwziYpTZoVTuxdMcFfDWMb+UclHpeopf2D1nA APFVwFpoX/Ugyt79bn/Xr+HkU+iXHW62pvEGr4dTfL1OLqB4BcJakv3KzY8m7f94mls ZIjWwFlrAdMogtgXJNj/RovOOHADVw5M89D/8Jts= Received: from localhost (p54ad4e01.dip0.t-ipconnect.de [84.173.78.1]) by mx.zohomail.com with SMTPS id 1620230660052205.82539432529268; Wed, 5 May 2021 09:04:20 -0700 (PDT) User-agent: mu4e 1.4.15; emacs 27.2 From: Ricardo Wurmus X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Wed, 05 May 2021 18:04:16 +0200 Message-ID: <87a6p9rwu7.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620231099; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=1eQFKXe3fWOXMUtMmTRE0EvxyCJV0U8wYQtaVsVHs0A=; b=hzw+9Ct5V62Sr9osL9coYm98GFwV7v2hJGLYmvkcY3AErnN35ztNGDTj3pzbgmVKWWeo6t fWuKwubmhIAckarE7fq+rM5JC0UO9WA0Tf6NJgDMkU5gCxprSE3BvDtV0KOPcxS9jPwa0b 4foBEgCeJh4BHy2VB9RukEE27TfTJLfop9YJCk8UAmYj99VmxfmkKvxgRjvJLEeCr/gxWX /aYP06mG6GJ6q0cGt8vrTZrXA8+/yVPHWe6tP5CCIJoonAU1syqd+F+Kyvo2v7w17MrGrw yENaXW7POM9Mm31pqodoYsqSQ6wavCsUeH4V/OgDFHmzAhfXpIoqDuIZzsqTaw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1620231099; a=rsa-sha256; cv=fail; b=DXsE74C4qZ7aSF9vPc8DwxU6DYAAjo2fpEzL7THBYGGmVda5YDJci83x2qJ6s30ykL1ulL MgaQvioHbdHd9jrsLSQEq/xcDnRM4JRv2NSetizhRN6tsFrOUBxvvp4eb1cXdcnZoXrvF6 bPHUIl5fZO4LrEgAcLQLl0zkzNNYoO+y1nUVobFsQpK8BtfU2wlkCJqllDCS73rOeUtFwP lDLpwTFhdc4zGoNoosH5SQtPJ4Kr3xm6qY9j2p2bRlAkqkFTSwQYBJ0JwYhwdJ7rkK037y xDkPEXUdjz2b6wAgMAWHmRpt/OBOuFWxK+JazhG2WocwOjcvawl+p57z3WKBzg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=K0KShcfQ; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: 0.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=K0KShcfQ; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 40235C057 X-Spam-Score: 0.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: cEoQHtTrQcRh There are two hosts running Guix. The target host runs=20 =E2=80=9Cguix-daemon=E2=80=9D with =E2=80=9C--listen=3D0.0.0.0:9999=E2=80= =9D; it does not listen on=20 a local socket file. Trying to copy store items to the target=20 host fails with this backtrace: --8<---------------cut here---------------start------------->8--- [me@here:~] (1028) $ guix copy --to=3Dthere /gnu/store/=E2=80=A6-profile Backtrace: 12 (primitive-load=20 "/gnu/store/9qjkzhlwj2792iczsyfx9n7c23g=E2=80=A6") In guix/ui.scm: 2165:12 11 (run-guix-command _ . _) In ice-9/boot-9.scm: 1736:10 10 (with-exception-handler _ _ #:unwind? _ # _) 1731:15 9 (with-exception-handler # =E2=80=A6) 1736:10 8 (with-exception-handler _ _ #:unwind? _ # _) In guix/store.scm: 636:37 7 (thunk) 1305:8 6 (call-with-build-handler _ _) 1305:8 5 (call-with-build-handler # =E2=80=A6) In guix/status.scm: 799:4 4 (call-with-status-report _ _) In guix/scripts/copy.scm: 76:25 3 (_) In guix/ssh.scm: 485:39 2 (send-files # _=20 #f =E2=80=A6) In ice-9/boot-9.scm: 1669:16 1 (raise-exception _ #:continuable? _) 1669:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1669:16: In procedure raise-exception: In procedure struct-vtable: Wrong type argument in position 1=20 (expecting struct): #f --8<---------------cut here---------------end--------------->8--- The (guix ssh) appears to assume that the remote daemon listens on=20 a socket file. Telling the daemon to also listen on a socket file=20 works around this problem<. --=20 Ricardo