[syslog-ng] syslog-ng in a freeBSD jail

Carson Gaspar carson at taltos.org
Tue Nov 29 23:24:47 CET 2005



--On Tuesday, November 29, 2005 08:06:38 PM +0000 markzero 
<syslog-ng at darklogik.org> wrote:

> I am running FreeBSD 6.0-RELEASE. I have syslog-ng running on the
> host system and have specified in the config that it should create
> a log socket within the jail (an actual FreeBSD jail(), not a plain
> chroot):
>
>     unix-dgram("/usr/jail/hosts/ssh/root/var/run/log"
>              owner("syslogng")
>              group("syslogng")
>              perm(0600));
>
> The socket is created successfully, I recieve no errors but I also
> recieve no logs from processes running in the jail. Do I also need
> a syslog-ng process running inside the jail?

No, but you do need to configure your syslog-ng process to read from 
"/usr/jail/hosts/ssh/root/var/run/log".

-- 
Carson



More information about the syslog-ng mailing list