source: networking/netprogs/rpcbind.xml@ ccded7e

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 ccded7e was cac276e, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Initial 10.1 tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24238 af4574ff-66df-0310-9fd7-8a98e5e911e0

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