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

Thu Feb 14 22:58:51 UTC 2013
Steven Tardy <sjt5 at its.msstate.edu>

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