[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: Add rpc-daemon service
From: |
John Darrington |
Subject: |
Re: [PATCH] gnu: Add rpc-daemon service |
Date: |
Sat, 3 Sep 2016 16:54:35 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Sat, Sep 03, 2016 at 04:11:53PM +0200, Ludovic Courtès wrote:
will do.
> --- /dev/null
> +++ b/gnu/services/nfs.scm
Missing license.
ok.
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 ?
When I make your suggested change, I get this error:
./pre-inst-env guix system reconfigure /etc/config.scm
guix system: error: failed to load '/etc/config.scm':
/etc/config.scm:60:24: In procedure #<procedure 4a4df00 ()>:
/etc/config.scm:60:24: In procedure module-lookup: Unbound variable:
rpcbind-service
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?
J'
--
Avoid eavesdropping. Send strong encryted email.
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.
signature.asc
Description: Digital signature