mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 04:57:38 +00:00
a9517d383c
Update to linux-6.11.6. Update to libcap-2.71. Update to setuptools-75.3.0. Update to flit_core-3.10.0.
132 lines
3.6 KiB
XML
132 lines
3.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!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;
|
|
]>
|
|
|
|
<sect1 id="ch-system-sysklogd" role="wrap" revision="sysv">
|
|
<?dbhtml filename="sysklogd.html"?>
|
|
|
|
<sect1info condition="script">
|
|
<productname>sysklogd</productname>
|
|
<productnumber>&sysklogd-version;</productnumber>
|
|
<address>&sysklogd-url;</address>
|
|
</sect1info>
|
|
|
|
<title>Sysklogd-&sysklogd-version;</title>
|
|
|
|
<indexterm zone="ch-system-sysklogd">
|
|
<primary sortas="a-Sysklogd">Sysklogd</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title/>
|
|
|
|
<para>The Sysklogd package contains programs for logging system messages,
|
|
such as those emitted by the kernel when unusual things happen.</para>
|
|
|
|
<segmentedlist>
|
|
<segtitle>&buildtime;</segtitle>
|
|
<segtitle>&diskspace;</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>&sysklogd-fin-sbu;</seg>
|
|
<seg>&sysklogd-fin-du;</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Sysklogd</title>
|
|
|
|
<para>Prepare the package for compilation:</para>
|
|
|
|
<screen><userinput remap="configure">./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--runstatedir=/run \
|
|
--without-logger \
|
|
--docdir=/usr/share/doc/sysklogd-&sysklogd-version;</userinput></screen>
|
|
|
|
<para>Compile the package:</para>
|
|
|
|
<screen><userinput remap="make">make</userinput></screen>
|
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
<para>Install the package:</para>
|
|
|
|
<screen><userinput remap="install">make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 id="conf-sysklogd" role="configuration">
|
|
<title>Configuring Sysklogd</title>
|
|
|
|
<indexterm zone="conf-sysklogd">
|
|
<primary sortas="a-Sysklogd">Sysklogd</primary>
|
|
<secondary>configuring</secondary>
|
|
</indexterm>
|
|
|
|
<indexterm zone="conf-sysklogd">
|
|
<primary sortas="e-/etc/syslog.conf">/etc/syslog.conf</primary>
|
|
</indexterm>
|
|
|
|
<para>Create a new <filename>/etc/syslog.conf</filename> file by running the
|
|
following:</para>
|
|
|
|
<screen><userinput>cat > /etc/syslog.conf << "EOF"
|
|
<literal># Begin /etc/syslog.conf
|
|
|
|
auth,authpriv.* -/var/log/auth.log
|
|
*.*;auth,authpriv.none -/var/log/sys.log
|
|
daemon.* -/var/log/daemon.log
|
|
kern.* -/var/log/kern.log
|
|
mail.* -/var/log/mail.log
|
|
user.* -/var/log/user.log
|
|
*.emerg *
|
|
|
|
# Do not open any internet ports.
|
|
secure_mode 2
|
|
|
|
# End /etc/syslog.conf</literal>
|
|
EOF</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 id="contents-sysklogd" role="content">
|
|
<title>Contents of Sysklogd</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed program</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>syslogd</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="syslogd">
|
|
<term><command>syslogd</command></term>
|
|
<listitem>
|
|
<para>Logs the messages that system programs offer for logging [Every
|
|
logged message contains at least a date stamp and a hostname, and
|
|
normally the program's name too, but that depends on how trusting the
|
|
logging daemon is told to be.]</para>
|
|
<indexterm zone="ch-system-sysklogd syslogd">
|
|
<primary sortas="b-syslogd">syslogd</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|