From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJXG5-0002lN-VS for guix-patches@gnu.org; Mon, 05 Nov 2018 00:17:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJXG2-0004TM-Rq for guix-patches@gnu.org; Mon, 05 Nov 2018 00:17:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:58481) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gJXG2-0004T4-Mc for guix-patches@gnu.org; Mon, 05 Nov 2018 00:17:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gJXG2-0003S9-Ex for guix-patches@gnu.org; Mon, 05 Nov 2018 00:17:02 -0500 Subject: [bug#33267] [PATCH] ssh: Honor the SOCKET-NAME argument of connect-to-remote-daemon. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJXFo-0002l9-Ti for guix-patches@gnu.org; Mon, 05 Nov 2018 00:16:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJXFl-0004Gj-OI for guix-patches@gnu.org; Mon, 05 Nov 2018 00:16:48 -0500 Received: from mail-io1-xd43.google.com ([2607:f8b0:4864:20::d43]:38986) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gJXFl-0004Ez-H6 for guix-patches@gnu.org; Mon, 05 Nov 2018 00:16:45 -0500 Received: by mail-io1-xd43.google.com with SMTP id n11-v6so5595020iob.6 for ; Sun, 04 Nov 2018 21:16:43 -0800 (PST) Received: from apteryx (76-10-140-126.dsl.teksavvy.com. [76.10.140.126]) by smtp.gmail.com with ESMTPSA id m9-v6sm13830449ioc.29.2018.11.04.21.16.40 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 04 Nov 2018 21:16:41 -0800 (PST) From: Maxim Cournoyer Date: Mon, 05 Nov 2018 00:16:39 -0500 Message-ID: <875zxc5cjs.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 33267@debbugs.gnu.org --=-=-= Content-Type: text/plain Hi! The following small issue caught my eye while I was reading the code. Maxim --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-ssh-Honor-the-SOCKET-NAME-argument-of-connect-to-rem.patch >From dd6d3ee8bec3a99fd178a8efddfa417fbed72a66 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 5 Nov 2018 00:01:47 -0500 Subject: [PATCH] ssh: Honor the SOCKET-NAME argument of connect-to-remote-daemon. * guix/ssh.scm (connect-to-remote-daemon): Pass the `socket-name' variable to the `open-connection' call so that it is honored. --- guix/ssh.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/ssh.scm b/guix/ssh.scm index da20d4d8d..25ec8295e 100644 --- a/guix/ssh.scm +++ b/guix/ssh.scm @@ -161,7 +161,7 @@ Throw an error on failure." "/var/guix/daemon-socket/socket")) "Connect to the remote build daemon listening on SOCKET-NAME over SESSION, an SSH session. Return a object." - (open-connection #:port (remote-daemon-channel session))) + (open-connection #:port (remote-daemon-channel session socket-name))) (define (store-import-channel session) -- 2.19.0 --=-=-=--