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

Thu Feb 14 23:27:20 UTC 2013
Robert Moskowitz <rgm at htt-consult.com>

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 at 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.