[ddf46c4] | 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 |
|
---|
[c674dab3] | 7 | <!ENTITY haveged-download-http "https://github.com/jirka-h/haveged/archive/v&haveged-version;/haveged-&haveged-version;.tar.gz">
|
---|
[ddf46c4] | 8 | <!ENTITY haveged-download-ftp " ">
|
---|
[9ade54a3] | 9 | <!ENTITY haveged-md5sum "f756474201bec9a46b41e8712f79468a">
|
---|
[59d70fc] | 10 | <!ENTITY haveged-size "488 KB">
|
---|
[c674dab3] | 11 | <!ENTITY haveged-buildsize "21 MB (with tests)">
|
---|
[e433be0] | 12 | <!ENTITY haveged-time "0.1 SBU (with tests)">
|
---|
[ddf46c4] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="haveged" xreflabel="Haveged-&haveged-version;">
|
---|
| 16 | <?dbhtml filename="haveged.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>Haveged-&haveged-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="haveged">
|
---|
| 25 | <primary sortas="a-Haveged">Haveged</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to Haveged</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | The <application>Haveged</application> package contains a daemon
|
---|
| 33 | that generates an unpredictable stream of random numbers
|
---|
| 34 | and feeds the /dev/random device.
|
---|
| 35 | </para>
|
---|
| 36 |
|
---|
[88fdf09] | 37 | &lfs110a_checked;
|
---|
[ddf46c4] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&haveged-download-http;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&haveged-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download MD5 sum: &haveged-md5sum;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download size: &haveged-size;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated disk space required: &haveged-buildsize;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated build time: &haveged-time;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <para condition="html" role="usernotes">User Notes:
|
---|
| 74 | <ulink url="&blfs-wiki;/haveged"/>
|
---|
| 75 | </para>
|
---|
| 76 | </sect2>
|
---|
| 77 |
|
---|
| 78 | <sect2 role="installation">
|
---|
| 79 | <title>Installation of Haveged</title>
|
---|
| 80 |
|
---|
[47274444] | 81 | <para>
|
---|
| 82 | Install <application>Haveged</application> by running the following
|
---|
| 83 | commands:
|
---|
| 84 | </para>
|
---|
[ddf46c4] | 85 |
|
---|
[9ade54a3] | 86 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[ddf46c4] | 87 | make</userinput></screen>
|
---|
| 88 |
|
---|
| 89 | <para>
|
---|
| 90 | To test the results, issue: <command>make check</command>.
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
| 93 | <para>
|
---|
| 94 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 95 | </para>
|
---|
| 96 |
|
---|
| 97 | <screen role="root"><userinput>make install &&
|
---|
| 98 | mkdir -pv /usr/share/doc/haveged-&haveged-version; &&
|
---|
| 99 | cp -v README /usr/share/doc/haveged-&haveged-version;</userinput></screen>
|
---|
| 100 |
|
---|
[c612fc3] | 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="configuration">
|
---|
| 104 | <title>Configuring haveged</title>
|
---|
| 105 |
|
---|
[ddf46c4] | 106 | <sect3 id="haveged-init">
|
---|
[f586237] | 107 | <title><phrase revision="sysv">Boot Script</phrase>
|
---|
| 108 | <phrase revision="systemd">Systemd Unit</phrase></title>
|
---|
[ddf46c4] | 109 |
|
---|
[f586237] | 110 | <para revision="sysv">
|
---|
[ddf46c4] | 111 | If you want the <application>Haveged</application> daemon to
|
---|
| 112 | start automatically when the system is booted, install the
|
---|
| 113 | <filename>/etc/rc.d/init.d/haveged</filename> init script included
|
---|
[f586237] | 114 | in the <xref linkend="bootscripts"/> package (as the
|
---|
| 115 | <systemitem class="username">root</systemitem> user):
|
---|
| 116 | </para>
|
---|
| 117 |
|
---|
| 118 | <para revision="systemd">
|
---|
| 119 | If you want the <application>Haveged</application> daemon to
|
---|
| 120 | start automatically when the system is booted, install the
|
---|
| 121 | <filename>haveged.service</filename> unit included in the
|
---|
| 122 | <xref linkend="systemd-units"/> package (as the
|
---|
| 123 | <systemitem class="username">root</systemitem> user):
|
---|
[ddf46c4] | 124 | </para>
|
---|
| 125 |
|
---|
| 126 | <indexterm zone="haveged haveged-init">
|
---|
| 127 | <primary sortas="f-haveged">haveged</primary>
|
---|
| 128 | </indexterm>
|
---|
| 129 |
|
---|
| 130 | <screen role="root"><userinput>make install-haveged</userinput></screen>
|
---|
| 131 |
|
---|
| 132 | </sect3>
|
---|
| 133 |
|
---|
| 134 | </sect2>
|
---|
| 135 |
|
---|
| 136 | <sect2 role="content">
|
---|
| 137 | <title>Contents</title>
|
---|
| 138 |
|
---|
| 139 | <segmentedlist>
|
---|
| 140 | <segtitle>Installed Programs</segtitle>
|
---|
| 141 | <segtitle>Installed Libraries</segtitle>
|
---|
| 142 | <segtitle>Installed Directory</segtitle>
|
---|
| 143 |
|
---|
| 144 | <seglistitem>
|
---|
| 145 | <seg>
|
---|
| 146 | haveged
|
---|
| 147 | </seg>
|
---|
| 148 | <seg>
|
---|
| 149 | libhavege.so
|
---|
| 150 | </seg>
|
---|
| 151 | <seg>
|
---|
[d72b599] | 152 | /usr/include/haveged and
|
---|
| 153 | /usr/share/doc/haveged-&haveged-version;
|
---|
[ddf46c4] | 154 | </seg>
|
---|
| 155 | </seglistitem>
|
---|
| 156 | </segmentedlist>
|
---|
| 157 |
|
---|
| 158 | <variablelist>
|
---|
| 159 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 160 | <?dbfo list-presentation="list"?>
|
---|
| 161 | <?dbhtml list-presentation="table"?>
|
---|
| 162 |
|
---|
| 163 | <varlistentry id="haveged-prog">
|
---|
| 164 | <term><command>haveged</command></term>
|
---|
| 165 | <listitem>
|
---|
| 166 | <para>
|
---|
[f3429309] | 167 | is a daemon that generates an unpredictable stream of random
|
---|
| 168 | numbers harvested from the indirect effects of hardware events
|
---|
[ddf46c4] | 169 | based on hidden processor states (caches, branch predictors, memory
|
---|
[4c24eb0a] | 170 | translation tables, etc)
|
---|
[ddf46c4] | 171 | </para>
|
---|
| 172 | <indexterm zone="haveged haveged-prog">
|
---|
| 173 | <primary sortas="b-haveged-prog">haveged</primary>
|
---|
| 174 | </indexterm>
|
---|
| 175 | </listitem>
|
---|
| 176 | </varlistentry>
|
---|
| 177 |
|
---|
| 178 | </variablelist>
|
---|
| 179 |
|
---|
| 180 | </sect2>
|
---|
| 181 |
|
---|
| 182 | </sect1>
|
---|