Package: syslog-ng
Version: 2.0.0-1

http://www.balabit.com/dl/html/syslog-ng-admin-guide_en.html/ch08s01.html#sourcecommonopts

declares a couple of options, which have been previously available as
global options or only as local option for some sources (e.g. log_prefix
has been available for the file()-source only).

http://osdir.com/ml/syslog-ng/2005-06/msg00138.html also verifies this
reading, that such log_prefix became a general source-specific option
in syslog-ng 1.9.x, available to all source drivers.

However, a configuration like this:

source s_chroot{
        unix-stream("/home/jail1/dev/log" log_prefix("jail1: "));
};

is rejected by syslog-ng with the error message "syntax error at 91"
(use "syslog-ng -s" to verify the config).


To resolve this issue for me, I've recompiled the source by fetching
http://www.balabit.com/downloads/files/syslog-ng/sources/stable/src/syslog-ng-2.0.5.tar.gz,
 installing the depency packages (devscripts debhelper libevtlog-dev 
libnet1-dev libglib2.0-dev pkg-config) from etch and recompiled the
package by running "dpkg-buildpackage -b -uc" on the source
before installing it using "dpkg -i ../syslog-ng_2.0.5_i386.deb".
The recompiled package works without this issue.

I didn't find any update on this in the upstream changelog or NEWS-file,
so maybe this issue only shows up on Debian boxes (or has been silently
fixed in a release later than 2.0.0).


I'm using Debian GNU/Linux 4.0, kernel 2.6.22.4 and libc6 2.3.6.ds1-13.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to