From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: GSoC project ideas Date: Wed, 25 Feb 2015 00:25:38 +0100 Message-ID: <87a9027uz1.fsf@gnu.org> References: <87bnkjgvol.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQOrK-0005pi-Rd for guix-devel@gnu.org; Tue, 24 Feb 2015 18:25:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQOrF-0004ys-Kt for guix-devel@gnu.org; Tue, 24 Feb 2015 18:25:46 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQOrF-0004yn-9q for guix-devel@gnu.org; Tue, 24 Feb 2015 18:25:41 -0500 In-Reply-To: (Ricardo Wurmus's message of "Tue, 24 Feb 2015 16:54:58 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: Guix-devel Ricardo Wurmus skribis: > Could using Guile SSH for build offloading be made a project or is this > the scope not big enough? Not big enough I guess (and it=E2=80=99s partly done in wip-guile-ssh, the missing bits being mostly in Guile-SSH itself.) > This might also be extended to allow Guix clients to communicate with a > remote Guix daemon, all operating on a shared store. This would be a > special case of offloading where the remote build machine is always used > and no local Guix daemon needs to run at all. Too small, I think. It just occurred to me that this may be possible to solve it simply with =E2=80=98socat=E2=80=99. On the machine that runs guix-daemon, run: socat TCP4-LISTEN:9999 UNIX:/var/guix/daemon-socket/socket On the other one, run: socat UNIX-LISTEN:$PWD/foo TCP4:the-other-machine:9999 & export GUIX_DAEMON_SOCKET=3D$PWD/foo Does it work for you? Thanks, Ludo=E2=80=99.