From mboxrd@z Thu Jan  1 00:00:00 1970
From: Lars-Dominik Braun <ldb@leibniz-psychology.org>
Subject: bug#39925: `guix pull` failure in multi-machine setup
Date: Fri, 6 Mar 2020 08:40:18 +0100
Message-ID: <20200306074018.GC2909@zpidnp36>
References: <20200305133318.GB2909@zpidnp36>
 <87ftem7m6d.fsf@gnu.org>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="ABTtc+pdwF7KHXCz"
Return-path: <bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org>
Received: from eggs.gnu.org ([2001:470:142:3::10]:51719)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1jA7bU-0001lE-H7
 for bug-guix@gnu.org; Fri, 06 Mar 2020 02:41:05 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1jA7bT-0000wQ-Fw
 for bug-guix@gnu.org; Fri, 06 Mar 2020 02:41:04 -0500
Received: from debbugs.gnu.org ([209.51.188.43]:38026)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1jA7bT-0000vb-CP
 for bug-guix@gnu.org; Fri, 06 Mar 2020 02:41:03 -0500
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1jA7bS-0002y3-8S
 for bug-guix@gnu.org; Fri, 06 Mar 2020 02:41:02 -0500
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-Message-ID: <handler.39925.B39925.158348042311355@debbugs.gnu.org>
Content-Disposition: inline
In-Reply-To: <87ftem7m6d.fsf@gnu.org>
List-Id: Bug reports for GNU Guix <bug-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-guix>
List-Post: <mailto:bug-guix@gnu.org>
List-Help: <mailto:bug-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=subscribe>
Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org
Sender: "bug-Guix" <bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org>
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
Cc: 39925@debbugs.gnu.org


--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--