Web lists-archives.com

troubleshooting nfs-kernel-server on Raspbian Jessie




I am trying to set up an NFS export on a Ras Pi (Raspbian Jessie). 
Something seems to be missing and I need help troubleshooting it.

At first the NFS port 2049 was not even being opened. After much futzing 
around I discovered that if I manually start rpcbind with

$ sudo /etc/init.d/rpcbind start

then restart the nfs-kernel-server I can get it to work, but only if I 
spell out the full ip address of the client. For instance if I put this 
in /etc/exports it works:

/srv/export     192.168.1.1(rw,sync)

but not if I change it to this to allow other machines on the LAN to 
mount (I get: mount.nfs: access denied by server while mounting 
192.168.1.15:/srv/export):

/srv/export     192.168.1.*(rw,sync)

So I have two questions:
1) Why does rpcbind not start automatically on boot?

2) Why can I not specify a range of client addresses in /etc/exports  ?

Thanks,
-- 
Jason