GNU bug report logs - #27426
[PATCH 0/2] 'guix-daemon --listen' can specify multiple interfaces

Previous Next

Package: guix-patches;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Mon, 19 Jun 2017 16:04:02 UTC

Severity: normal

Tags: patch

Done: ludovic.courtes <at> inria.fr (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ludovic.courtes <at> inria.fr (Ludovic Courtès)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#27426: closed ([PATCH 0/2] 'guix-daemon --listen' can specify
 multiple interfaces)
Date: Thu, 22 Jun 2017 09:03:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 22 Jun 2017 11:02:29 +0200
with message-id <87a850e6oq.fsf <at> inria.fr>
and subject line Re: [bug#27426] [PATCH 0/2] 'guix-daemon --listen' can specify multiple interfaces
has caused the debbugs.gnu.org bug report #27426,
regarding [PATCH 0/2] 'guix-daemon --listen' can specify multiple interfaces
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
27426: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27426
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: guix-patches <at> gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>
Subject: [PATCH 0/2] 'guix-daemon --listen' can specify multiple interfaces
Date: Mon, 19 Jun 2017 18:03:02 +0200
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=localhost:1234

  # Listen on the Unix-domain socket and on the public interface,
  # port 44146.
  guix-daemon --listen=/var/guix/daemon-socket/socket \
              --listen=0.0.0.0

The primary use case is clusters running a single ‘guix-daemon’ instance
that can be accessed from other nodes on the local network.

Feedback welcome!

Ludo’.

Ludovic Courtès (2):
  store: Define a default port for TCP connections.
  daemon: '--listen' can be passed several times, can specify TCP
    endpoints.

 doc/guix.texi                 |  39 +++++-
 guix/store.scm                |  12 +-
 nix/nix-daemon/guix-daemon.cc | 152 +++++++++++++++++++++--
 nix/nix-daemon/nix-daemon.cc  | 283 +++++++++++++++++++-----------------------
 tests/guix-daemon.sh          |  12 ++
 5 files changed, 317 insertions(+), 181 deletions(-)

-- 
2.13.1



[Message part 3 (message/rfc822, inline)]
From: ludovic.courtes <at> inria.fr (Ludovic Courtès)
To: Roel Janssen <roel <at> gnu.org>
Cc: 27426-done <at> debbugs.gnu.org
Subject: Re: [bug#27426] [PATCH 0/2] 'guix-daemon --listen' can specify
 multiple interfaces
Date: Thu, 22 Jun 2017 11:02:29 +0200
Hi!

Roel Janssen <roel <at> gnu.org> skribis:

> I tested it with the pre-inst-env and it works fine.
> Looking forward to see this in upstream!

Pushed, thanks!

Ludo’.


This bug report was last modified 7 years and 337 days ago.

Previous Next


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