From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: Re: [PATCH] gnu: Add rpc-daemon service Date: Sat, 3 Sep 2016 16:54:35 +0200 Message-ID: <20160903145435.GA1561@jocasta.intra> References: <1472884782-27956-1-git-send-email-jmd@gnu.org> <871t11kr86.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgCLF-0001bn-CK for guix-devel@gnu.org; Sat, 03 Sep 2016 10:54:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgCLD-0007Ap-CG for guix-devel@gnu.org; Sat, 03 Sep 2016 10:54:44 -0400 Content-Disposition: inline In-Reply-To: <871t11kr86.fsf@gnu.org> 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" To: Ludovic =?iso-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org, John Darrington --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 03, 2016 at 04:11:53PM +0200, Ludovic Court=C3=A8s wrote: will do. =20 > --- /dev/null > +++ b/gnu/services/nfs.scm =20 Missing license. ok. =20 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 #: /etc/config.scm:60:24: In procedure module-lookup: Unbound variable: rpcbin= d-service =20 =20 If you=E2=80=99re willing to play a bit, it would be nice to have a sy= stem test that spawns a GuixSD with this service, and then makes sure that, say, the =E2=80=98rpcinfo=E2=80=99 program is able to connect to the daemon= =2E But that=E2=80=99s bonus. :-) =20 Are there some examples of existing system tests? J' =20 --=20 Avoid eavesdropping. Send strong encryted email. PGP Public key ID: 1024D/2DE827B3=20 fingerprint =3D 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlfK5CsACgkQimdxnC3oJ7MAoQCfQxCcjrpDZQEcBPp7QGNE4f26 NToAn38fGOs+jqJkMuuwUZlwb5m7J8Jo =8r2X -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh--