GNU logs - #39925, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#39925: `guix pull` failure in multi-machine setup
Resent-From: Lars-Dominik Braun <ldb@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 05 Mar 2020 13:34:02 +0000
Resent-Message-ID: <handler.39925.B.158341520412886 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 39925
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 39925 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.158341520412886
          (code B ref -1); Thu, 05 Mar 2020 13:34:02 +0000
Received: (at submit) by debbugs.gnu.org; 5 Mar 2020 13:33:24 +0000
Received: from localhost ([127.0.0.1]:42339 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j9qct-0003Lm-Us
	for submit <at> debbugs.gnu.org; Thu, 05 Mar 2020 08:33:24 -0500
Received: from lists.gnu.org ([209.51.188.17]:48897)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ldb@HIDDEN>) id 1j9qcr-0003Le-OU
 for submit <at> debbugs.gnu.org; Thu, 05 Mar 2020 08:33:22 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:51290)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ldb@HIDDEN>) id 1j9qcp-0002nJ-Sv
 for bug-guix@HIDDEN; Thu, 05 Mar 2020 08:33:21 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,URIBL_BLOCKED
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ldb@HIDDEN>) id 1j9qco-00037x-UK
 for bug-guix@HIDDEN; Thu, 05 Mar 2020 08:33:19 -0500
Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:40706)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <ldb@HIDDEN>)
 id 1j9qco-00033j-DO
 for bug-guix@HIDDEN; Thu, 05 Mar 2020 08:33:18 -0500
Received: by mail-wr1-x431.google.com with SMTP id r17so7036350wrj.7
 for <bug-guix@HIDDEN>; Thu, 05 Mar 2020 05:33:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=leibniz-psychology-org.20150623.gappssmtp.com; s=20150623;
 h=date:from:to:subject:message-id:mime-version:content-disposition
 :user-agent; bh=wBZXxwzhwZvuTvhMjQC9zDXtNLEXG9Jck9w/Hg6yDUk=;
 b=gxENMzr7tbbFo9eQ6N8yktfRrHZPxlWqtpHwtfopLCkS+plntPqdSPID+wJ1Mn8GxW
 1bD/unrjwvOfhPKn+b6fLAUj5b+2Nb9ZCfcjV0apBB7oBH7W04KMawNbLownBXizX/9D
 0O/keGYUI8H1Znq2wHdrCehuatdXSUkn8hA8XTp/VdICGsNA81MoUNESt1LeWKsWIbeL
 zOyohdhvK9jxYTeJ0hYNVC6+xKdBqxOJXVm/Yx06cH1QLMx/J3ugydlSEw5X/ksQOMp3
 zIkOiIXA95fphPPAkiS5agCmME5WKCa+Qixc4WPLKHbB025lAGMnHQ5FeBihD9HIbzwG
 PDJg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:from:to:subject:message-id:mime-version
 :content-disposition:user-agent;
 bh=wBZXxwzhwZvuTvhMjQC9zDXtNLEXG9Jck9w/Hg6yDUk=;
 b=fs3Q7OmzCHhN6sAjpkBx6aesG5a7YN7wAaIudfUORT4pHchtlNzqnfQ/Jh0eERjbUd
 VDMbmJdWTp3oaS9PAuiwJC/nc5O/sE3WgoHFZlaceBzOyJnWThcBm4ocO4DzQ0PPAVaY
 E0/fq0eU3ZYew6MnHLhzQk/jM/UnR8isPSO6fStE/DOfgnAAY1/iu4K0yqlrzmBFykNb
 IvwzsunqoJ3uoS5MF4ysABmNxJ3wwOso3bUOLoxDs1/SPg5AftATOHG8tvDOobF7X4wX
 tMO+3VhPoXp7wUvEKKf83WDkGLVpXY6TESRTBNfDGLfK12IO5fqbM3V7grOhRf9PKal7
 Flvg==
X-Gm-Message-State: ANhLgQ0vt9YT7bpI8kPyxKXVOJrvWOgL805SGI7guQTsNUlNGex8/8H8
 /oeucJpML9m7jFQGXBDDTayCZc3niWcGgmRYF171WCYiFpEheyT46JmXN1q94bVC4rE3wSOHt0H
 0UltB2GwuP8GpUgPUfTU9LD14ESkSAGp1RESMdc3EG+eF+7izRM98v8wSViXpsQYtpzw5/cWUnA
 wECg==
X-Google-Smtp-Source: ADFU+vvz/UxLIsOaxgTKUcKejslAPunxoOktQJW72d0kM1YDode7nzEEYYdRypoOCYUBgOpyfJZ8yA==
X-Received: by 2002:a5d:6b90:: with SMTP id n16mr10948941wrx.58.1583415196205; 
 Thu, 05 Mar 2020 05:33:16 -0800 (PST)
Received: from localhost (zpidlx9.uni-trier.de. [136.199.85.49])
 by smtp.gmail.com with ESMTPSA id n3sm16418489wrv.91.2020.03.05.05.33.15
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 05 Mar 2020 05:33:15 -0800 (PST)
Date: Thu, 5 Mar 2020 14:33:18 +0100
From: Lars-Dominik Braun <ldb@HIDDEN>
Message-ID: <20200305133318.GB2909@zpidnp36>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="IiVenqGWf+H9Y6IX"
Content-Disposition: inline
User-Agent: Mutt/1.10.1 (2018-07-13)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2a00:1450:4864:20::431
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


--IiVenqGWf+H9Y6IX
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

I=E2=80=99m using guix on a multi-machine setup with a single remote guix-d=
aemon that
can be reached via SSH. Thus GUIX_DAEMON_SOCKET=3Dssh://master.<domain> on =
the
compute nodes. Running `guix pull` on master works fine (the variable is not
set here), but it does not on a compute node. Instead it fails with this er=
ror:

