From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lars-Dominik Braun Subject: bug#39925: `guix pull` failure in multi-machine setup Date: Mon, 9 Mar 2020 09:22:53 +0100 Message-ID: <20200309082253.GA2917@zpidnp36> References: <20200305133318.GB2909@zpidnp36> <87ftem7m6d.fsf@gnu.org> <20200306074018.GC2909@zpidnp36> <87wo7xoiuj.fsf@gnu.org> <20200306114548.GD2909@zpidnp36> <87zhcraxce.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:45312) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBDgm-00005h-AJ for bug-guix@gnu.org; Mon, 09 Mar 2020 04:23:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBDgk-0008G9-8Y for bug-guix@gnu.org; Mon, 09 Mar 2020 04:23:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43773) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBDgk-0008G2-4u for bug-guix@gnu.org; Mon, 09 Mar 2020 04:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jBDgj-0004oA-W5 for bug-guix@gnu.org; Mon, 09 Mar 2020 04:23:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87zhcraxce.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 39925@debbugs.gnu.org --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--