Here's rpcbind.sfs. Please add to the Fatdog repo

versatile 64-bit multi-user Linux distribution

Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators

Post Reply
chiron
Posts: 21
Joined: Tue Jul 28, 2020 8:15 am
Location: Frankonia/EU
Has thanked: 4 times
Been thanked: 6 times

Here's rpcbind.sfs. Please add to the Fatdog repo

Post by chiron »

Hi,

I've been toying around with NFS recently again, and tried to set up an NFS Server with Fatdog 8.11. Found out, rpcbind is missing. Sourced the correct version (corresponding to NFS-Utils and libtirpc) from LFS and compiled. Additionally, two scripts in init.d were needed, nfs-server and rpcbind, also sourced from LFS site ans slightly modified.

Put it together in an sfs and attached it. My skills in building packages are, lets say, limited.

rpcbind.sfs
(100 KiB) Downloaded 57 times
Last edited by Flash on Thu Nov 18, 2021 1:29 am, edited 1 time in total.
Reason: Original title: [Request] Please add rpcbind, at least in the repo
step
Posts: 546
Joined: Thu Aug 13, 2020 9:55 am
Has thanked: 57 times
Been thanked: 198 times
Contact:

Re: [Request] Please add rpcbind, at least in the repo

Post by step »

Thank you, chiron. I just want to add that, If in addition to controlling the server's configuration you can also control the client's mounts, you should be able to mount the remote file system even without running rpcbind. The idea is to fix the service port number(s) on the server, and to specify these fixed port numbers in the mount command's mountport option on the clients. Of course, if the client is a zip-locked system where mount options can't be changed, this solution isn't feasible.

chiron
Posts: 21
Joined: Tue Jul 28, 2020 8:15 am
Location: Frankonia/EU
Has thanked: 4 times
Been thanked: 6 times

Re: [Request] Please add rpcbind, at least in the repo

Post by chiron »

Ah, OK, so it should run without rpcbind on the servers end?
The nfs-server script in init.d would be enough, given that it specifies a port to listen?
Could actually be that way, since I copied the four files over in one go and then it worked.
So one could disable rpcbind and it would still work. Didn't find much documentation on that, everywhere it says that rpcbind is required.

step
Posts: 546
Joined: Thu Aug 13, 2020 9:55 am
Has thanked: 57 times
Been thanked: 198 times
Contact:

Re: [Request] Please add rpcbind, at least in the repo

Post by step »

chiron wrote: Wed Nov 17, 2021 12:43 pm

Didn't find much documentation on that, everywhere it says that rpcbind is required.

The NFS mount command manual page https://www.mankier.com/5/nfs tells the different role rpcbind takes when mounting from NFS version 2/3 vs. NFS version 4. rpcbind is used when the proto and mountproto options don't say otherwise. This is so that a system administrator can set up NFS mounts through a firewall that blocks rpcbind's default port, in other words, without rpcbind. If proto/mountproto isn't specified then rpcbind is needed. To speed up your reading the linked manual page, you could search for all "rpcbind" matches at least through the section about firewalls. I found a short answer to the question "Is rcpbind required for an NFS client?" here tough it's good to scan the manual to get more perspective.

Post Reply

Return to “FatDog64”