source: networking/netprogs/rpcbind.xml@ 8761710

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 xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 8761710 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 18 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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