#### Linux From Scratch - Version 7.9

### Chapter 6. Installing Basic System Software

- Prev

  Patch-2.7.5

- Next

  Sysvinit-2.88dsf

- Up
- Home

# 6.63. Sysklogd-1.5.1

The Sysklogd package contains programs for logging system messages, such as those given by the kernel when unusual things happen.

Approximate build time: less than 0.1 SBU
Required disk space: 0.6 MB

## 6.63.1. Installation of Sysklogd

First, fix a problem that causes a segmentation fault under some conditions in klogd:

    sed -i '/Error loading kernel symbols/{n;n;d}' ksym_mod.c

Compile the package:

    make

This package does not come with a test suite.

Install the package:

    make BINDIR=/sbin install

## 6.63.2. Configuring Sysklogd

Create a new `/etc/syslog.conf` file by running the following:

    cat > /etc/syslog.conf << "EOF"
    # 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 *

    # End /etc/syslog.conf
    EOF

## 6.63.3. Contents of Sysklogd

Installed programs: klogd and syslogd

### Short Descriptions

klogd | A system daemon for intercepting and logging kernel messages
syslogd | 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 bei.]

- Prev

  Patch-2.7.5

- Next

  Sysvinit-2.88dsf

- Up
- Home