syslog-ng 2.0.7 major problem
Hi, I've been biten by a non-trivial change in the 2.0.x branch again, so there's a quite severe problem in 2.0.7: - it does not close and reopen files when a SIGHUP is received. This causes problems for log rotation, especially if the files are compressed after rotation. The problematic patch is this: http://git.balabit/cgi-bin/gitweb.cgi?p=syslog-ng/syslog-ng--mainline--2.0.g... I've pushed an experimental patch to fix the issue: http://git.balabit/cgi-bin/gitweb.cgi?p=syslog-ng/syslog-ng--mainline--2.0.g... I'm goint to be much stricter to myself when deciding whether to include a patch to the 2.0.x branch in the nearfuture. Sorry for the problem. -- Bazsi
Hi Bazsi, There's a problem with the urls in that email, looks like the top-level domain is missing. Joe.
From: bazsi@balabit.hu To: syslog-ng@lists.balabit.hu Date: Thu, 17 Jan 2008 11:09:23 +0100 Subject: [syslog-ng] syslog-ng 2.0.7 major problem
Hi,
I've been biten by a non-trivial change in the 2.0.x branch again, so there's a quite severe problem in 2.0.7:
- it does not close and reopen files when a SIGHUP is received.
This causes problems for log rotation, especially if the files are compressed after rotation. The problematic patch is this:
http://git.balabit/cgi-bin/gitweb.cgi?p=syslog-ng/syslog-ng--mainline--2.0.g...
I've pushed an experimental patch to fix the issue:
http://git.balabit/cgi-bin/gitweb.cgi?p=syslog-ng/syslog-ng--mainline--2.0.g...
I'm goint to be much stricter to myself when deciding whether to include a patch to the 2.0.x branch in the nearfuture.
Sorry for the problem.
-- Bazsi
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
_________________________________________________________________ Get 30 Free Emoticons for your Windows Live Messenger http://www.livemessenger-emoticons.com/en-ie
Must I still need to apply this patch if I am trying to compile syslog-ng-2.0.7+20080117? Also, while on the subject of compiling, I am getting this error, pkg-config/eventlog related, when trying to compile this version. Incidentally, I've this was after building and installing the latest eventlog. checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking for EVTLOG... no configure: error: Cannot find eventlog version >= 0.2: is pkg-config in path? I've seen some stuff on the list regarding this problem, but no fix which has helped. My /usr/local/lib looks like this: -rw-r--r-- 1 root root 58328 Jan 17 08:30 libevtlog.a -rwxr-xr-x 1 root root 822 Jan 17 08:30 libevtlog.la lrwxrwxrwx 1 root root 18 Jan 17 08:30 libevtlog.so -> libevtlog.so.0.0.0 lrwxrwxrwx 1 root root 18 Jan 17 08:30 libevtlog.so.0 -> libevtlog.so.0.0.0 -rwxr-xr-x 1 root root 41181 Jan 17 08:30 libevtlog.so.0.0.0 -rw-r--r-- 1 root root 160516 Dec 20 2005 libol.a -rwxr-xr-x 1 root root 796 Dec 20 2005 libol.la lrwxrwxrwx 1 root root 14 Dec 20 2005 libol.so -> libol.so.0.0.0 lrwxrwxrwx 1 root root 14 Dec 20 2005 libol.so.0 -> libol.so.0.0.0 -rwxr-xr-x 1 root root 120917 Dec 20 2005 libol.so.0.0.0 drwxr-xr-x 2 root root 4096 Jan 17 08:30 pkgconfig Thank you, .vadim
From: joe_fegan@hotmail.com To: syslog-ng@lists.balabit.hu Date: Thu, 17 Jan 2008 10:43:44 +0000 Subject: Re: [syslog-ng] syslog-ng 2.0.7 major problem
Hi Bazsi,
There's a problem with the urls in that email, looks like the top-level domain is missing.
Joe.
From: bazsi@balabit.hu To: syslog-ng@lists.balabit.hu Date: Thu, 17 Jan 2008 11:09:23 +0100 Subject: [syslog-ng] syslog-ng 2.0.7 major problem
Hi,
I've been biten by a non-trivial change in the 2.0.x branch again, so there's a quite severe problem in 2.0.7:
- it does not close and reopen files when a SIGHUP is received.
This causes problems for log rotation, especially if the files are compressed after rotation. The problematic patch is this:
http://git.balabit/cgi-bin/gitweb.cgi?p=syslog-ng/syslog-ng--mainline--2.0.g...
I've pushed an experimental patch to fix the issue:
http://git.balabit/cgi-bin/gitweb.cgi?p=syslog-ng/syslog-ng--mainline--2.0.g...
I'm goint to be much stricter to myself when deciding whether to include a patch to the 2.0.x branch in the nearfuture.
Sorry for the problem.
-- Bazsi
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
_________________________________________________________________ Get 30 Free Emoticons for your Windows Live Messenger http://www.livemessenger-emoticons.com/en-ie _______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
Hi,
Must I still need to apply this patch if I am trying to compile syslog-ng-2.0.7+20080117?
Yes. Bazsi fixed the problem only a few hours ago.
Also, while on the subject of compiling, I am getting this error, pkg-config/eventlog related, when trying to compile this version.
Please refer to the manpage of pkg-config how to add additional directories to its search path. Regards, Sandor -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
Thanks! This did it for me. cp /usr/local/lib/pkgconfig/eventlog.pc /usr/lib/pkgconfig/ .vp
Date: Thu, 17 Jan 2008 14:08:56 +0000 From: Sandor.Geller@morganstanley.com To: syslog-ng@lists.balabit.hu Subject: Re: [syslog-ng] syslog-ng 2.0.7 major problem
Hi,
Must I still need to apply this patch if I am trying to compile syslog-ng-2.0.7+20080117?
Yes. Bazsi fixed the problem only a few hours ago.
Also, while on the subject of compiling, I am getting this error, pkg-config/eventlog related, when trying to compile this version.
Please refer to the manpage of pkg-config how to add additional directories to its search path.
Regards,
Sandor
Hi again, Sorry if I'm missing something... but those URLs don't work for me and I would like to have this bug fix. Can you please let me know what I'm doing wrong. Joe.
From: joe_fegan@hotmail.com To: syslog-ng@lists.balabit.hu Date: Thu, 17 Jan 2008 10:43:44 +0000 Subject: Re: [syslog-ng] syslog-ng 2.0.7 major problem
Hi Bazsi,
There's a problem with the urls in that email, looks like the top-level domain is missing.
Joe.
From: bazsi@balabit.hu To: syslog-ng@lists.balabit.hu Date: Thu, 17 Jan 2008 11:09:23 +0100 Subject: [syslog-ng] syslog-ng 2.0.7 major problem
Hi,
I've been biten by a non-trivial change in the 2.0.x branch again, so there's a quite severe problem in 2.0.7:
- it does not close and reopen files when a SIGHUP is received.
This causes problems for log rotation, especially if the files are compressed after rotation. The problematic patch is this:
http://git.balabit/cgi-bin/gitweb.cgi?p=syslog-ng/syslog-ng--mainline--2.0.g...
I've pushed an experimental patch to fix the issue:
http://git.balabit/cgi-bin/gitweb.cgi?p=syslog-ng/syslog-ng--mainline--2.0.g...
I'm goint to be much stricter to myself when deciding whether to include a patch to the 2.0.x branch in the nearfuture.
Sorry for the problem.
-- Bazsi
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
_________________________________________________________________ Get 30 Free Emoticons for your Windows Live Messenger http://www.livemessenger-emoticons.com/en-ie _______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
_________________________________________________________________ Get the next generation of Free Windows Live Services http://get.live.com
On Mon, 2008-01-21 at 16:04 +0000, Joe Fegan wrote:
Hi again,
Sorry if I'm missing something... but those URLs don't work for me and I would like to have this bug fix. Can you please let me know what I'm doing wrong.
Sorry, I've posted the URLs for the internal git repository. Here is the public one: http://git.balabit.hu/?p=bazsi/syslog-ng-2.0.git;a=commit;h=a8b9878ab38b10d2... -- Bazsi
participants (4)
-
Balazs Scheidler
-
Geller, Sandor (IT)
-
Joe Fegan
-
wiskbroom@hotmail.com