---snip---
Backtrace:
           1 (primitive-load "/gnu/store/n5wgvz287dwm62474mr42x34wl5j5wh7-c=
ompute-guix-derivation")
In ice-9/eval.scm:
   293:34  0 (_ #(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-user) 7f19dd2131=
40> (?)) #) # ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))

ice-9/eval.scm:293:34: Throw to key `srfi-34' with args `(#<condition &stor=
e-connection-error [file: "/var/guix/daemon-socket/socket" errno: 111] 7f19=
dba3a090>)'.
guix pull: error: You found a bug: the program '/gnu/store/n5wgvz287dwm6247=
4mr42x34wl5j5wh7-compute-guix-derivation'
failed to compute the derivation for Guix (version: "aac148a87b9a79b9992b8b=
1a9d76c217175d4a88"; system: "x86_64-linux";
host version: "aac148a87b9a79b9992b8b1a9d76c217175d4a88"; pull-version: 1).
Please report it by email to <bug-guix@HIDDEN>.
---snap---

Obviously the socket on that compute machine is not working, because it=E2=
=80=99s on an
NFS share /var/guix belonging to master. But why is the socket considered in
the first place?

Cheers,
Lars


--IiVenqGWf+H9Y6IX
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGzBAABCgAdFiEEyk+M9DfXR4/aBV/UQhN3ARo3hEYFAl5g/44ACgkQQhN3ARo3
hEbhOwv/dPpapHvVULzW8shmZkmDYRBPnvE+7oqnG11F6hNxtdbdKuDdnynA+PuF
okH9uS32aikWcfkR9N7PNg/I/H6OIJhWr39TSAs7anqD0/FkQl5jhTEl9LQGsboK
D1oXUMtnv4Re/kInfUnfTcgR8K/aiult/YOADFOWuh+/yWrJs8v8mTdINxhESkK3
fmNKP6HC8EukzgL36l/7nTFhZ2ns2DHaa1lUzvDfm9G1NV8YIEznqluu8Du8JRpS
iD466592lUq9haM0ziosgqWUL7ze7yzdr4zoaUFcZd0IQru84tG0t2AhBUozhSyQ
fxFszxsxY/+XdG/wxCCTa4Z5VFEvyw75I8rGScRYYcmUNeUixPYe5PG4EHMml3Li
URbA8OhfyWhmMz2B3kBLnqq08uDJPkIvh8k2AsIqrdzlNZtskAKctsplhCoGP+dh
i5hKn5E9ubsLWkmCaxE6PPUMWzvoCbdKHdd8OaObH/A/1r5bsMVgYc2ZKsG9owHf
D+4vnGs4
=Oki/
-----END PGP SIGNATURE-----

--IiVenqGWf+H9Y6IX--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Lars-Dominik Braun <ldb@HIDDEN>
Subject: bug#39925: Acknowledgement (`guix pull` failure in multi-machine
 setup)
Message-ID: <handler.39925.B.158341520412886.ack <at> debbugs.gnu.org>
References: <20200305133318.GB2909@zpidnp36>
X-Gnu-PR-Message: ack 39925
X-Gnu-PR-Package: guix
Reply-To: 39925 <at> debbugs.gnu.org
Date: Thu, 05 Mar 2020 13:34:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 39925 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
39925: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39925
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#39925: `guix pull` failure in multi-machine setup
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 05 Mar 2020 17:22:02 +0000
Resent-Message-ID: <handler.39925.B39925.15834288763673 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 39925
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Lars-Dominik Braun <ldb@HIDDEN>
Cc: 39925 <at> debbugs.gnu.org
Received: via spool by 39925-submit <at> debbugs.gnu.org id=B39925.15834288763673
          (code B ref 39925); Thu, 05 Mar 2020 17:22:02 +0000
Received: (at 39925) by debbugs.gnu.org; 5 Mar 2020 17:21:16 +0000
Received: from localhost ([127.0.0.1]:43669 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j9uBQ-0000xB-2b
	for submit <at> debbugs.gnu.org; Thu, 05 Mar 2020 12:21:16 -0500
Received: from eggs.gnu.org ([209.51.188.92]:53421)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1j9uBM-0000ww-5M
 for 39925 <at> debbugs.gnu.org; Thu, 05 Mar 2020 12:21:15 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:47768)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1j9uBG-0003Ws-To; Thu, 05 Mar 2020 12:21:07 -0500
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=34074 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1j9uBF-0004sC-Fy; Thu, 05 Mar 2020 12:21:06 -0500
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
References: <20200305133318.GB2909@zpidnp36>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 16 =?UTF-8?Q?Vent=C3=B4se?= an 228 de la =?UTF-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Thu, 05 Mar 2020 18:20:58 +0100
In-Reply-To: <20200305133318.GB2909@zpidnp36> (Lars-Dominik Braun's message of
 "Thu, 5 Mar 2020 14:33:18 +0100")
Message-ID: <87ftem7m6d.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi,

Lars-Dominik Braun <ldb@HIDDEN> skribis:

