[Nix-dev] [PATCH] NFSv4 support

Rickard Nilsson rickard.nilsson at telia.com
Thu Dec 22 12:36:19 CET 2011


Hi,

In my experimentations with shared Nix stores and/or db, I needed a  
working NFSv4 client, which NixOS doesn't have. So I fixed that. I have  
attached two rather large patches, one for nixos and one for nixpkgs. What  
I have done is, basically, that I have replaced "portmap" with "rpcbind",  
added "libnfsidmap", updated various libraries and utilities, and adjusted  
the NFS upstart jobs to start rpcbind and rpc.idmapd.

This seems to be working fine for me, but I have really only tested the  
client, not the server (I mounted NFSv4 shares from a non-NixOS machine).  
And I have not done anything to the existing portmapper tests, which will  
likely fail. So, I'm asking people interested in NFSv4 to try this patch  
out, and I'm asking people more versed in NixOS than me to point out what  
I must fix before this can be merged.


Best regards,
   Rickard Nilsson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nfs4_nixos.patch
Type: application/octet-stream
Size: 9641 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20111222/eeec0ddf/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nfs4_nixpkgs.patch
Type: application/octet-stream
Size: 8466 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20111222/eeec0ddf/attachment-0001.obj 


More information about the nix-dev mailing list