Introduction to rpcbind

The rpcbind program is a replacement for portmap. It is required for import or export of Network File System (NFS) shared directories.

This package is known to build and work properly using an LFS-7.4 platform.

Package Information

rpcbind Dependencies



User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/rpcbind

Installation of rpcbind

In order to get rpcbind to work properly, first fix /etc/services. As the root user:

sed -i 's/^sunrpc/rpcbind/' /etc/services

Install rpcbind by running the following commands:

./configure --prefix=/usr --bindir=/sbin --with-rpcuser=root &&

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

--with-rpcuser=root: This works around an error in the configure script.

Configuring rpcbind

Boot Script

Install the /etc/rc.d/init.d/rpcbind init script included in the blfs-bootscripts-20130908 package.

make install-rpcbind


Installed Program: rpcbind and rpcinfo
Installed Libraries: None
Installed Directories: None

Short Descriptions


is a server that converts RPC program numbers into universal addresses. It must be running on the host to be able to make RPC calls on a server on that machine.


makes an RPC call to an RPC server and reports data according to the requested options.

Last updated on 2013-08-27 09:57:37 -0700