[syslog-ng] Chroot Occuring Too Early
Balazs Scheidler
bazsi at balabit.hu
Fri Dec 11 08:51:39 CET 2009
On Thu, 2009-12-10 at 14:16 -0800, Larry Low wrote:
> Building out a new syslog-ng server and it seems that in syslog-ng 3.0.5 is chrooting before reading the config file and setting up /dev/log. I ran the same configuration in syslog 2.0.7 without this problem.
>
> /opt/syslog-ng/sbin/syslog-ng --chroot /var/log
> Error opening configuration file; filename='/opt/syslog-ng/etc/syslog-ng.conf', error='No such file or directory (2)'
>
That's right, this was changed in 3.0 because with the earlier method,
you couldn't reload syslog-ng, you always had to use restart.
--
Bazsi
More information about the syslog-ng
mailing list