4008 Commits

Author SHA1 Message Date
Rainer Gerhards
a34e46801b bugfix: ommysql did not properly init/exit the mysql runtime library
This could lead to segfaults. Triggering condition: multiple action
instances using ommysql.  Thanks to Tomas Heinrich for reporting this
problem and providing an initial patch (which my solution is based on,
I need to add more code to clean the mess up).
2012-05-03 12:32:03 +02:00
Rainer Gerhards
6f529cc2da bugfix: rsyslog did not terminate when delayable inputs were blocked
...due to unvailable sources. Fixes:
http://bugzilla.adiscon.com/show_bug.cgi?id=299
Thanks to Marcin M for bringing up this problem and Andre Lorbach
for helping to reproduce and fix it.
2012-05-03 09:53:48 +02:00
Rainer Gerhards
a4d9f6e70f bugfix: inside queue.c, some thread cancel states were not correctly reset.
While this is a bug, we assume it did have no practical effect
because the reset as it was done was set to the state the code actually
had at this point. But better fix this...
2012-05-03 09:25:06 +02:00
Rainer Gerhards
8597affe15 debug: slightly improved debug info for input module startup 2012-05-03 08:49:05 +02:00
Rainer Gerhards
420189ba2f bugfix: active input in "light delay state" could block rsyslog termination
at least for prolonged period of time...
2012-04-27 12:32:57 +02:00
Rainer Gerhards
354a410fad doc: correcting sample section of omudpspoof
again, credits to Jo Rhett for reporting this issue
2012-04-20 07:39:08 +02:00
Rainer Gerhards
4152e0a509 doc: omudpspoof doc had invalid directives
Thanks to Jo Rhett for reporting the bug.
2012-04-20 07:28:34 +02:00
Rainer Gerhards
6d0250b75f doc: added last bugfix to ChangeLog 2012-04-19 18:02:44 +02:00
Rainer Gerhards
42eb952e08 bugfix: imptcp input name could not be set
bugfix: imptcp input name could not be set

config directive was accepted, but had no effect
2012-04-19 17:59:37 +02:00
Rainer Gerhards
7cb5f0cb8c fixed compile bug
actually a regression from last bugfix - I just wonder why the other
machine did not complain :-S
2012-04-18 16:21:15 +02:00
Rainer Gerhards
68538a9013 bugfix: assigned ruleset was lost when using disk queues
This looked quite hard to diagnose for disk-assisted queues, as the
pure memory part worked well, but ruleset info was lost for messages
stored inside the disk queue.
2012-04-18 15:13:27 +02:00
Rainer Gerhards
d749dadcc3 imuxsock: do not cache hostname 2012-04-12 10:14:32 +02:00
Marius Tomaschewski
b498a00e78 Free also LocalDomain in glbl class destructor
Signed-off-by: Marius Tomaschewski <mt@suse.com>
2012-04-11 14:58:06 +02:00
Marius Tomaschewski
a3a0acadb4 Allocate LocalDomain as new string
LocalDomain points to "" or the domain in LocalHostName,
allocate as new string before passing to SetLocalDomain
or free will fail later.

Signed-off-by: Marius Tomaschewski <mt@suse.com>
2012-04-11 14:53:09 +02:00
Rainer Gerhards
6e6bf2ded8 doc: credits update for last bugfix 2012-04-11 12:56:03 +02:00
Rainer Gerhards
d0a73d3449 bugfix: hostname was not requeried on HUP
Thanks to Marius Tomaschewski for reporting this bug.
2012-04-11 11:18:41 +02:00
Rainer Gerhards
eef1701be2 preparing for 5.8.10 v5.8.10 2012-04-07 14:35:57 +02:00
Tomas Heinrich
a192300aa2 bugfix: segfault on startup if $actionqueuefilename was missing for disk queue config
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2012-04-05 14:18:11 +02:00
Rainer Gerhards
2b76241630 doc: noted disk queue format change from v4->v5 2012-04-05 13:57:26 +02:00
Tomas Heinrich
948d8231c7 bugfix: segfault if disk-queue was started up with old queue file
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2012-04-05 13:55:20 +02:00
Rainer Gerhards
59c99b2d8b bugfix: memory leak in array passing output module mode 2012-03-17 18:31:14 +01:00
Rainer Gerhards
43607c303c preparing for 5.8.9 v5.8.9 2012-03-15 11:30:33 +01:00
Kaiwang Chen
f62031df11 added tool to recover disk queue if .qi file is missing (recover_qi.pl) 2012-03-15 10:58:40 +01:00
Rainer Gerhards
e6aaf19689 changed statsobj interface and added better doc 2012-03-14 12:50:21 +01:00
Rainer Gerhards
16cc84fc69 bugfix: stopped DA queue was never processed after a restart
...due to a regression from statistics module.
2012-03-12 15:04:08 +01:00
Rainer Gerhards
2b03e46acf preparing for 5.8.8 v5.8.8 2012-03-05 15:44:21 +01:00
Marius Tomaschewski
536c9370f0 Fix for "/run/systemd/journal/syslog" detection
Changed to check "/run/systemd/journal" directory and not the
socket, as the socket may not exists [e.g. is not activated].
2012-03-02 12:04:25 +01:00
Michael Biebl
2aecaa8536 Install syslog.service Alias for newer systemd versions
From the syslog.socket unit file of newer systemd versions:

