Ignore:
Timestamp:
02/10/2006 07:29:18 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Children:
c634562
Parents:
a38ce7c
Message:

Ported r7369 from trunk to udev_update branch.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/udev_update/BOOK@7370 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/sysklogd.xml

    ra38ce7c rfd8a21f  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
     2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
     3  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
    34  <!ENTITY % general-entities SYSTEM "../general.ent">
    45  %general-entities;
    56]>
    6 <sect1 id="ch-system-sysklogd" xreflabel="Sysklogd" role="wrap">
    7 <title>Sysklogd-&sysklogd-version;</title>
    8 <?dbhtml filename="sysklogd.html"?>
    97
    10 <indexterm zone="ch-system-sysklogd"><primary sortas="a-Sysklogd">Sysklogd</primary></indexterm>
     8<sect1 id="ch-system-sysklogd" role="wrap">
     9  <?dbhtml filename="sysklogd.html"?>
    1110
    12 <sect2 role="package"><title/>
    13 <para>The Sysklogd package contains programs for logging system messages, such
    14 as those given by the kernel when unusual things happen.</para>
     11  <title>Sysklogd-&sysklogd-version;</title>
    1512
    16 <segmentedlist>
    17 <segtitle>&buildtime;</segtitle>
    18 <segtitle>&diskspace;</segtitle>
    19 <seglistitem><seg>0.1 SBU</seg><seg>704 KB</seg></seglistitem>
    20 </segmentedlist>
     13  <indexterm zone="ch-system-sysklogd">
     14    <primary sortas="a-Sysklogd">Sysklogd</primary>
     15  </indexterm>
    2116
    22 <segmentedlist>
    23 <segtitle>&dependencies;</segtitle>
    24 <seglistitem><seg>Binutils, Coreutils, GCC, Glibc, Make</seg></seglistitem>
    25 </segmentedlist>
    26 </sect2>
     17  <sect2 role="package">
     18    <title/>
    2719
    28 <sect2 role="installation">
    29 <title>Installation of Sysklogd</title>
     20    <para>The Sysklogd package contains programs for logging system messages,
     21    such as those given by the kernel when unusual things happen.</para>
    3022
    31 <para>The following patch fixes various issues, including a problem building
    32 Sysklogd with Linux 2.6 series kernels</para>
     23    <segmentedlist>
     24      <segtitle>&buildtime;</segtitle>
     25      <segtitle>&diskspace;</segtitle>
     26
     27      <seglistitem>
     28        <seg>0.1 SBU</seg>
     29        <seg>704 KB</seg>
     30      </seglistitem>
     31    </segmentedlist>
     32
     33    <segmentedlist>
     34      <segtitle>&dependencies;</segtitle>
     35
     36      <seglistitem>
     37        <seg>Binutils, Coreutils, GCC, Glibc, Make</seg>
     38      </seglistitem>
     39    </segmentedlist>
     40
     41  </sect2>
     42
     43  <sect2 role="installation">
     44    <title>Installation of Sysklogd</title>
     45
     46    <para>The following patch fixes various issues, including a problem building
     47    Sysklogd with Linux 2.6 series kernels</para>
    3348
    3449<screen><userinput>patch -Np1 -i ../&sysklogd-fixes-patch;</userinput></screen>
    3550
    36 <para>The following patch makes sysklogd treat bytes in the 0x80--0x9f range
    37 literally in the messages being logged, instead of replacing them with octal
    38 codes. Unpatched sysklogd would damage messages in the UTF-8 encoding.</para>
     51    <para>The following patch makes sysklogd treat bytes in the 0x80--0x9f range
     52    literally in the messages being logged, instead of replacing them with octal
     53    codes. Unpatched sysklogd would damage messages in the UTF-8 encoding.</para>
    3954
    4055<screen><userinput>patch -Np1 -i ../&sysklogd-8bit-patch;</userinput></screen>
    4156
    42 <para>Compile the package:</para>
     57    <para>Compile the package:</para>
    4358
    4459<screen><userinput>make</userinput></screen>
    4560
    46 <para>This package does not come with a test suite.</para>
     61    <para>This package does not come with a test suite.</para>
    4762
    48 <para>Install the package:</para>
     63    <para>Install the package:</para>
    4964
    5065<screen><userinput>make install</userinput></screen>
    5166
    52 </sect2>
     67  </sect2>
    5368
     69  <sect2 id="conf-sysklogd" role="configuration">
     70    <title>Configuring Sysklogd</title>
    5471
    55 <sect2 id="conf-sysklogd" role="configuration"><title>Configuring Sysklogd</title>
    56 <indexterm zone="conf-sysklogd">
    57 <primary sortas="a-Sysklogd">Sysklogd</primary>
    58 <secondary>configuring</secondary></indexterm>
     72    <indexterm zone="conf-sysklogd">
     73      <primary sortas="a-Sysklogd">Sysklogd</primary>
     74      <secondary>configuring</secondary>
     75    </indexterm>
    5976
    60 <indexterm zone="conf-sysklogd"><primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary></indexterm>
     77    <indexterm zone="conf-sysklogd">
     78      <primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary>
     79    </indexterm>
    6180
    62 <para>Create a new <filename>/etc/syslog.conf</filename> file by running the
    63 following:</para>
     81    <para>Create a new <filename>/etc/syslog.conf</filename> file by running the
     82    following:</para>
    6483
    6584<screen><userinput>cat &gt; /etc/syslog.conf &lt;&lt; "EOF"
     
    8099EOF</userinput></screen>
    81100
    82 </sect2>
     101  </sect2>
    83102
     103  <sect2 id="contents-sysklogd" role="content">
     104    <title>Contents of Sysklogd</title>
    84105
    85 <sect2 id="contents-sysklogd" role="content"><title>Contents of Sysklogd</title>
     106    <segmentedlist>
     107      <segtitle>Installed programs</segtitle>
    86108
    87 <segmentedlist>
    88 <segtitle>Installed programs</segtitle>
    89 <seglistitem><seg>klogd and syslogd</seg></seglistitem>
    90 </segmentedlist>
     109      <seglistitem>
     110        <seg>klogd and syslogd</seg>
     111      </seglistitem>
     112    </segmentedlist>
    91113
    92 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
    93 <?dbfo list-presentation="list"?>
    94 <?dbhtml list-presentation="table"?>
     114    <variablelist>
     115      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
     116      <?dbfo list-presentation="list"?>
     117      <?dbhtml list-presentation="table"?>
    95118
    96 <varlistentry id="klogd">
    97 <term><command>klogd</command></term>
    98 <listitem>
    99 <para>A system daemon for intercepting and logging kernel messages</para>
    100 <indexterm zone="ch-system-sysklogd klogd"><primary sortas="b-klogd">klogd</primary></indexterm>
    101 </listitem>
    102 </varlistentry>
     119      <varlistentry id="klogd">
     120        <term><command>klogd</command></term>
     121        <listitem>
     122          <para>A system daemon for intercepting and logging kernel messages</para>
     123          <indexterm zone="ch-system-sysklogd klogd">
     124            <primary sortas="b-klogd">klogd</primary>
     125          </indexterm>
     126        </listitem>
     127      </varlistentry>
    103128
    104 <varlistentry id="syslogd">
    105 <term><command>syslogd</command></term>
    106 <listitem>
    107 <para>Logs the messages that system programs offer for logging. Every logged
    108 message contains at least a date stamp and a hostname, and normally the
    109 program's name too, but that depends on how trusting the logging daemon is told
    110 to be</para>
    111 <indexterm zone="ch-system-sysklogd syslogd"><primary sortas="b-syslogd">syslogd</primary></indexterm>
    112 </listitem>
    113 </varlistentry>
    114 </variablelist>
     129      <varlistentry id="syslogd">
     130        <term><command>syslogd</command></term>
     131        <listitem>
     132          <para>Logs the messages that system programs offer for logging. Every
     133          logged message contains at least a date stamp and a hostname, and
     134          normally the program's name too, but that depends on how trusting the
     135          logging daemon is told to be</para>
     136          <indexterm zone="ch-system-sysklogd syslogd">
     137            <primary sortas="b-syslogd">syslogd</primary>
     138          </indexterm>
     139        </listitem>
     140      </varlistentry>
    115141
    116 </sect2>
     142    </variablelist>
     143
     144  </sect2>
    117145
    118146</sect1>
Note: See TracChangeset for help on using the changeset viewer.