source: networking/netprogs/rpcbind.xml@ d0987c01

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d0987c01 was d0987c01, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Update to rpcbind-1.2.6

  • Property mode set to 100644
File size: 7.7 KB
RevLine 
[d40e1a4]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[8dfc5c3]7 <!ENTITY rpcbind-download-http "&sourceforge-dl;/rpcbind/rpcbind-&rpcbind-version;.tar.bz2">
[d40e1a4]8 <!ENTITY rpcbind-download-ftp " ">
[d0987c01]9 <!ENTITY rpcbind-md5sum "2d84ebbb7d6fb1fc3566d2d4b37f214b">
[9c7bc2a]10 <!ENTITY rpcbind-size "124 KB">
[d0987c01]11 <!ENTITY rpcbind-buildsize "1.6 MB">
[d40e1a4]12 <!ENTITY rpcbind-time "less than 0.1 SBU">
13]>
14
15<sect1 id="rpcbind" xreflabel="rpcbind-&rpcbind-version;">
16 <?dbhtml filename="rpcbind.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>rpcbind-&rpcbind-version;</title>
23
24 <indexterm zone="rpcbind">
25 <primary sortas="a-rpcbind">rpcbind</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to rpcbind</title>
30
[b51fe6e]31 <para>
32 The <application>rpcbind</application> program is a replacement for
33 <application>portmap</application>. It is required for import or export
34 of Network File System (NFS) shared directories.
35 </para>
[d40e1a4]36
[cac276e]37 &lfs101_checked;
[d40e1a4]38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
[b51fe6e]42 <para>
43 Download (HTTP): <ulink url="&rpcbind-download-http;"/>
44 </para>
[d40e1a4]45 </listitem>
46 <listitem>
[b51fe6e]47 <para>
48 Download (FTP): <ulink url="&rpcbind-download-ftp;"/>
49 </para>
[d40e1a4]50 </listitem>
51 <listitem>
[b51fe6e]52 <para>
53 Download MD5 sum: &rpcbind-md5sum;
54 </para>
[d40e1a4]55 </listitem>
56 <listitem>
[b51fe6e]57 <para>
58 Download size: &rpcbind-size;
59 </para>
[d40e1a4]60 </listitem>
61 <listitem>
[b51fe6e]62 <para>
63 Estimated disk space required: &rpcbind-buildsize;
64 </para>
[d40e1a4]65 </listitem>
66 <listitem>
[b51fe6e]67 <para>
68 Estimated build time: &rpcbind-time;
69 </para>
[d40e1a4]70 </listitem>
71 </itemizedlist>
[4df25bd0]72
[a4b8fa34]73 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing="compact">
75 <listitem>
76 <para>
77 Required patch:
[4df25bd0]78 <ulink url="&patch-root;/rpcbind-&rpcbind-version;-vulnerability_fixes-1.patch"/>
[a4b8fa34]79 </para>
80 </listitem>
81 </itemizedlist>
[4df25bd0]82
[d40e1a4]83 <bridgehead renderas="sect3">rpcbind Dependencies</bridgehead>
84
85 <bridgehead renderas="sect4">Required</bridgehead>
86 <para role="required">
87 <xref linkend="libtirpc"/>
88 </para>
89
90 <para condition="html" role="usernotes">User Notes:
91 <ulink url="&blfs-wiki;/rpcbind"/></para>
92
93 </sect2>
94
95 <sect2 role="installation">
96 <title>Installation of rpcbind</title>
97
[7b478500]98 <para revision="systemd">
99 There should be a dedicated user and group to take control
100 of the <command>rpcbind</command> daemon after it is started.
101 Issue the following commands as the
102 <systemitem class="username">root</systemitem> user:
103 </para>
104
105<screen role="root" revision="systemd"><userinput>groupadd -g 28 rpc &amp;&amp;
106useradd -c "RPC Bind Daemon Owner" -d /dev/null -g rpc \
107 -s /bin/false -u 28 rpc</userinput></screen>
108
[e0ac6b0]109 <!-- Packages should adapt to standards, not the other way around -->
[b51fe6e]110 <para>
111 In order to get <application>rpcbind</application> to work
112 properly, first fix the package to use correct service name:
113 </para>
[ed6a289c]114
[e6b0c4d]115<screen><userinput>sed -i "/servname/s:rpcbind:sunrpc:" src/rpcbind.c</userinput></screen>
[ed6a289c]116
[b51fe6e]117 <para>
118 Install <application>rpcbind</application> by running the following
119 commands:
120 </para>
[d40e1a4]121
[4df25bd0]122<screen revision="sysv"><userinput>patch -Np1 -i ../rpcbind-&rpcbind-version;-vulnerability_fixes-1.patch &amp;&amp;
[4bf60a36]123
[4df25bd0]124./configure --prefix=/usr \
125 --bindir=/sbin \
[299c44c]126 --sbindir=/sbin \
[4df25bd0]127 --with-rpcuser=root \
128 --enable-warmstarts \
129 --without-systemdsystemunitdir &amp;&amp;
[d40e1a4]130make</userinput></screen>
131
[74c70faa]132<screen revision="systemd"><userinput>patch -Np1 -i ../rpcbind-&rpcbind-version;-vulnerability_fixes-1.patch &amp;&amp;
133
134./configure --prefix=/usr \
135 --bindir=/sbin \
[299c44c]136 --sbindir=/sbin \
[74c70faa]137 --enable-warmstarts \
138 --with-rpcuser=rpc &amp;&amp;
[3c7bd00]139make</userinput></screen>
140
[b51fe6e]141 <para>
142 This package does not come with a test suite.
143 </para>
[d40e1a4]144
[b51fe6e]145 <para>
146 Now, as the <systemitem class="username">root</systemitem> user:
147 </para>
[d40e1a4]148
149<screen role="root"><userinput>make install</userinput></screen>
150
151 </sect2>
152
[67f5f160]153 <sect2 role="commands">
154 <title>Command Explanations</title>
155
[b51fe6e]156 <para revision="sysv">
157 <command>--with-rpcuser=root</command>: This works
158 around an error in the configure script.
159 </para>
[67f5f160]160
[b51fe6e]161 <para revision="sysv">
162 <command>--without-systemdsystemunitdir</command>:
163 This version of BLFS does not support systemd.
164 </para>
[522641a]165
[b51fe6e]166 <para revision="systemd">
167 <parameter>--with-rpcuser=rpc</parameter>:
168 This switch is used so the <command>rpcbind</command> daemon will
169 run as an unprivileged user instead of the
170 <systemitem class="username">root</systemitem> user.
171 </para>
[7b478500]172
[67f5f160]173 </sect2>
174
[d40e1a4]175 <sect2 role="configuration">
176 <title>Configuring rpcbind</title>
177
178 <sect3 id="rpcbind-init">
[7b478500]179 <title><phrase revision="sysv">Boot Script</phrase>
180 <phrase revision="systemd">Systemd Unit</phrase></title>
181
[b51fe6e]182 <para>
183 Install the
184 <phrase revision="sysv"><filename>/etc/rc.d/init.d/rpcbind</filename>
185 init script</phrase>
186 <phrase revision="systemd"><filename>rpcbind.service</filename>
187 unit</phrase> included in the
188 <xref linkend="bootscripts" revision="sysv"/>
189 <xref linkend="systemd-units" revision="systemd"/> package.
190 </para>
[d40e1a4]191
[7b478500]192 <indexterm zone="rpcbind rpcbind-init" revision="sysv">
[b51fe6e]193 <primary sortas="f-rpcbind">rpcbind</primary>
[d40e1a4]194 </indexterm>
195
[7b478500]196 <indexterm zone="rpcbind rpcbind-init" revision="systemd">
[b51fe6e]197 <primary sortas="f-rpcbind">rpcbind.service</primary>
[7b478500]198 </indexterm>
199
[d40e1a4]200<screen role="root"><userinput>make install-rpcbind</userinput></screen>
201
202 </sect3>
203
204 </sect2>
205
206 <sect2 role="content">
207 <title>Contents</title>
208
209 <segmentedlist>
210 <segtitle>Installed Program</segtitle>
211 <segtitle>Installed Libraries</segtitle>
212 <segtitle>Installed Directories</segtitle>
213
214 <seglistitem>
215 <seg>rpcbind and rpcinfo</seg>
216 <seg>None</seg>
217 <seg>None</seg>
218 </seglistitem>
219 </segmentedlist>
220
221 <variablelist>
222 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
223 <?dbfo list-presentation="list"?>
224 <?dbhtml list-presentation="table"?>
225
226 <varlistentry id="rpcbind-prog">
227 <term><command>rpcbind</command></term>
228 <listitem>
[b51fe6e]229 <para>
230 is a server that converts RPC program numbers into universal
231 addresses. It must be running on the host to be able to make RPC
[4c24eb0a]232 calls on a server on that machine
[b51fe6e]233 </para>
[d40e1a4]234 <indexterm zone="rpcbind rpcbind-prog">
235 <primary sortas="b-rpcbind">rpcbind</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 <varlistentry id="rpcinfo">
241 <term><command>rpcinfo</command></term>
242 <listitem>
[b51fe6e]243 <para>
244 makes an RPC call to an RPC server and reports data according
[4c24eb0a]245 to the requested options
[b51fe6e]246 </para>
[d40e1a4]247 <indexterm zone="rpcbind rpcinfo">
248 <primary sortas="b-rpcinfo">rpcinfo</primary>
249 </indexterm>
250 </listitem>
251 </varlistentry>
252
253 </variablelist>
254
255 </sect2>
256
257</sect1>
Note: See TracBrowser for help on using the repository browser.