source: networking/netprogs/rpcbind-systemd.xml@ 0da88ea3

7.6-blfs 7.6-systemd kde5-14269 kde5-14686 systemd-13485
Last change on this file since 0da88ea3 was 0da88ea3, checked in by Krejzi <krejzi@…>, 10 years ago

More systemd integration merged from Christopher's branch.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@13503 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.4 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-repo;/rpcbind/rpcbind-&rpcbind-version;.tar.bz2">
8 <!ENTITY rpcbind-download-ftp " ">
9 <!ENTITY rpcbind-md5sum "0a5f9c2142af814c55d957aaab3bcc68">
10 <!ENTITY rpcbind-size "109 KB">
11 <!ENTITY rpcbind-buildsize "1.9 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>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. </para>
35
36 &lfs75_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&rpcbind-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&rpcbind-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &rpcbind-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &rpcbind-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &rpcbind-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &rpcbind-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">rpcbind Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Required</bridgehead>
63 <para role="required">
64 <xref linkend="libtirpc"/>
65 </para>
66
67 <para condition="html" role="usernotes">User Notes:
68 <ulink url="&blfs-wiki;/rpcbind"/></para>
69
70 </sect2>
71
72 <sect2 role="installation">
73 <title>Installation of rpcbind</title>
74
75 <!-- Packages should adapt to standards, not the other way around -->
76 <para>In order to get <application>rpcbind</application> to work
77 properly, first fix the package to use correct service name:</para>
78
79<screen><userinput>sed -i "/servname/s:rpcbind:sunrpc:" src/rpcbind.c &amp;&amp;
80sed -i "/error = getaddrinfo/s:rpcbind:sunrpc:" src/rpcinfo.c</userinput></screen>
81
82 <para>Install <application>rpcbind</application> by running the following
83 commands:</para>
84
85 <!-- specifying rpcuser only needed in 0.2.1, already fixed upstream -->
86<screen><userinput>./configure --prefix=/usr --bindir=/sbin --with-rpcuser=root &amp;&amp;
87make</userinput></screen>
88
89 <para>This package does not come with a test suite.</para>
90
91 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
92
93<screen role="root"><userinput>make install</userinput></screen>
94
95 </sect2>
96
97 <sect2 role="commands">
98 <title>Command Explanations</title>
99
100 <para><command>--with-rpcuser=root</command>: This works around an error in
101 the configure script.</para>
102
103 </sect2>
104
105 <sect2 role="configuration">
106 <title>Configuring rpcbind</title>
107
108 <sect3 id="rpcbind-init">
109 <title>Systemd Units</title>
110
111 <para>
112 To start the <command>rpcbind</command> daemon at boot,
113 install the systemd unit from the <xref linkend="bootscripts"/>
114 package by running the following command as the
115 <systemitem class="username">root</systemitem> user:
116 </para>
117
118 <indexterm zone="rpcbind rpcbind-init">
119 <primary sortas="f-rpcbind">rpcbind</primary>
120 </indexterm>
121
122<screen role="root"><userinput>make install-rpcbind</userinput></screen>
123
124 </sect3>
125
126 </sect2>
127
128 <sect2 role="content">
129 <title>Contents</title>
130
131 <segmentedlist>
132 <segtitle>Installed Program</segtitle>
133 <segtitle>Installed Libraries</segtitle>
134 <segtitle>Installed Directories</segtitle>
135
136 <seglistitem>
137 <seg>rpcbind and rpcinfo</seg>
138 <seg>None</seg>
139 <seg>None</seg>
140 </seglistitem>
141 </segmentedlist>
142
143 <variablelist>
144 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
145 <?dbfo list-presentation="list"?>
146 <?dbhtml list-presentation="table"?>
147
148 <varlistentry id="rpcbind-prog">
149 <term><command>rpcbind</command></term>
150 <listitem>
151 <para>is a server that converts RPC program numbers into universal
152 addresses. It must be running on the host to be able to make RPC
153 calls on a server on that machine. </para>
154 <indexterm zone="rpcbind rpcbind-prog">
155 <primary sortas="b-rpcbind">rpcbind</primary>
156 </indexterm>
157 </listitem>
158 </varlistentry>
159
160 <varlistentry id="rpcinfo">
161 <term><command>rpcinfo</command></term>
162 <listitem>
163 <para>makes an RPC call to an RPC server and reports data according
164 to the requested options. </para>
165 <indexterm zone="rpcbind rpcinfo">
166 <primary sortas="b-rpcinfo">rpcinfo</primary>
167 </indexterm>
168 </listitem>
169 </varlistentry>
170
171 </variablelist>
172
173 </sect2>
174
175</sect1>
Note: See TracBrowser for help on using the repository browser.