Hello All,

I've tried to run the rsyslog with a chroot jail 'rcynic' so I've added the 
following statement to the /etc/rsyslog.conf file:

$AddUnixListenSocket                  /var/rcynic/dev/log

However, the log file has the following error message:

Mar 22 14:52:53 mycentos abrtd: Init complete, entering main loop
Mar 22 14:52:53 mycentos qpidd[1695]: 2012-03-22 14:52:53 notice Listening on 
TCP port 5672
Mar 22 14:52:53 mycentos qpidd[1695]: 2012-03-22 14:52:53 notice SSL plugin not 
enabled, you must set --ssl-cert-db to enable it.
Mar 22 14:52:53 mycentos qpidd[1695]: 2012-03-22 14:52:53 notice Broker running
Mar 22 15:03:55 mycentos kernel: Kernel logging (proc) stopped.
Mar 22 15:03:55 mycentos rsyslogd: [origin software="rsyslogd" 
swVersion="4.6.2" x-pid="1166" x-info="http://www.rsyslog.com";] exiting on 
signal 15.
Mar 22 15:03:55 mycentos rsyslogd: connot create '/var/rcynic/dev/log': 
Permission denied
Mar 22 15:03:55 mycentos kernel: imklog 4.6.2, log source = /proc/kmsg started.
Mar 22 15:03:55 mycentos rsyslogd: [origin software="rsyslogd" 
swVersion="4.6.2" x-pid="2291" x-info="http://www.rsyslog.com";] (re)start

Note the typo error 'connot'. If I change the file permissions then it defeats 
the purpose of the chroot mechanism. Do you have any suggestions on how to 
correctly setup the rsyslog for a chroot jail?


Thanks,
Manh


_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/

Reply via email to