From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNJr4-0006CS-8r for guix-patches@gnu.org; Tue, 20 Jun 2017 10:10:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNJr0-0007hK-A2 for guix-patches@gnu.org; Tue, 20 Jun 2017 10:10:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55633) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNJr0-0007hG-5c for guix-patches@gnu.org; Tue, 20 Jun 2017 10:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dNJr0-0001U3-16 for guix-patches@gnu.org; Tue, 20 Jun 2017 10:10:02 -0400 Subject: [bug#27426] [PATCH 0/2] 'guix-daemon --listen' can specify multiple interfaces Resent-Message-ID: From: ludovic.courtes@inria.fr (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170619160302.31557-1-ludo@gnu.org> Date: Tue, 20 Jun 2017 16:08:57 +0200 In-Reply-To: (Roel Janssen's message of "Tue, 20 Jun 2017 15:28:37 +0200") Message-ID: <87d19ybvk6.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Roel Janssen Cc: 27426@debbugs.gnu.org Hi Roel, Roel Janssen skribis: > Roel Janssen writes: > >> Hi Ludo=E2=80=99, >> >> Ludovic Court=C3=A8s writes: >> >>> Hello Guix! >>> >>> Commit 3dff90ce34448551bc82a6a7262837c0561a4691 added support for >>> guix:// URIs on the client side. This commit adds guix-daemon support >>> to specify TCP sockets to listen to, like this: >>> >>> # Listen on the loopback interface only, port 1234. >>> guix-daemon --listen=3Dlocalhost:1234 >>> >>> # Listen on the Unix-domain socket and on the public interface, >>> # port 44146. >>> guix-daemon --listen=3D/var/guix/daemon-socket/socket \ >>> --listen=3D0.0.0.0 >>> >>> The primary use case is clusters running a single =E2=80=98guix-daemon= =E2=80=99 instance >>> that can be accessed from other nodes on the local network. >>> >>> Feedback welcome! >> >> Thanks a lot for these patches! Today I tried to run the guix-daemon >> with it on our cluster. It works fine, except for the following (which >> might be unrelated): >> >> [root@hpcguix ~]$ /gnu/repositories/guix/guix-daemon --listen=3D/gnu/dae= mon-socket/socket --listen=3D: ... >> >> [roel@submit-node1 ~]$ guixr package -i samtools >> The following package will be installed: >> samtools 1.3.1 /gnu/store/syl74az7a5mw5f8r5jfldiddlyc3ry28-samt= ools-1.3.1 >> >> substitute: error: executing `/usr/local/libexec/guix/substitute': No su= ch file or directory >> guix package: error: build failed: substituter `substitute' died unexpec= tedly >> > > Ooh, nevermind.. This has to do with the 'pre-inst-env' script. OK. Thanks for testing! I=E2=80=99ll merge it soon if there aren=E2=80=99t mor= e comments on the interface or code. Ludo=E2=80=99.