Debian 5 - sysklog vs rsyslog

I'm a newbie trying to set up a linode running Debian 5.0 to run bind9 in a chroot "jail".

The instructions I'm following call for editing /etc/init.d/sysklogd so the line

SYSLOG=""

becomes

SYSLOG="-a /var/lib/named/dev/log"

But the node doesn't have sysklogd. It does have rsyslog, and the configuration file for that sets

RSYSLOG=rsyslog

Editing that seems less straightforward.

1. What is the difference between rsyslog and sysklog?

2. How do I edit rsyslog for the chroot configuration?

3 Replies

> 1. What is the difference between rsyslog and sysklog?
Rsyslog is the modern version of sysklogd – see https://wiki.ubuntu.com/FoundationsTeam/Specs/Rsyslogd for related comments.

> 2. How do I edit rsyslog for the chroot configuration?
Difficult to say without knowing the rest of the instructions you're following ;)

However, a good guess would be to create a new file named /etc/rsyslog.d/bind-chroot.conf, and insert the line

$AddUnixListenSocket /var/lib/named/dev/log

Cheers.

Thanks, I'll look at both.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct