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 12.4 platform.
Download (HTTP): https://downloads.sourceforge.net/rpcbind/rpcbind-1.2.8.tar.bz2
Download SHA256 Sum: 964132c389918e8964d7334936b6dd10ef025b300c6b29e693ba0f29550e3de5
Download MD5 sum: dc7988c2307999525619983df72cb957
Download size: 128 KB
Estimated disk space required: 1.6 MB
Estimated build time: less than 0.1 SBU
Prepare rpcbind by running the following commands:
There should be a dedicated user and group to take control
of the rpcbind daemon after it is started.
Issue the following commands as the root user:
groupadd -g 28 rpc
useradd -c "RPC Bind Daemon Owner" -d /dev/null -g rpc \
-s /bin/false -u 28 rpcIn order to get rpcbind to work properly, first fix the package to use correct service name:
sed -i "/servname/s:rpcbind:sunrpc:" src/rpcbind.c
./configure --prefix=/usr \
--bindir=/usr/sbin \
--enable-warmstarts \
--with-rpcuser=rpcNow Build rpcbind, issue:
make
This package does not come with a test suite.
Now Install rpcbind, as the root user:
make install
--with-rpcuser=rpc:
This switch is used so the rpcbind daemon will
run as an unprivileged user instead of the root user.