commit syslog-ng for openSUSE:Factory
Hello community, here is the log from the commit of package syslog-ng for openSUSE:Factory checked in at 2012-01-30 12:28:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/syslog-ng (Old) and /work/SRC/openSUSE:Factory/.syslog-ng.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "syslog-ng", Maintainer is "mt@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/syslog-ng/syslog-ng.changes 2011-12-25 17:42:15.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.syslog-ng.new/syslog-ng.changes 2012-01-30 12:28:46.000000000 +0100 @@ -1,0 +2,117 @@ +Fri Jan 27 12:45:30 CET 2012 - czanik@balabit.hu + +- more changelog, as requested by saschpe + v3.3.1 was the initial syslog-ng 3.3 release + fixes and changes, taken from the syslog-ng NEWS file + +- Fixes: + +* Fixed set() and subst() rewrite operations to work properly on the + value() parameter specified in the configuration even if they are + referenced at multiple spots in the configuration file. Earlier + the 2nd and subsequent invocation of the rewrite rule changed + $MESSAGE. +* Fixed csv-parser() to work even if it is invoked at multiple spots + in the configuration file. Earlier, the 2nd and subsequent + references of the parser rule forgot the list of column names and + the input template. +* Fixed the processing of condition() parameter in rewrite rules, + which was broken if it contained a filter() function call. +* Fixed program() destination to properly kill the child process on + reload and shutdown. +* Fixed a potential division by zero error which could happen for + large data rates due to a race in an unlocked region. +* Fixed an assertion failure in mongodb destination that happened + due to a race condition at high data rates. +* Fixed an fd leak in the control socket code, that caused the + control connection file descriptors to be leaked. +* Fixed a crash problem in the tcp() destination, that occurred at + or after a reload happens. +* Fixed a segmentation fault on reload when using the same rewrite + rule from multiple log paths. +* Fixed a segmentation fault when processing a reload request in + case an existing tcp() source is removed from the config and there + are open connections. +* Fixed a possible segmentation fault in the scalable queue + implementation, which happens in case a destination is slower to + process messages than syslog-ng would like to send them. +* Fixed a possible file() destination issue that could cause + syslog-ng to omit data or to write garbage to the log file in case + the kernel reports that only a smaller portion of the actual write + request could be accomplished. +* Fixed an "internal error duplicate config element" error during + reload due to an invalid bugfix applied for 3.3.1. Older beta + versions of 3.3 were not affected. +* Fixed a memory leak that causes macro based file destinations to + leak their queue when destination files are closed due to + time-reap(). +* Fixed the handling of the condition() option for rewrite rules. +* Fixed a race condition in value-pairs support, potentially causing + heap corruption problems when $(format-json) is used in threaded + mode. +* Fixed a memory leak in value-pairs template function argument + parsing, fixing a leak if $(format-json) is used. +* Repeated definitions of source, destination, filter, rewrite, + parser and block elements are not allowed by default anymore. + These are reported as configuration errors unless + @define allow-config-dups 1 + is specified in the configuration file. +* Fixed pdbtool error reporting in "pdbtool test" to make it easier + to understand what went wrong. +* Added an SQL connection health check in case an INSERT failed. + This way syslog-ng handles SQL server timeouts better. +* Fixed support for systemd socket activation. Previously such + sockets were not set to non-blocking mode, causing syslog-ng to + hang. +* Fixed the filter() function in the filter expression to work also + when used as a part of an AND or OR construct. +* Allow the sql() destination to operate even without an indexes() + option. That parameter was meant to be optional, but it wasn't. +* Fixed compilation issues if no OpenSSL is present. +* Fixed a minor memory leak in the usertty() driver that can increase + memory usage on every reload. (The username() parameter wasn't + properly freed on reload). +* Fixed a minor memory leak in the sql() driver that can increase + the memory usage on every reload (indexes() parameter wasn't + properly freed on reload). + +- Changes +* db-parser() automatically sets a tag named '.classifier.unknown' + if the message doesn't match. +* The use of actions in db-parser() for messages without a + correllation context was inconsistently indexing messages. For + actions in rules that had correllation @0 was the new message + being generated, and @1 was the message that triggered the rule. + Without correllation @0 was used for the triggering message, which + is greatly inconsistent and unintuitive. This was fixed by + changing the behaviour for rules without correllation, now both + correllation and non-correllation rules use @0 for the new + message, and @1 for the triggering message. This is an + incompatible change in the db-parser() format. +* The value of the $TAGS macro is added to pdbtool match output. +* unix-dgram() and unix-stream() error logging on systemd failures + became more detailed for easier troubleshooting. + +------------------------------------------------------------------- +Thu Jan 26 21:47:32 CET 2012 - czanik@balabit.hu + +- fix systemd support for openSUSE > 12.1 + +------------------------------------------------------------------- +Fri Jan 20 09:03:53 CET 2012 - czanik@balabit.hu + +- update to 3.3.4 + +------------------------------------------------------------------- +Wed Jan 11 15:41:57 CET 2012 - czanik@balabit.hu + +- update to the latest 3.3-git + +------------------------------------------------------------------- +Tue Jan 3 16:13:47 CET 2012 - czanik@balabit.hu + +- update to 3.3.3 +- remove filter patch +- fix afsql related warning + +------------------------------------------------------------------- Old: ---- syslog-ng-3.3.1-filters.diff syslog-ng-3.3.1-less-static.diff syslog-ng_3.3.1.tar.bz2 New: ---- syslog-ng-3.3.4-less-static.diff syslog-ng_3.3.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ syslog-ng.spec ++++++ --- /var/tmp/diff_new_pack.REsbEN/_old 2012-01-30 12:28:47.000000000 +0100 +++ /var/tmp/diff_new_pack.REsbEN/_new 2012-01-30 12:28:47.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package syslog-ng # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,13 +15,15 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + Name: syslog-ng %define with_sql %suse_version > 1130 %define with_systemd %suse_version > 1130 %define with_syslogservice %suse_version > 1140 %define with_json %suse_version > 1130 -Version: 3.3.1 -Release: 0 +Version: 3.3.4 +Release: 1 Summary: The new-generation syslog-daemon License: GPL-2.0 Group: System/Daemons @@ -33,12 +35,11 @@ %endif Provides: syslog #Source0: http://www.balabit.com/downloads/files/syslog-ng/sources/%%{version}/source/syslog-ng_%%{version}.tar.gz -Source0: syslog-ng_%{version}.tar.bz2 +Source0: syslog-ng_%{version}.tar.gz Source1: syslog-ng.rc-script Source2: syslog-ng.sysconfig Source3: syslog-ng.conf.default Patch0: syslog-ng-%{version}-less-static.diff -Patch1: syslog-ng-%{version}-filters.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: bison BuildRequires: flex @@ -69,7 +70,7 @@ # Note: On 11.4 we do not ship any systemd service file. # On 12.x, the syslog.service file is provided by # the syslog-service package. -# +# On 12.1+ uses -lsystemd-daemon instead of copying BuildRequires: systemd %endif %if 0%{?with_sql} @@ -143,7 +144,6 @@ %if 0%{suse_version} <= 1130 %patch0 -p0 %endif -%patch1 -p1 cp -a $RPM_SOURCE_DIR/syslog-ng.rc-script . cp -a $RPM_SOURCE_DIR/syslog-ng.conf.default . @@ -155,8 +155,10 @@ sed -i -e 's/\([ \t]*\)\(file.*kmsg.*\)/\1#\2/g' syslog-ng.conf.default %endif %if 0%{?with_systemd} +%if 0%{suse_version} <= 1210 cp -a /usr/share/doc/packages/systemd/sd-daemon.[ch] modules/afsocket/ %endif +%endif %build ## @@ -187,6 +189,7 @@ --localstatedir=/var/lib/syslog-ng \ --with-module-dir="/%_lib/syslog-ng" \ --with-module-path="/%_lib/syslog-ng:/usr/%_lib/syslog-ng" \ + --with-default-modules="affile,afprog,afsocket,afuser,basicfuncs,csvparser,dbparser,syslogformat" \ --datadir=/usr/share/syslog-ng \ --prefix=/ \ --exec-prefix=/ \ ++++++ syslog-ng-3.3.1-less-static.diff -> syslog-ng-3.3.4-less-static.diff ++++++ -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de