glfs/general/genlib/keyutils.xml
Bruce Dubbs 244f7dfe46 Tags
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19129 af4574ff-66df-0310-9fd7-8a98e5e911e0
2017-08-29 03:59:34 +00:00

193 lines
6.0 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY keyutils-download-http "http://people.redhat.com/~dhowells/keyutils/keyutils-&keyutils-version;.tar.bz2">
<!ENTITY keyutils-download-ftp " ">
<!ENTITY keyutils-md5sum "3771676319bc7b84b1549b5c63ff5243">
<!ENTITY keyutils-size "76 KB">
<!ENTITY keyutils-buildsize "1.4 MB">
<!ENTITY keyutils-time "less than 0.1 SBU">
]>
<sect1 id="keyutils" xreflabel="keyutils-&keyutils-version;">
<?dbhtml filename="keyutils.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>keyutils-&keyutils-version;</title>
<indexterm zone="keyutils">
<primary sortas="a-keyutils">keyutils</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to keyutils</title>
<para>Keyutils is a set of utilities for managing the key retention
facility in the kernel, which can be used by filesystems, block devices and
more to gain and retain the authorization and encryption keys required to
perform secure operations.</para>
&lfs81_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&keyutils-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&keyutils-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &keyutils-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &keyutils-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &keyutils-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &keyutils-time;</para>
</listitem>
</itemizedlist>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/keyutils"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of keyutils</title>
<para>Install <application>keyutils</application> by running the following
commands:</para>
<screen><userinput>make</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make NO_ARLIB=1 install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<parameter>NO_ARLIB=1</parameter>: This make flag disables installing the
static library.
</para>
</sect2>
<sect2 role="configuration">
<title>Configuring keyutils</title>
<sect3 id="keyutils-config">
<title>Config Files</title>
<para>
<filename>/etc/request-key.conf</filename> and
<filename>/etc/request-key.d/*</filename>
</para>
<indexterm zone="keyutils keyutils-config">
<primary sortas="e-etc-request-key.conf">/etc/request-key.conf</primary>
</indexterm>
<indexterm zone="keyutils keyutils-config">
<primary sortas="e-etc-request-key.d">/etc/request-key.d/*</primary>
</indexterm>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>keyctl, key.dns_resolver, and request-key</seg>
<seg>libkeyutils.so</seg>
<seg>/etc/request-key.d and /usr/share/keyutils</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="keyctl">
<term><command>keyctl</command></term>
<listitem>
<para>is to control the key management facility in various ways
using a variety of subcommands.</para>
<indexterm zone="keyutils keyctl">
<primary sortas="b-keyctl">keyctl</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="key.dns_resolver">
<term><command>key.dns_resolver</command></term>
<listitem>
<para>
is invoked by <command>request-key</command> on behalf of the
kernel when kernel services (such as NFS, CIFS and AFS) need to
perform a hostname lookup and the kernel does not have the key
cached. It is not ordinarily intended to be called directly.
</para>
<indexterm zone="keyutils key.dns_resolver">
<primary sortas="b-key.dns_resolver">key.dns_resolver</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="request-key">
<term><command>request-key</command></term>
<listitem>
<para>
is invoked by the kernel when the kernel is asked for a key that it
doesn't have immediately available. The kernel creates a temporary
key and then calls out to this program to instantiate it. It is
not intended to be called directly.
</para>
<indexterm zone="keyutils request-key">
<primary sortas="b-request-keyt-key">request-key</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libkeyutils">
<term><filename class='libraryfile'>libkeyutils.so</filename></term>
<listitem>
<para>
contains the keyutils library API instantiation.
</para>
<indexterm zone="keyutils libkeyutils">
<primary sortas="c-libkeyutils">libkeyutils.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>