8290 Commits

Author SHA1 Message Date
Thomas D
5f5eca03a0 configure: We are now checking for rst2man, flex and yacc when building from git source
When you build from git source you always needed rst2man, flex and yacc (or a
replacement like bison). We only added checks to configure.

Due to this clarification configure option "--enable-generate-man-pages" is now
disabled per default but enforced when building from git source.

Link: http://lists.adiscon.net/pipermail/rsyslog/2015-April/thread.html#40318
2015-04-23 00:08:49 +02:00
Thomas D
5dc3618cdc Makefile.am (dist-hook): Create .tarball-version in dist tarball.
We will check for this file to decide if we are building from git source
or not.

That's important because just checking for ".git" is not enough:
The release tarball could have been imported into git for patch
management.
2015-04-22 23:40:23 +02:00
Rainer Gerhards
3bec0ba9de maintain ChangeLog 2015-04-22 15:49:43 +02:00
Rainer Gerhards
af94ee2e7f Merge commit 'f46026ba8f07e62d1a228575a92407fb7c7e5207' into master-candidate 2015-04-22 15:48:31 +02:00
Tomas Heinrich
f46026ba8f imuxsock: fix a crash when setting a hostname
Setting a hostname via the legacy directive would lead to a crash
during shutdown caused by a double-free.
2015-04-22 15:00:08 +02:00
Rainer Gerhards
3f60aa015c Merge pull request #305 from rgerhards/parse-aruba-timestamp
pmrfc3164 upgrades
2015-04-20 18:36:36 +02:00
Rainer Gerhards
e63f13058b pmrfc3164: add optional support for square brackets in HOSTNAME field
to cover e.g. "[127.0.0.1]". Only bracketing is supported, no brackets
inside the name.
2015-04-20 14:17:40 +02:00
Rainer Gerhards
3454658803 pmrfc3164: add capability to accept year after time in timestamp
This is done by Aruba Networks equipment.
2015-04-20 11:52:29 +02:00
Bojan Smojver
813fb1c8f3 fix build on Centos5
The patch in 93dbfc3936524f1c1641d8709fb54e1c66d4f723 did not
properly work.
2015-04-08 15:21:57 +02:00
Rainer Gerhards
2a77063e84 Merge pull request #290 from rgerhards/better-travis
Better travis
2015-04-08 11:41:56 +02:00
Bojan Smojver
93dbfc3936 fix build on Centos 5 2015-04-08 08:54:09 +02:00
Rainer Gerhards
1d25a46e7f bump version number to start new release cycle 2015-04-08 08:47:13 +02:00
Rainer Gerhards
21e983d6f6 Merge branch 'master' into v8-stable v8.9.0 2015-04-07 15:08:18 +02:00
Rainer Gerhards
660e5a3bd2 Merge branch 'master-candidate' 2015-04-07 15:08:04 +02:00
Rainer Gerhards
1e1d04d249 maintain ChangeLog 2015-04-07 15:07:32 +02:00
Rainer Gerhards
b8d2981add Merge remote-tracking branch 'github/master-candidate' into master-candidate 2015-04-07 15:06:37 +02:00
Rainer Gerhards
c8015f704a Merge pull request #294 from rsyslog/bknox_zmq_fixes
omczmq / imczmq fixes
2015-04-07 15:07:35 +02:00
Brian Knox
1b2ee5138a omczmq / imczmq fixes 2015-04-07 08:23:44 -04:00
Rainer Gerhards
7094ed98ee Merge branch 'master' into v8-stable 2015-04-07 13:34:55 +02:00
Rainer Gerhards
34299b8d2c prepare for 8.9.0 release 2015-04-07 13:34:41 +02:00
Rainer Gerhards
a23e002449 more ChangeLog maintenance 2015-04-07 12:23:53 +02:00
Rainer Gerhards
bb2284828a maintain ChangeLog 2015-04-07 12:18:51 +02:00
Rainer Gerhards
05e1112304 Merge pull request #291 from rgerhards/rger-omprog-hup
omprog: enhanced HUP handling
2015-04-07 08:54:40 +02:00
Rainer Gerhards
38b9532354 Merge branch 'master-lldestroy-crash' of https://github.com/theinric/rsyslog into master-candidate 2015-04-04 12:39:03 +02:00
Tomas Heinrich
72e7eac21c Make llDestroy safe
Keep the destructed list in a consistent state as the provided
destructor may access the very same list again before llDestroy
finishes.

The previous approach could actually trigger a segmentation violation
error for specific scenarios and configurations.
In one particular case, destructing the list of rulesets lead to
shutdown of an action DA queue and spooling its messages to disk which
in turn triggered a search for the ruleset name of the message trought
the destructed list.

