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?
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
Reasonably Related Threads
- rsyslog for chrooted sftp users has stopped working -- Centos 6.6
- rsyslog for chrooted sftp users has stopped working -- Centos 6.6
- rsyslog.conf - why the "-" in this entry? mail.* -/var/log/maillog
- n00b rsyslog.conf question - how to separate local syslog from network appliance syslog?
- rsyslog.conf