From debbugs-submit-bounces@debbugs.gnu.org Wed May 05 12:04:49 2021 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 To: bug-guix@gnu.org Subject: =?utf-8?B?4oCcZ3VpeCBjb3B54oCd?= to host with daemon listening on TCP fails 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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 (--) 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