[CentOS] chrooted bind -- addition to rsyslog.conf

2013-02-14 Thread Robert Moskowitz
In /etc/sysconfig/named that gets installed along with bind-chroot there 
is a comment that basically says:

Don't forget to add $AddUnixListenSocket /var/named/chroot/dev/log 
line to your /etc/rsyslog.conf file.

All these little touches you need to find out about.  But is there any 
order in rsyslog.conf?  Do I just add this line to the end of it?


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] chrooted bind -- addition to rsyslog.conf

2013-02-14 Thread Steven Tardy
On 02/14/2013 04:00 PM, Robert Moskowitz wrote:
 In /etc/sysconfig/named that gets installed along with bind-chroot there
 is a comment that basically says:

 Don't forget to add $AddUnixListenSocket /var/named/chroot/dev/log
 line to your /etc/rsyslog.conf file.

 All these little touches you need to find out about.  But is there any
 order in rsyslog.conf?  Do I just add this line to the end of it?

add your file in /etc/rsyslog.d/*whatever*.conf and restart rsyslog.
[user@dns01 ~]# cat /etc/rsyslog.d/MSU.named.chroot.conf
$AddUnixListenSocket /var/named/chroot/dev/log
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] chrooted bind -- addition to rsyslog.conf

2013-02-14 Thread Robert Moskowitz

On 02/14/2013 05:58 PM, Steven Tardy wrote:
 On 02/14/2013 04:00 PM, Robert Moskowitz wrote:
 In /etc/sysconfig/named that gets installed along with bind-chroot there
 is a comment that basically says:

 Don't forget to add $AddUnixListenSocket /var/named/chroot/dev/log
 line to your /etc/rsyslog.conf file.

 All these little touches you need to find out about.  But is there any
 order in rsyslog.conf?  Do I just add this line to the end of it?
 add your file in /etc/rsyslog.d/*whatever*.conf and restart rsyslog.
 [user@dns01 ~]# cat /etc/rsyslog.d/MSU.named.chroot.conf
 $AddUnixListenSocket /var/named/chroot/dev/log

Got it. this makes more sense than what the comments tell you to do.

thanks.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos