%general-entities; ]> $Date$ rpcbind-&rpcbind-version; rpcbind 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. &lfs101_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &rpcbind-md5sum; Download size: &rpcbind-size; Estimated disk space required: &rpcbind-buildsize; Estimated build time: &rpcbind-time; Additional Downloads Required patch: rpcbind Dependencies Required User Notes: Installation of rpcbind 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 rpc In 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 Install rpcbind by running the following commands: patch -Np1 -i ../rpcbind-&rpcbind-version;-vulnerability_fixes-1.patch && ./configure --prefix=/usr \ --bindir=/sbin \ --sbindir=/sbin \ --with-rpcuser=root \ --enable-warmstarts \ --without-systemdsystemunitdir && make patch -Np1 -i ../rpcbind-&rpcbind-version;-vulnerability_fixes-1.patch && ./configure --prefix=/usr \ --bindir=/sbin \ --sbindir=/sbin \ --enable-warmstarts \ --with-rpcuser=rpc && make 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. --without-systemdsystemunitdir: This version of BLFS does not support systemd. --with-rpcuser=rpc: This switch is used so the rpcbind daemon will run as an unprivileged user instead of the root user. Configuring rpcbind <phrase revision="sysv">Boot Script</phrase> <phrase revision="systemd">Systemd Unit</phrase> Install the /etc/rc.d/init.d/rpcbind init script rpcbind.service unit included in the package. rpcbind rpcbind.service make install-rpcbind Contents Installed Program Installed Libraries Installed Directories rpcbind and rpcinfo None None Short Descriptions rpcbind 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 rpcbind rpcinfo makes an RPC call to an RPC server and reports data according to the requested options rpcinfo