> I=E2=80=99m using guix on a multi-machine setup with a single remote guix=
-daemon that
> can be reached via SSH. Thus GUIX_DAEMON_SOCKET=3Dssh://master.<domain> o=
n the
> compute nodes. Running `guix pull` on master works fine (the variable is =
not
> set here), but it does not on a compute node. Instead it fails with this =
error:
>
> ---snip---
> Backtrace:
>            1 (primitive-load "/gnu/store/n5wgvz287dwm62474mr42x34wl5j5wh7=
-compute-guix-derivation")
> In ice-9/eval.scm:
>    293:34  0 (_ #(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-user) 7f19dd21=
3140> (?)) #) # ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
>
> ice-9/eval.scm:293:34: Throw to key `srfi-34' with args `(#<condition &st=
ore-connection-error [file: "/var/guix/daemon-socket/socket" errno: 111] 7f=
19dba3a090>)'.
> guix pull: error: You found a bug: the program '/gnu/store/n5wgvz287dwm62=
474mr42x34wl5j5wh7-compute-guix-derivation'
> failed to compute the derivation for Guix (version: "aac148a87b9a79b9992b=
8b1a9d76c217175d4a88"; system: "x86_64-linux";
> host version: "aac148a87b9a79b9992b8b1a9d76c217175d4a88"; pull-version: 1=
).
> Please report it by email to <bug-guix@HIDDEN>.
> ---snap---
>
> Obviously the socket on that compute machine is not working, because it=
=E2=80=99s on an
> NFS share /var/guix belonging to master. But why is the socket considered=
 in
> the first place?

This is a limitation in =E2=80=98build-aux/build-self.scm=E2=80=99:

      ;; Use the port beneath the current store as the stdin of BUILD.  This
      ;; way, we know 'open-pipe*' will not close it on 'exec'.  If PORT is
      ;; not a file port (e.g., it's an SSH channel), then the subprocess's
      ;; stdin will actually be /dev/null.
      (let* ((pipe   (with-input-from-port port
                       (lambda ()
                          ;; =E2=80=A6
                                      (if (file-port? port)  ;<- here
                                          (number->string
                                           (logior major minor))
                                          "none"))))))

We could work around it by letting the =E2=80=98GUIX_DAEMON_SOCKET=E2=80=99=
 environment
variable through, along these lines:


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline

diff --git a/build-aux/build-self.scm b/build-aux/build-self.scm
index f2e785b7f1..18a78b5f41 100644
--- a/build-aux/build-self.scm
+++ b/build-aux/build-self.scm
@@ -400,6 +400,7 @@ files."
                                              #:pull-version pull-version))
                       (system (if system (return system) (current-system)))
                       (home -> (getenv "HOME"))
+                      (daemon-socket -> (getenv "GUIX_DAEMON_SOCKET"))
 
                       ;; Note: Use the deprecated names here because the
                       ;; caller might be Guix <= 0.16.0.
@@ -424,6 +425,8 @@ files."
                           (when home
                             ;; Inherit HOME so that 'xdg-directory' works.
                             (setenv "HOME" home))
+                          (when (and (not (file-port? port) daemon-socket))
+                            (setenv "GUIX_DAEMON_SOCKET" daemon-socket))
                           (open-pipe* OPEN_READ
                                       (derivation->output-path build)
                                       source system version

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


It=E2=80=99s a bit hacky though, and won=E2=80=99t work with old Guix revis=
ions anyway.

However, for your use case, you could perhaps simply pull on one machine
and use =E2=80=98guix copy=E2=80=99 to send Guix elsewhere?  Or even explic=
itly run
=E2=80=98guix pull=E2=80=99 on each node?

Thanks,
Ludo=E2=80=99.

--=-=-=--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#39925: `guix pull` failure in multi-machine setup
Resent-From: Lars-Dominik Braun <ldb@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 06 Mar 2020 07:41:02 +0000
Resent-Message-ID: <handler.39925.B39925.158348042311355 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 39925
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: 39925 <at> debbugs.gnu.org
Received: via spool by 39925-submit <at> debbugs.gnu.org id=B39925.158348042311355
          (code B ref 39925); Fri, 06 Mar 2020 07:41:02 +0000
Received: (at 39925) by debbugs.gnu.org; 6 Mar 2020 07:40:23 +0000
Received: from localhost ([127.0.0.1]:43999 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jA7ap-0002x5-Bs
	for submit <at> debbugs.gnu.org; Fri, 06 Mar 2020 02:40:23 -0500
Received: from mail-wm1-f54.google.com ([209.85.128.54]:38665)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ldb@HIDDEN>) id 1jA7am-0002wr-Lw
 for 39925 <at> debbugs.gnu.org; Fri, 06 Mar 2020 02:40:21 -0500
Received: by mail-wm1-f54.google.com with SMTP id u9so1230877wml.3
 for <39925 <at> debbugs.gnu.org>; Thu, 05 Mar 2020 23:40:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=leibniz-psychology-org.20150623.gappssmtp.com; s=20150623;
 h=date:from:to:cc:subject:message-id:references:mime-version
 :content-disposition:in-reply-to:user-agent;
 bh=9ISYhNNYabyeI54hYz1QhR24892U8qY7A8a3W9Gktyw=;
 b=1Ae6jHajmBNWAKlv8A2ALHtKMr6J7777Tc1lZgnkQs3Dk4lNyrtXnkaei5K7KgnqC3
 gq3cZc21oTZCaA7SrfGQ4y+288zAWyEHJeHRf87tKFg3CFq1RDN4JEqRD73ac5EhV9t+
 YCd/049tyn3cVmJMlIE84ASrF3CGI4i4ykrBhk9PE1NOri7o9FD1ecHs6UwrxKCe2MGt
 53reBmhjwfwueX6GnuibhUAqYHE4jbQgoxJTL6lVSzdchMoa2Q5Z9U11upjx800BjTyf
 W0XAAOjnwOBLSEqxq2VTatRGOaVL9Iqg+EDTmVTqGpO8aUCP5X1O9sDRTTMc+48wywT8
 pCjQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:from:to:cc:subject:message-id:references
 :mime-version:content-disposition:in-reply-to:user-agent;
 bh=9ISYhNNYabyeI54hYz1QhR24892U8qY7A8a3W9Gktyw=;
 b=ts+svcYKUBV9CJme/gkAGffOYoJVfzfDC9DZMkLrp4k0WwZIq6tvdvBD+c7njLwLe5
 xkrTwEqk4LzCRAEtW+dHumcTRtJ8beKIInPye4JjNXNyZl5kna6cVPwmnFhnhvTGkWiU
 wz7ZcjJVQRwstEz5IaruKENxLQLf5H1IEt0xxjAFHOnXHXgoJSeJO9L0/vzGJlm0MjeI
 oARXy1ekExS1T32LOXMV3Qzg6pU+0T7haA73WXxnZ9S8xc2maYl9BfKdkLfqWMRxL90n
 TUdNld7I5JOHWn5jevomyGN0+7yOThtQOEk3E0bMFgTgz9r2B21JZKz/IcNJi59X0tVe
 gr0Q==
X-Gm-Message-State: ANhLgQ0kve4SjYL3MORp4sQpNnBv6PEhBgmxv5Zg2YSGjXlM4TIaWxzC
 QoYEuQAGrKUBXA65dIW1ve6fnSo0IcCNzzNiysy66S5ZwW7I6ZBD65MUHOSdcEbwU5VFMFGpG9D
 97LsXCIcG05xupVtaBUJKZrYP4x0XMccbQtuAJGes27++KD0HU7tXGeOwL6Ijp3T8dnYVjH5JKS
 2Q2g8=
X-Google-Smtp-Source: ADFU+vuvFjvZijol84SY8k5n/vXNqIr4g5ClpFjnkZvHZ10PgCG9gxQlLMZQGI+34fZS+o1ddAJqVg==
X-Received: by 2002:a1c:7419:: with SMTP id p25mr2366504wmc.129.1583480414529; 
 Thu, 05 Mar 2020 23:40:14 -0800 (PST)
Received: from localhost (zpidlx9.uni-trier.de. [136.199.85.49])
 by smtp.gmail.com with ESMTPSA id b12sm20438235wro.66.2020.03.05.23.40.13
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 05 Mar 2020 23:40:14 -0800 (PST)
Date: Fri, 6 Mar 2020 08:40:18 +0100
From: Lars-Dominik Braun <ldb@HIDDEN>
Message-ID: <20200306074018.GC2909@zpidnp36>
References: <20200305133318.GB2909@zpidnp36>
 <87ftem7m6d.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="ABTtc+pdwF7KHXCz"
Content-Disposition: inline
In-Reply-To: <87ftem7m6d.fsf@HIDDEN>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Score: -1.5 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.5 (--)


--ABTtc+pdwF7KHXCz
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Ludo,

> This is a limitation in =E2=80=98build-aux/build-self.scm=E2=80=99: [=E2=
=80=A6]
I don=E2=80=99t understand what=E2=80=99s going on there unfortunately. Is =
there a high-level
explanation somewhere in the manual?

> We could work around it by letting the =E2=80=98GUIX_DAEMON_SOCKET=E2=80=
=99 environment
> variable through, along these lines:
Nope, that does not seem to be enough. After pulling on master doing the sa=
me
on a node (with a patched guix) yields:

---snip---
ice-9/eval.scm:293:34: Throw to key `srfi-34' with args `(#<condition &stor=
e-connection-error [file: "ssh://master.<domain>" errno: 95] 7f0f325f77b0>)=
'.
---snap---

Any ideas?

> +                          (when (and (not (file-port? port) daemon-socke=
t))
(when (and (not (file-port? port)) daemon-socket)
I assume:                        =E2=86=91

> [=E2=80=A6] and won=E2=80=99t work with old Guix revisions anyway.
That means `guix time-machine` could not go back beyond a commit that fixes=
 the
issue, correct? Not a concern for me.

> However, for your use case, you could perhaps simply pull on one machine
> and use =E2=80=98guix copy=E2=80=99 to send Guix elsewhere?
The store is the same on all machines, since /gnu/store, /var/guix and /home
are all shared via NFS. As far as I understand the manual `guix copy` would=
 be
useful for store to store transfers on different machines only.

Lars


--ABTtc+pdwF7KHXCz
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGzBAABCgAdFiEEyk+M9DfXR4/aBV/UQhN3ARo3hEYFAl5h/mAACgkQQhN3ARo3
hEaIigwAq3b8Oa2bLKiVr4ytMk4nMGyYYoUUs1onF1uzCIQQyxOdsvqizMCj+ouM
R1m4MxWyuFcVM33gbzrLcJN8pCIepMPt0GD9iZnybK8nQ4EBf5wZGTSJ+FfzmLbh
B7Cp7X1WkCfo8/SeUj0a3UwfvarzWYGOh2cELvrlnaQrkfDWA9gAElLPEbDQUu9T
BbfmNoAWyZD4nMHRhBW41q8CSDfGjIh7mrWeUyFiVMcKNQGF8AyttibSHSjM5hpa
snetCoMtIrWQWl6R9NSnjb3kg2kZxfvSN1fChmqkV7QblIeMEG0kxe3MSEoAswWn
ExG9rRRBCzEM+nlgV4lYZW7OcYB0F0p7EApldnmg4iO2zbcqacu4/sQb2NKnW4nA
Drem07JMexHnwHJBncVVUQj5A03sIgAtEXf34FapTFeUh7XVbuwPwDRCF1w5CM51
z9Ti3eE8FHaMFtGx2FKrZUiayzXaAddomxRV4I2jAT1VYKJuZgwhp5iCFSb5YCTM
v7v8Pxau
=Ta+7
-----END PGP SIGNATURE-----

--ABTtc+pdwF7KHXCz--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#39925: `guix pull` failure in multi-machine setup
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 06 Mar 2020 10:54:02 +0000
Resent-Message-ID: <handler.39925.B39925.158349199729644 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 39925
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Lars-Dominik Braun <ldb@HIDDEN>
Cc: 39925 <at> debbugs.gnu.org
Received: via spool by 39925-submit <at> debbugs.gnu.org id=B39925.158349199729644
          (code B ref 39925); Fri, 06 Mar 2020 10:54:02 +0000
Received: (at 39925) by debbugs.gnu.org; 6 Mar 2020 10:53:17 +0000
Received: from localhost ([127.0.0.1]:44137 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jAAbV-0007i3-0o
	for submit <at> debbugs.gnu.org; Fri, 06 Mar 2020 05:53:17 -0500
Received: from eggs.gnu.org ([209.51.188.92]:42715)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1jAAbT-0007hs-Ru
 for 39925 <at> debbugs.gnu.org; Fri, 06 Mar 2020 05:53:16 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:37947)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1jAAbO-0001eI-J8; Fri, 06 Mar 2020 05:53:10 -0500
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=59894 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1jAAbO-0003ob-6j; Fri, 06 Mar 2020 05:53:10 -0500
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
References: <20200305133318.GB2909@zpidnp36> <87ftem7m6d.fsf@HIDDEN>
 <20200306074018.GC2909@zpidnp36>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 17 =?UTF-8?Q?Vent=C3=B4se?= an 228 de la =?UTF-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Fri, 06 Mar 2020 11:53:08 +0100
In-Reply-To: <20200306074018.GC2909@zpidnp36> (Lars-Dominik Braun's message of
 "Fri, 6 Mar 2020 08:40:18 +0100")
Message-ID: <87wo7xoiuj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hello,

Lars-Dominik Braun <ldb@HIDDEN> skribis:

>> This is a limitation in =E2=80=98build-aux/build-self.scm=E2=80=99: [=E2=
=80=A6]
> I don=E2=80=99t understand what=E2=80=99s going on there unfortunately. I=
s there a high-level
> explanation somewhere in the manual?
>
>> We could work around it by letting the =E2=80=98GUIX_DAEMON_SOCKET=E2=80=
=99 environment
>> variable through, along these lines:
> Nope, that does not seem to be enough. After pulling on master doing the =
same
> on a node (with a patched guix) yields:
>
> ---snip---
> ice-9/eval.scm:293:34: Throw to key `srfi-34' with args `(#<condition &st=
ore-connection-error [file: "ssh://master.<domain>" errno: 95] 7f0f325f77b0=
>)'.
> ---snap---
>
> Any ideas?

Sounds like this ssh URI is not valid on the nodes, is that right?

>> +                          (when (and (not (file-port? port) daemon-sock=
et))
> (when (and (not (file-port? port)) daemon-socket)
> I assume:                        =E2=86=91
>
>> [=E2=80=A6] and won=E2=80=99t work with old Guix revisions anyway.
> That means `guix time-machine` could not go back beyond a commit that fix=
es the
> issue, correct? Not a concern for me.

Correct.

>> However, for your use case, you could perhaps simply pull on one machine
>> and use =E2=80=98guix copy=E2=80=99 to send Guix elsewhere?
> The store is the same on all machines, since /gnu/store, /var/guix and /h=
ome
> are all shared via NFS. As far as I understand the manual `guix copy` wou=
ld be
> useful for store to store transfers on different machines only.

Right.  So perhaps I don=E2=80=99t quite understand the use case.  What abo=
ut
simply pulling from one of these machines, if everything is shared over
NFS?

HTH,
Ludo=E2=80=99.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#39925: `guix pull` failure in multi-machine setup
Resent-From: Lars-Dominik Braun <ldb@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 06 Mar 2020 11:46:01 +0000
Resent-Message-ID: <handler.39925.B39925.15834951542271 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 39925
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: 39925 <at> debbugs.gnu.org
Received: via spool by 39925-submit <at> debbugs.gnu.org id=B39925.15834951542271
          (code B ref 39925); Fri, 06 Mar 2020 11:46:01 +0000
Received: (at 39925) by debbugs.gnu.org; 6 Mar 2020 11:45:54 +0000
Received: from localhost ([127.0.0.1]:44187 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jABQP-0000aZ-SV
	for submit <at> debbugs.gnu.org; Fri, 06 Mar 2020 06:45:54 -0500
Received: from mail-wm1-f51.google.com ([209.85.128.51]:51586)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ldb@HIDDEN>) id 1jABQN-0000aJ-DU
 for 39925 <at> debbugs.gnu.org; Fri, 06 Mar 2020 06:45:52 -0500
Received: by mail-wm1-f51.google.com with SMTP id a132so2051242wme.1
 for <39925 <at> debbugs.gnu.org>; Fri, 06 Mar 2020 03:45:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=leibniz-psychology-org.20150623.gappssmtp.com; s=20150623;
 h=date:from:to:cc:subject:message-id:references:mime-version
 :content-disposition:in-reply-to:user-agent;
 bh=quCN6TRlyE/+0r2mPNIU3ndC4lnUFKV61W5Qp7lSvt8=;
 b=vOWzmHVFAfYt82Z7sJnW41VXRLBXMVf371FPyeR/98a8F8LA4Jkoxg/CrrCjtfqpZE
 0EDiNjp/nGx8mvnpy8eK8s1v+O+oNqaX+A4/YF3O0qfLqh2NeaiMCVc23mFoEQVLJCsM
 su0hVDLrgPXP6lLj1Ob4RRcEL8/zmoFFGmoP/cGrIXjJQAA6KuePwt7EF5+ER9yD1Q40
 5eAE68YFncAEYOPwJKoQ1do5r2pwtdflmuWfYy7vAdFnCgaLdKykWG4s/zxX4o39uwTw
 l/FY3MPOhv3r+Of3lYPiD2KPgakxdm7kZ0fSYckyPFpFrW76IQCyojksAz6fGjFjXnl+
 vRVA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:from:to:cc:subject:message-id:references
 :mime-version:content-disposition:in-reply-to:user-agent;
 bh=quCN6TRlyE/+0r2mPNIU3ndC4lnUFKV61W5Qp7lSvt8=;
 b=hlhpQ7seaaUwGLv+9BqfKPQpuOIBS/06C3dRQg9etibnVHAbFPAUIXZAu8neI4Ve/N
 qFaBf+sn4TuOMBI2r0kU6ZCue0NakJTiR6OW2MDk4DTKipSoW0DoK0TNx4Jar6qvitSY
 r/gJY3d5iTVGsuWR3yFxA5wMm/A73pHyWB+rmtuB3GsaO5ijEB+/+4BlWEeQd1LuIBU5
 O3B+HPjU/HerezARn5iJ4jK0C+ebvjOwl89kmPAaEIv3p8ysuPcIrBwLbcw/iiIJjlAF
 2ycx6Acvdzrcydd3U049fu3us86BI4N6Ks13rpob6OMtENqUCGaOM/vz8xbCKue/tZoE
 Td1A==
X-Gm-Message-State: ANhLgQ0j6luB7ZoJ5peTUkFLGyoZuFh1sLVLJ+jHPHqCR7+v+3c066IW
 sNsNzS1oc4uJ2+ZhpaMd1OrqlguwerIDkYtuD7Z/709yJTt81sQEfOmozZYUto6ZNg5qWsGu+Ld
 37oKKR6vdS146060LACHnP/bOt53jtMWMFjTQXW82D9Tx8R6vOZ/w9Sq7dRuosVvbnbKpxSWM/E
 9RPbA=
X-Google-Smtp-Source: ADFU+vvY9rZLgDYWBf4iKjDDK0SFgRoRHwb5ApRpmB/m9wDnL6jOzccHNk2C3x/SlYml94Teks8n5A==
X-Received: by 2002:a1c:81c5:: with SMTP id c188mr3641879wmd.98.1583495145373; 
 Fri, 06 Mar 2020 03:45:45 -0800 (PST)
Received: from localhost (zpidlx9.uni-trier.de. [136.199.85.49])
 by smtp.gmail.com with ESMTPSA id l3sm48443308wrq.62.2020.03.06.03.45.44
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 06 Mar 2020 03:45:44 -0800 (PST)
Date: Fri, 6 Mar 2020 12:45:48 +0100
From: Lars-Dominik Braun <ldb@HIDDEN>
Message-ID: <20200306114548.GD2909@zpidnp36>
References: <20200305133318.GB2909@zpidnp36> <87ftem7m6d.fsf@HIDDEN>
 <20200306074018.GC2909@zpidnp36> <87wo7xoiuj.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="gE7i1rD7pdK0Ng3j"
Content-Disposition: inline
In-Reply-To: <87wo7xoiuj.fsf@HIDDEN>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Score: -1.5 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.5 (--)


--gE7i1rD7pdK0Ng3j
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

> Sounds like this ssh URI is not valid on the nodes, is that right?
I would consider it valid, since `ssh master.<domain>` and `guix build
<package>` both work just fine from the nodes. It=E2=80=99s just `guix pull=
`, which is
causing issues.

> Right.  So perhaps I don=E2=80=99t quite understand the use case.  What a=
bout
> simply pulling from one of these machines, if everything is shared over
> NFS?
Sure, that=E2=80=99s an option, but anyone who tries will get a strange err=
or message.
And it breaks the appeal of having a remote guix daemon in the first place,
that is being able to run `guix <whatever>` on any machine I log into. If t=
hat
is not the case (i.e. not for `guix pull`) it would be more consistent to a=
sk
users to SSH into a different machine every time they interact with guix. D=
oes
that explain my use case?

Lars


--gE7i1rD7pdK0Ng3j
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGzBAABCgAdFiEEyk+M9DfXR4/aBV/UQhN3ARo3hEYFAl5iN+YACgkQQhN3ARo3
hEYgiAv/cY2qHPkhZiV8IfcewbnLgKQaS6+BotFrsQYDt9ZISYcHGcSgWymCoGBY
nqZllY9lBedxntAW4t4hNox5nfg2UY5oJ3Sqk7BFP4lmbrIAm7AUIjaVN+FCWtSz
Gn0S66F90H8BTSya4DcjHZA2OQ7f+QzhJPRZqjVhUkAzkklteE251XeaA9ZRnzFY
vaPkiQrCFPzHiaiDtthKLpcHCzr2TR1ucr8OboChtv2FhuorYBMvc7n9njyWIMDr
mWy4ixmZp6MG/R3EmC8nE4E/9/0WGhV3EA+7Yq2ICpBmYrDv0AXRW5RqxV2TgG0L
I6VTwY5MDA+zD00Rdswv463AWPwjkEzoppucjZX+Nl6lG7h11J3UZhd4VsSqli41
g0WEO98LT86Zf6TFn1VzioUZxwRBmhekd7E/PTaYJxkDxtBzD4CCVKCl4Vh0K/j+
BfdsNzgx0O0Idwa2QogrrZZqHNLjuuNRVDHshn7Atb6TyvOeR2LlOsU8TvYOqprv
zzQbfiZn
=JCnG
-----END PGP SIGNATURE-----

--gE7i1rD7pdK0Ng3j--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#39925: `guix pull` failure in multi-machine setup
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 08 Mar 2020 11:41:02 +0000
Resent-Message-ID: <handler.39925.B39925.158366764225608 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 39925
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Lars-Dominik Braun <ldb@HIDDEN>
Cc: 39925 <at> debbugs.gnu.org
Received: via spool by 39925-submit <at> debbugs.gnu.org id=B39925.158366764225608
          (code B ref 39925); Sun, 08 Mar 2020 11:41:02 +0000
Received: (at 39925) by debbugs.gnu.org; 8 Mar 2020 11:40:42 +0000
Received: from localhost ([127.0.0.1]:47978 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jAuIT-0006ey-Ut
	for submit <at> debbugs.gnu.org; Sun, 08 Mar 2020 07:40:42 -0400
Received: from eggs.gnu.org ([209.51.188.92]:55252)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1jAuIS-0006em-Tr
 for 39925 <at> debbugs.gnu.org; Sun, 08 Mar 2020 07:40:41 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:52389)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1jAuIN-0001pp-MN; Sun, 08 Mar 2020 07:40:35 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35396 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1jAuIN-0001J7-AO; Sun, 08 Mar 2020 07:40:35 -0400
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
References: <20200305133318.GB2909@zpidnp36> <87ftem7m6d.fsf@HIDDEN>
 <20200306074018.GC2909@zpidnp36> <87wo7xoiuj.fsf@HIDDEN>
 <20200306114548.GD2909@zpidnp36>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 19 =?UTF-8?Q?Vent=C3=B4se?= an 228 de la =?UTF-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Sun, 08 Mar 2020 12:40:33 +0100
In-Reply-To: <20200306114548.GD2909@zpidnp36> (Lars-Dominik Braun's message of
 "Fri, 6 Mar 2020 12:45:48 +0100")
Message-ID: <87zhcraxce.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hi,

Lars-Dominik Braun <ldb@HIDDEN> skribis:

>> Sounds like this ssh URI is not valid on the nodes, is that right?
> I would consider it valid, since `ssh master.<domain>` and `guix build
> <package>` both work just fine from the nodes. It=E2=80=99s just `guix pu=
ll`, which is
> causing issues.

Oh it may be that we would also need to let =E2=80=98HOME=E2=80=99 through,=
 so that
~/.ssh/config is found, for example.  That could have undesirable side
effects that are best avoided, though (e.g., ~/.cache/guile would become
visible.)

>> Right.  So perhaps I don=E2=80=99t quite understand the use case.  What =
about
>> simply pulling from one of these machines, if everything is shared over
>> NFS?
> Sure, that=E2=80=99s an option, but anyone who tries will get a strange e=
rror message.

I agree that the error message is sub-optimal.  Not sure how to improve
on it (how can =E2=80=98build-self.scm=E2=80=99 know that it=E2=80=99s fail=
ing because of
that?).

> And it breaks the appeal of having a remote guix daemon in the first plac=
e,
> that is being able to run `guix <whatever>` on any machine I log into. If=
 that
> is not the case (i.e. not for `guix pull`) it would be more consistent to=
 ask
> users to SSH into a different machine every time they interact with guix.=
 Does
> that explain my use case?

Instead of:

  GUIX_DAEMON_SOCKET=3Dssh://host guix pull

You could run:

  ssh host guix pull

In fact, the former would probably not work because =E2=80=98guix pull=E2=
=80=99 modifies
the local /var/guix/profiles, not the one on the host that runs the
daemon.

So maybe the problem is that =E2=80=98GUIX_DAEMON_SOCKET=3Dssh://=E2=80=99 =
isn=E2=80=99t quite as
powerful as you thought.  :-)  It=E2=80=99s really just a way to talk to a =
remote
daemon, but =E2=80=98guix pull=E2=80=99, =E2=80=98guix package=E2=80=99, et=
c. also need to access
/var/guix/profiles.

Thanks,
Ludo=E2=80=99.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#39925: `guix pull` failure in multi-machine setup
Resent-From: Lars-Dominik Braun <ldb@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 09 Mar 2020 08:23:01 +0000
Resent-Message-ID: <handler.39925.B39925.158374218018462 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 39925
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: 39925 <at> debbugs.gnu.org
Received: via spool by 39925-submit <at> debbugs.gnu.org id=B39925.158374218018462
          (code B ref 39925); Mon, 09 Mar 2020 08:23:01 +0000
Received: (at 39925) by debbugs.gnu.org; 9 Mar 2020 08:23:00 +0000
Received: from localhost ([127.0.0.1]:49746 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jBDgi-0004ni-M1
	for submit <at> debbugs.gnu.org; Mon, 09 Mar 2020 04:23:00 -0400
Received: from mail-wr1-f45.google.com ([209.85.221.45]:38571)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ldb@HIDDEN>) id 1jBDgh-0004nV-Bw
 for 39925 <at> debbugs.gnu.org; Mon, 09 Mar 2020 04:22:59 -0400
Received: by mail-wr1-f45.google.com with SMTP id t11so9828187wrw.5
 for <39925 <at> debbugs.gnu.org>; Mon, 09 Mar 2020 01:22:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=leibniz-psychology-org.20150623.gappssmtp.com; s=20150623;
 h=date:from:to:cc:subject:message-id:references:mime-version
 :content-disposition:in-reply-to:user-agent;
 bh=yvdEgRMCTv7WhirpdKd5XPOcBoYWqNcYRQ5bjw+gCzw=;
 b=gJPHuxCwO4AOYaycD5MIvhGeKsPBq6O9mNZgtf1+pINOwThcaRZKqfqvkoRKqaa14d
 kv+O0Rp23B73s6EhOX9vdsHvP8XET4zuVwWjXzNUj8j7uBOpOwmvF7vgLyV5vPZ4rOg6
 r5D8VVGTUkYSoRE0YQaue9J3OOh4YLN3IR4SfPhK8S6Zg2t+cINXTQJ8YYGovUyGiOaj
 GBkMMXJtB2KgeVjZvZi04B2vL2EwbUE+rsLhX60YBDRuYgiq4CKfthGzlCCoXkiaE+kh
 0VWz9HpxRaCnTQyLMv+NPh5Bn4iFd9RG3IMcsinCglxxkxBGOgQAlMWoDxWf33EWvfs8
 DoEw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:from:to:cc:subject:message-id:references
 :mime-version:content-disposition:in-reply-to:user-agent;
 bh=yvdEgRMCTv7WhirpdKd5XPOcBoYWqNcYRQ5bjw+gCzw=;
 b=cmG/S+p718fI4cgXHsC/MOU8boZvmWjKC8QC51F3OQ38Ai7qKuRm3zfBPcCrekLE4J
 NRUMHjfqnYPsURp4Tz+vqRdx57takVlGRMkzyh/raPF8pljwzlV/EHc2j+u1j6RIpUbW
 PtBBMr8BhLfK2DCM8MaxzwBNU3m7S+WZdFWFHwSINxj2AR3r3W+f3iV/Rn+HEBxJDhrS
 zU8qz0zXL+GOnRAGD3Wb2PO/dzxZv7cMDKoy3dY1XgwKAii7Z9IVutjia+yLrqIsvnbi
 c/t7p0jVSIuyvTodaOJcBn8/s5xZ0+7FSWDJEpI0MDzj1/gjHw0EVXAPF+JAsp4AttfO
 7s5Q==
X-Gm-Message-State: ANhLgQ3KQnz3wDBnqF7DC1R2yOUjSt49567t5UIwoF51UY64i4tT3ZX8
 gafaa+xg17MGiPCz3F878/cKEk1DETN5Mlfe6OP/CZz46yW6H1lDQY09vqAkCS0+MTEeZy15xiK
 lHTiz1HncLm5ge55hANdJQWehSa6i1Gy71WZOA2312XW6c3j/YKf60THGjNvAX4ngQb1xsNqxmD
 mfj2k=
X-Google-Smtp-Source: ADFU+vtlsrNx3BTwLnf372VSp5IBdMdiFk/h4GgeTR1c5l8iCgR9dGfGcvsNBwxFysJp7iIeRtf53A==
X-Received: by 2002:adf:f443:: with SMTP id f3mr19457940wrp.111.1583742173403; 
 Mon, 09 Mar 2020 01:22:53 -0700 (PDT)
Received: from localhost (zpidlx9.uni-trier.de. [136.199.85.49])
 by smtp.gmail.com with ESMTPSA id l17sm7303421wmg.23.2020.03.09.01.22.52
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 09 Mar 2020 01:22:52 -0700 (PDT)
Date: Mon, 9 Mar 2020 09:22:53 +0100
From: Lars-Dominik Braun <ldb@HIDDEN>
Message-ID: <20200309082253.GA2917@zpidnp36>
References: <20200305133318.GB2909@zpidnp36> <87ftem7m6d.fsf@HIDDEN>
 <20200306074018.GC2909@zpidnp36> <87wo7xoiuj.fsf@HIDDEN>
 <20200306114548.GD2909@zpidnp36> <87zhcraxce.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4"
Content-Disposition: inline
In-Reply-To: <87zhcraxce.fsf@HIDDEN>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


--YiEDa0DAkWCtVeE4
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Ludo,

> Oh it may be that we would also need to let =E2=80=98HOME=E2=80=99 throug=
h, so that
> ~/.ssh/config is found, for example.  That could have undesirable side
> effects that are best avoided, though (e.g., ~/.cache/guile would become
> visible.)
shouldn=E2=80=99t be a problem since ~/.ssh/config does not exist for that =
user and
known hosts are globally declared in /etc/ssh/ssh_known_hosts (strace indic=
ates
that guile-ssh/libssh reads that file).

> I agree that the error message is sub-optimal.  Not sure how to improve
> on it (how can =E2=80=98build-self.scm=E2=80=99 know that it=E2=80=99s fa=
iling because of
> that?).
If I stop the daemon and `guix pull` it just says =E2=80=9Cguix pull: error=
: failed to
connect to `/var/guix/daemon-socket/socket': Connection refused=E2=80=9D. S=
omething
similar should do. I don=E2=80=99t know whether that=E2=80=99s possible tho=
ugh.

> You could run:
>   ssh host guix pull
Sure, that=E2=80=99s the only workaround I can think of right now.

> In fact, the former would probably not work because =E2=80=98guix pull=E2=
=80=99 modifies
> the local /var/guix/profiles, not the one on the host that runs the
> daemon.
Yes, /var/guix is shared via NFS too. Otherwise roaming between machines
wouldn=E2=80=99t work at all.

> So maybe the problem is that =E2=80=98GUIX_DAEMON_SOCKET=3Dssh://=E2=80=
=99 isn=E2=80=99t quite as
> powerful as you thought.  :-)
It is, it=E2=80=99s just a bug we have to fix :) Can I help you debug this =
somehow,
i.e. figure out where exactly the error message is coming from?

Cheers,
Lars


--YiEDa0DAkWCtVeE4
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGzBAABCgAdFiEEyk+M9DfXR4/aBV/UQhN3ARo3hEYFAl5l/NkACgkQQhN3ARo3
hEZd2gv/eZUJBo3JkZ+OkyjzuZ6sJR6iPVbjYyK0rvjOcyUF+frXNdMWjzRnUnMw
P/NdzmLezTMirA/fLfJRFSSRPwO+4hH5mZFSudUVOZ2leG3UHaX3UNWLx1rjHY5k
4EMa+hAo3Oi35v5hudZnizlWDbFN2j2eb8QyTfjfSBCbW3tAsWBt6vW7p4w+kvRY
9PXj1E0OrY6nvD+syf9qAmK5NGgk0nXsVx5C1LQyqG1XQnv8YaoJUNYpLb4ZzMfS
eyaxAbpj6S7feXOm7ZI/Qfh6bBQHNa/K4Y6JdgGo8cXLlPL6kN40GGdAHxHTrYxW
eati83IlqVLmFkVUBTc8wrxdUCCGV+VsE5o4Khg99twpCLZpFHmO51w4UYYcblGQ
7O3no1JPDyS+13gg2EoF7kG7KJltncKwQ7Yigxh5sCJ3n6au9XcMKyj6nH9gvh/u
bo9/cgjbpZ3fYXjfcP6Sjbvd+QcaJAizajLSFkVvSKQVk9JZ9ug1gd37UlwY7qWe
5FWI883U
=O3xE
-----END PGP SIGNATURE-----

--YiEDa0DAkWCtVeE4--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#39925: `guix pull` failure in multi-machine setup
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 09 Mar 2020 10:47:02 +0000
Resent-Message-ID: <handler.39925.B39925.158375079315143 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 39925
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Lars-Dominik Braun <ldb@HIDDEN>
Cc: 39925 <at> debbugs.gnu.org
Received: via spool by 39925-submit <at> debbugs.gnu.org id=B39925.158375079315143
          (code B ref 39925); Mon, 09 Mar 2020 10:47:02 +0000
Received: (at 39925) by debbugs.gnu.org; 9 Mar 2020 10:46:33 +0000
Received: from localhost ([127.0.0.1]:49863 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jBFvd-0003wA-Ee
	for submit <at> debbugs.gnu.org; Mon, 09 Mar 2020 06:46:33 -0400
Received: from eggs.gnu.org ([209.51.188.92]:54552)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1jBFvc-0003vs-BQ
 for 39925 <at> debbugs.gnu.org; Mon, 09 Mar 2020 06:46:32 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:39789)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1jBFvX-0000AK-0r; Mon, 09 Mar 2020 06:46:27 -0400
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=40422 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1jBFvW-0003fn-Fa; Mon, 09 Mar 2020 06:46:26 -0400
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
References: <20200305133318.GB2909@zpidnp36> <87ftem7m6d.fsf@HIDDEN>
 <20200306074018.GC2909@zpidnp36> <87wo7xoiuj.fsf@HIDDEN>
 <20200306114548.GD2909@zpidnp36> <87zhcraxce.fsf@HIDDEN>
 <20200309082253.GA2917@zpidnp36>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 20 =?UTF-8?Q?Vent=C3=B4se?= an 228 de la =?UTF-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Mon, 09 Mar 2020 11:46:24 +0100
In-Reply-To: <20200309082253.GA2917@zpidnp36> (Lars-Dominik Braun's message of
 "Mon, 9 Mar 2020 09:22:53 +0100")
Message-ID: <87fteh3iwv.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hi!

Lars-Dominik Braun <ldb@HIDDEN> skribis:

>> In fact, the former would probably not work because =E2=80=98guix pull=
=E2=80=99 modifies
>> the local /var/guix/profiles, not the one on the host that runs the
>> daemon.
> Yes, /var/guix is shared via NFS too. Otherwise roaming between machines
> wouldn=E2=80=99t work at all.
>
>> So maybe the problem is that =E2=80=98GUIX_DAEMON_SOCKET=3Dssh://=E2=80=
=99 isn=E2=80=99t quite as
>> powerful as you thought.  :-)
> It is, it=E2=80=99s just a bug we have to fix :) Can I help you debug thi=
s somehow,
> i.e. figure out where exactly the error message is coming from?

Well, I think you=E2=80=99re really asking for a new feature; we need more =
than
just talk to a remote daemon.

Updating profiles like =E2=80=98guix package=E2=80=99 and =E2=80=98guix pul=
l=E2=80=99 do involve two
things:

  1. building the profile=E2=80=94this is done by talking to the daemon;

  2. modifying things in /var/guix/profiles & co.

GUIX_DAEMON_SOCKET addresses #1 but not #2.

For #2, we would need to do something like Jakub did in (guix scripts
system reconfigure), where the effectul bits can be transparently
evaluated either locally or remotely.

But really, that=E2=80=99d be a brand new feature, so I=E2=80=99m marking i=
t as a
wishlist if you don=E2=80=99t mind.  :-)

Thanks,
Ludo=E2=80=99.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 9 Mar 2020 10:47:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 09 06:47:02 2020
Received: from localhost ([127.0.0.1]:49866 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jBFw5-0003wy-Pk
	for submit <at> debbugs.gnu.org; Mon, 09 Mar 2020 06:47:02 -0400
Received: from eggs.gnu.org ([209.51.188.92]:54627)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1jBFw3-0003wi-NS
 for control <at> debbugs.gnu.org; Mon, 09 Mar 2020 06:46:59 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:39790)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1jBFvy-0000p3-IV
 for control <at> debbugs.gnu.org; Mon, 09 Mar 2020 06:46:54 -0400
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=40426 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1jBFvx-0003g1-MQ
 for control <at> debbugs.gnu.org; Mon, 09 Mar 2020 06:46:54 -0400
Date: Mon, 09 Mar 2020 11:46:52 +0100
Message-Id: <87eeu13iw3.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
Subject: control message for bug #39925
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

retitle 39925 Allowing 'guix pull' to operate remotely
quit





Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 9 Mar 2020 10:47:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 09 06:47:10 2020
Received: from localhost ([127.0.0.1]:49872 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jBFwE-0003y5-1I
	for submit <at> debbugs.gnu.org; Mon, 09 Mar 2020 06:47:10 -0400
Received: from eggs.gnu.org ([209.51.188.92]:54667)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1jBFwC-0003xR-AW
 for control <at> debbugs.gnu.org; Mon, 09 Mar 2020 06:47:08 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:39793)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1jBFw7-000103-57
 for control <at> debbugs.gnu.org; Mon, 09 Mar 2020 06:47:03 -0400
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=40428 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1jBFw6-0003gJ-H9
 for control <at> debbugs.gnu.org; Mon, 09 Mar 2020 06:47:02 -0400
Date: Mon, 09 Mar 2020 11:47:01 +0100
Message-Id: <87d09l3ivu.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
Subject: control message for bug #39925
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

severity 39925 wishlist
quit






Last modified: Mon, 9 Mar 2020 11:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.