source: general/genlib/keyutils.xml@ d56e7df

10.0 10.1 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 d56e7df was d56e7df, checked in by Pierre Labastie <pieere@…>, 4 years ago

Format general libraries

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

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