The change probably slightly degrades performace, but that shouldn't
have an observable effect in the current code base.
2015-04-03 20:30:51 +02:00
Rainer Gerhards
56c1945180 Merge pull request #246 from CodeHarsh/master
Adding new format support for error file in omelasticsearch bulk insert mode
2015-04-03 19:14:39 +02:00
Rainer Gerhards
57bc975308 Merge remote-tracking branch 'github/master' 2015-03-31 17:51:08 +02:00
Rainer Gerhards
09522af762 action: refactor worker instance table handling 2015-03-31 17:28:53 +02:00
Rainer Gerhards
d849fd6d88 omprog: enhance HUP processing
we can now specify which signal (for a valid set) is to be
sent on HUP

see also https://github.com/rsyslog/rsyslog/issues/281
2015-03-31 17:13:01 +02:00
Rainer Gerhards
fbb71bd164 Merge pull request #283 from adruch/master
Fix field name for pszStrucData in MsgSerialize (Issue #264)
2015-03-30 15:59:16 +02:00
Rainer Gerhards
24bfe62ce2 maintain ChangeLog 2015-03-30 15:10:13 +02:00
Rainer Gerhards
53a85a4995 omprog: add support for forwarding HUP to external plugin
The option "hup.forward" has been added to control behaviour.

This commit also does some cleanup.

closes https://github.com/rsyslog/rsyslog/issues/281
2015-03-30 15:10:13 +02:00
Rainer Gerhards
ca3f961671 core engine: plugin IF extension to support wrkr-level HUP processing 2015-03-30 15:10:13 +02:00
Rainer Gerhards
24d5d6a758 core engine: plumbing to support wrkr-level HUP processing
This implements some plumbing to keep track of the wrkr data
pointers so that they are easily enough accessible during HUP
processing.

see also https://github.com/rsyslog/rsyslog/issues/281
2015-03-30 15:10:13 +02:00
Rainer Gerhards
4d0e5e147c Merge pull request #278 from crackytsi/imtcp_address_bind_feature
added 'address' attribute for IP based bind to imtcp module
2015-03-30 15:09:17 +02:00
Rainer Gerhards
77857eb3b8 Merge pull request #285 from rgerhards/rger-imfile-fix-multiline
fix partial data loss in imfile
2015-03-30 12:37:28 +02:00
Rainer Gerhards
515b82df72 testbench: remove dumb testing aid
This lead to always-failing test for obvious reasons...
2015-03-30 11:55:44 +02:00
Rainer Gerhards
059658abe0 cleanup: remove debug file 2015-03-29 15:27:57 +02:00
Rainer Gerhards
53f4cf0368 Merge remote-tracking branch 'github/master-candidate' into master-candidate 2015-03-29 15:27:30 +02:00
Rainer Gerhards
0d98ad57e0 Merge pull request #287 from rgerhards/testbench-fix-racy-test
testbench: try to solve race by giving more time to settle
2015-03-29 15:28:06 +02:00
Rainer Gerhards
3a9e52a269 travis ci: make sure we test with default settings
except when we otherwise need this explicitely. This provides a better
test, as it mimics the typical user experience.
2015-03-29 14:53:11 +02:00
Rainer Gerhards
5065e2019d maintain ChangeLog
finally...
closes https://github.com/rsyslog/rsyslog/issues/144
2015-03-29 14:42:18 +02:00
Rainer Gerhards
f3983df1d9 fix regression from imfile fixes - never released code 2015-03-29 14:38:59 +02:00
Rainer Gerhards
e8e87d7b4e build system: fix cop&paste error 2015-03-29 14:38:59 +02:00
Rainer Gerhards
4380f88adf testbench: some cleanup 2015-03-29 14:38:59 +02:00
Rainer Gerhards
bdfb382eb1 testbench: changing license as agreed on by Radu
The original test was mine, so I can change the license and
Radu has agreed to ASL 2.0.

see also https://github.com/rsyslog/rsyslog/pull/275
2015-03-29 14:38:59 +02:00
Rainer Gerhards
6fa2a61667 testbench: add missing files
were forgotten two commits ago
2015-03-29 14:38:59 +02:00
Rainer Gerhards
dd546f82a5 imfile: proper handling of multiline messages after rsyslog restart
handling of persisted info (and polling loops) was not correct.

This needs some cleanup but I hope to find some folks for
independent testing before I declare victory.

see also https://github.com/rsyslog/rsyslog/issues/144
2015-03-29 14:38:59 +02:00
Rainer Gerhards
6e511e8e8b imfile: preliminary patch for msg loss in readmode != 0
This is a preliminary patch, which needs to undergo further testing
in cases where rsyslogd is shut down with partial messages read.

see also https://github.com/rsyslog/rsyslog/issues/144
2015-03-29 14:38:59 +02:00
Radu Gheorghe
83f911ae4c added test for imfile ReadMode=2. See https://github.com/rsyslog/rsyslog/issues/144 2015-03-29 14:38:59 +02:00