source: general/genlib/keyutils.xml@ a73fc762

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since a73fc762 was a73fc762, checked in by Douglas R. Reno <renodr@…>, 9 months ago

Tags

  • Property mode set to 100644
File size: 7.0 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 keyutils-download-http "https://people.redhat.com/~dhowells/keyutils/keyutils-&keyutils-version;.tar.bz2">
8 <!ENTITY keyutils-download-ftp " ">
9 <!ENTITY keyutils-md5sum "919af7f33576816b423d537f8a8692e8">
10 <!ENTITY keyutils-size "96 KB">
11 <!ENTITY keyutils-buildsize "1.9 MB (with tests)">
12 <!ENTITY keyutils-time "less than 0.1 SBU (add 0.6 SBU for tests)">
13]>
14
15<sect1 id="keyutils" xreflabel="keyutils-&keyutils-version;">
16 <?dbhtml filename="keyutils.html"?>
17
18
19 <title>keyutils-&keyutils-version;</title>
20
21 <indexterm zone="keyutils">
22 <primary sortas="a-keyutils">keyutils</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to keyutils</title>
27
28 <para>
29 <application>Keyutils</application> is a set of utilities for managing
30 the key retention facility in the kernel, which can be used by
31 filesystems, block devices and more to gain and retain the authorization
32 and encryption keys required to perform secure operations.
33 </para>
34
35 &lfs120_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&keyutils-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&keyutils-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &keyutils-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &keyutils-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &keyutils-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &keyutils-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">keyutils Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Required</bridgehead>
74 <para role="required">
75 <xref linkend="mitkrb"/>
76 <!-- Without krb5 installed, a FTBFS occurs while trying to compile dns.afsdb.c.
77 It looks for profile.h, which is installed by krb5. -->
78 </para>
79
80
81 </sect2>
82
83 <sect2 role="installation">
84 <title>Installation of keyutils</title>
85
86 <para>
87 Install <application>keyutils</application> by running the following
88 commands:
89 </para>
90
91<screen><userinput>sed -i 's:$(LIBDIR)/$(PKGCONFIG_DIR):/usr/lib/pkgconfig:' Makefile &amp;&amp;
92make</userinput></screen>
93
94 <para>
95 To test the results, issue, as the
96 <systemitem class="username">root</systemitem> user:
97 </para>
98
99<screen role="root" remap="test"><userinput>make -k test</userinput></screen>
100
101 <para>
102 Note that several tests will fail if certain uncommon kernel options
103 were not used when the kernel was built. These include CONFIG_BIG_KEYS,
104 CONFIG_KEY_DH_OPERATIONS, and CONFIG_CRYPTO_DH.
105 </para>
106
107 <para>
108 Now, as the <systemitem class="username">root</systemitem> user:
109 </para>
110
111<screen role="root"><userinput>make NO_ARLIB=1 LIBDIR=/usr/lib BINDIR=/usr/bin SBINDIR=/usr/sbin install</userinput></screen>
112
113 </sect2>
114
115 <sect2 role="commands">
116 <title>Command Explanations</title>
117
118 <para>
119 <command>sed ... Makefile</command>: This command ensures the pkgconfig
120 file is placed in the correct directory.
121 </para>
122
123 <para>
124 <parameter>NO_ARLIB=1</parameter>: This make flag disables installing the
125 static library.
126 </para>
127
128 </sect2>
129
130 <sect2 role="configuration">
131 <title>Configuring keyutils</title>
132
133 <sect3 id="keyutils-config">
134 <title>Config Files</title>
135
136 <para>
137 <filename>/etc/request-key.conf</filename> and
138 <filename>/etc/request-key.d/*</filename>
139 </para>
140
141 <indexterm zone="keyutils keyutils-config">
142 <primary sortas="e-etc-request-key.conf">/etc/request-key.conf</primary>
143 </indexterm>
144
145 <indexterm zone="keyutils keyutils-config">
146 <primary sortas="e-etc-request-key.d">/etc/request-key.d/*</primary>
147 </indexterm>
148
149 </sect3>
150
151 </sect2>
152
153 <sect2 role="content">
154 <title>Contents</title>
155
156 <segmentedlist>
157 <segtitle>Installed Programs</segtitle>
158 <segtitle>Installed Library</segtitle>
159 <segtitle>Installed Directory</segtitle>
160
161 <seglistitem>
162 <seg>keyctl, key.dns_resolver, and request-key</seg>
163 <seg>libkeyutils.so</seg>
164 <seg>/etc/request-key.d and /usr/share/keyutils</seg>
165 </seglistitem>
166 </segmentedlist>
167
168 <variablelist>
169 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
170 <?dbfo list-presentation="list"?>
171 <?dbhtml list-presentation="table"?>
172
173 <varlistentry id="keyctl">
174 <term><command>keyctl</command></term>
175 <listitem>
176 <para>
177 controls the key management facility with a variety of subcommands
178 </para>
179 <indexterm zone="keyutils keyctl">
180 <primary sortas="b-keyctl">keyctl</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="key.dns_resolver">
186 <term><command>key.dns_resolver</command></term>
187 <listitem>
188 <para>
189 is invoked by <command>request-key</command> on behalf of the
190 kernel when kernel services (such as NFS, CIFS and AFS) need to
191 perform a hostname lookup and the kernel does not have the key
192 cached. It is not ordinarily intended to be called directly
193 </para>
194 <indexterm zone="keyutils key.dns_resolver">
195 <primary sortas="b-key.dns_resolver">key.dns_resolver</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 <varlistentry id="request-key">
201 <term><command>request-key</command></term>
202 <listitem>
203 <para>
204 is invoked by the kernel when the kernel is asked for a key that it
205 doesn't have immediately available. The kernel creates a temporary
206 key and then calls out to this program to instantiate it. It is
207 not intended to be called directly
208 </para>
209 <indexterm zone="keyutils request-key">
210 <primary sortas="b-request-keyt-key">request-key</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="libkeyutils">
216 <term><filename class="libraryfile">libkeyutils.so</filename></term>
217 <listitem>
218 <para>
219 contains the keyutils library API instantiation
220 </para>
221 <indexterm zone="keyutils libkeyutils">
222 <primary sortas="c-libkeyutils">libkeyutils.so</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 </variablelist>
228
229 </sect2>
230
231</sect1>
Note: See TracBrowser for help on using the repository browser.