Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Jul 02, 2009 5:04 pm 
Offline
Junior Member

Joined: Wed Jul 01, 2009 3:19 pm
Posts: 43
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?


Top
   
 Post subject:
PostPosted: Thu Jul 02, 2009 6:12 pm 
Offline
Senior Member

Joined: Mon Jun 16, 2008 6:33 pm
Posts: 151
Quote:
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.

Quote:
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

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


Cheers.


Top
   
 Post subject:
PostPosted: Fri Jul 03, 2009 12:39 pm 
Offline
Junior Member
User avatar

Joined: Tue Apr 28, 2009 8:57 pm
Posts: 38
Location: Pale Blue Dot
Hi chernevik, maybe you'll find useful this howto:

Configuring bind9 in a chroot, lenny version.


Top
   
 Post subject:
PostPosted: Fri Jul 03, 2009 12:55 pm 
Offline
Junior Member

Joined: Wed Jul 01, 2009 3:19 pm
Posts: 43
Thanks, I'll look at both.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group