[syslog-ng] Chrooted program and syslog-ng ...

Sandor Geller wildy at balabit.hu
Tue Oct 10 19:14:37 CEST 2006


Sébastien CRAMATTE wrote:
> Hello list
> 
> I would like to know how can I use syslog-ng with chrooted program  as
> bind or dhcpd ?

Simply add a new source for every chroot:

source s_chrooted_bind {
	unix-stream("/chroot/bind/dev/log");
};

And configure your log statements to include this source too.

Another approach is to add the streams to the already existing sources.

-- 
Sandor Geller
wildy at balabit.hu


More information about the syslog-ng mailing list