From: ludo@gnu.org (Ludovic Courtès)
To: John Darrington <john@darrington.wattle.id.au>
Cc: guix-devel@gnu.org, John Darrington <jmd@gnu.org>
Subject: Re: [PATCH] gnu: Add rpc-daemon service
Date: Mon, 05 Sep 2016 22:38:36 +0200 [thread overview]
Message-ID: <877faqw08j.fsf@gnu.org> (raw)
In-Reply-To: <20160903145435.GA1561@jocasta.intra> (John Darrington's message of "Sat, 3 Sep 2016 16:54:35 +0200")
John Darrington <john@darrington.wattle.id.au> skribis:
> Also, the preferred way now is to expose service-type objects and not
> provide procedures like the one above. So you can omit this procedure
> and instead make sure to #:export (rpcbind-service-type).
>
> So what do I then put in /etc/config.scm ?
(operating-system
;; …
(services (cons (service rpcbind-service-type
(rpcbind-configuration …))
%base-services)))
> If you’re willing to play a bit, it would be nice to have a system test
> that spawns a GuixSD with this service, and then makes sure that, say,
> the ‘rpcinfo’ program is able to connect to the daemon. But that’s
> bonus. :-)
>
> Are there some examples of existing system tests?
Yes, in gnu/tests/*.scm.
See also <https://savannah.gnu.org/forum/forum.php?forum_id=8605> and
<https://www.gnu.org/software/guix/manual/html_node/Running-the-Test-Suite.html>.
HTH!
Ludo’.
next prev parent reply other threads:[~2016-09-05 20:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-03 6:39 [PATCH] gnu: Add rpc-daemon service John Darrington
2016-09-03 14:11 ` Ludovic Courtès
2016-09-03 14:54 ` John Darrington
2016-09-05 20:38 ` Ludovic Courtès [this message]
2016-09-05 19:22 ` John Darrington
2016-09-05 20:44 ` Ludovic Courtès
2016-09-06 16:50 ` John Darrington
2016-09-07 12:17 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877faqw08j.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=jmd@gnu.org \
--cc=john@darrington.wattle.id.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).