The default syslog implementation should make syslog.service a
symlink to itself, so that this socket activates the right actual
syslog service.

Examples:

/etc/systemd/system/syslog.service ->
/lib/systemd/system/rsyslog.service
/etc/systemd/system/syslog.service ->
/lib/systemd/system/syslog-ng.service

Best way to achieve that is by adding this to your unit file
(i.e. to rsyslog.service or syslog-ng.service):

[Install]
Alias=syslog.service

http://cgit.freedesktop.org/systemd/systemd/tree/units/syslog.socket#n26
2012-03-02 11:00:15 +01:00
Marius Tomaschewski
e31e840d5d Detect if to use /run/systemd/journal/syslog under systemd
Detect if we have to use the new /run/systemd/journal/syslog
socket instead of the /dev/log under newer systemd versions.

Signed-off-by: Marius Tomaschewski <mt@suse.com>
2012-03-01 14:40:41 +01:00
Rainer Gerhards
c2970de8b0 bugfix: imklog invalidly computed facility and severity
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=313
2012-03-01 12:19:32 +01:00
Rainer Gerhards
1b5fc33198 Merge branch 'v4-stable' into v5-stable 2012-02-03 15:35:28 +01:00
Rainer Gerhards
c539324298 ommysql: put under ASL 2.0
after getting OK via email from contributor Ariel P. (2012-02-02 22:06 CET)
2012-02-03 15:34:10 +01:00
Rainer Gerhards
7335ef4175 undoing last commit: wrong branch 2012-01-30 18:22:48 +01:00
Rainer Gerhards
37da207e46 indicated special version 2012-01-30 18:20:49 +01:00
Rainer Gerhards
8716e36b12 added merged v4 bugfix info to changelog 2012-01-27 12:52:34 +01:00
Rainer Gerhards
2c172dcf82 Merge branch 'v4-stable' into v5-stable 2012-01-27 12:50:19 +01:00
Rainer Gerhards
cbb9684731 bugfix: omprog made rsyslog abort on startup if not binary to execute was configured 2012-01-27 12:49:54 +01:00
Rainer Gerhards
6c01355579 relicense unlimited_select.h under ASL 2.0
after receiving permission from Red Hat legal (given in email from
Tomas Heinrich)
2012-01-26 13:04:45 +01:00
Rainer Gerhards
0ba1782dff increased max config file line size to 64k
We now also emit an error message if even 64k is not enough (not
doing so previously may rightfully be considered as a bug)
2012-01-24 18:03:21 +01:00
Rainer Gerhards
0b5980df01 licensing change 2012-01-21 17:41:15 +01:00
Rainer Gerhards
b029d4751a mentioning license change in ChangeLog 2012-01-21 17:18:49 +01:00
Rainer Gerhards
a418fb87ee Merge branch 'v4-stable' into v5-stable 2012-01-21 17:18:16 +01:00
Rainer Gerhards
e4c6373b4f license docs were not properly redistributed
thanks to Tomas Heinrich for alerting me.
2012-01-21 17:17:23 +01:00
Rainer Gerhards
92f7e549df preparing for 5.8.7 v5.8.7 2012-01-17 09:37:45 +01:00
Rainer Gerhards
0ed4da17a2 licensing update 2012-01-16 18:27:45 +01:00
Rainer Gerhards
2f2169c5c2 Merge branch 'v4-stable' into v5-stable
Conflicts:
	tools/syslogd.c
2012-01-16 16:57:46 +01:00
Tomas Heinrich
209a6d8e15 FQDN hostname for multihomed host was not always set to the correct name
..if multiple aliases existed. Thanks to Tomas Heinreich for the patch.

Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
2012-01-16 16:53:18 +01:00
Rainer Gerhards
18e60f46a1 Merge branch 'v4-stable' into v5-stable
Conflicts:
	runtime/debug.h
	runtime/obj.c
	runtime/parser.h
	runtime/wti.h
2012-01-16 16:14:30 +01:00
Rainer Gerhards
bd22bf8cb4 license changes 2012-01-16 15:23:01 +01:00
Rainer Gerhards
f6dea36394 runtime license change 2012-01-16 12:39:01 +01:00