rsyslog.git
2 hours agomaintain ChangeLog master
Rainer Gerhards [Fri, 20 Apr 2018 11:13:21 +0000 (13:13 +0200)]
maintain ChangeLog

3 hours agoMerge pull request #2629 from jsiwrk/feature/omprog_tests_refactor
Rainer Gerhards [Fri, 20 Apr 2018 10:42:49 +0000 (12:42 +0200)]
Merge pull request #2629 from jsiwrk/feature/omprog_tests_refactor

omprog: refactor tests, fix child closing issues

3 hours agoMerge pull request #2644 from PascalWithopf/test-mmjsonparse-invalidContainerName
Rainer Gerhards [Fri, 20 Apr 2018 10:34:16 +0000 (12:34 +0200)]
Merge pull request #2644 from PascalWithopf/test-mmjsonparse-invalidContainerName

add test for invalid container name in mmjsonparse

3 hours agomaintain ChangeLog
Rainer Gerhards [Fri, 20 Apr 2018 10:31:27 +0000 (12:31 +0200)]
maintain ChangeLog

3 hours agoMerge pull request #2657 from jvymazal/FD_limit
Rainer Gerhards [Fri, 20 Apr 2018 10:29:38 +0000 (12:29 +0200)]
Merge pull request #2657 from jvymazal/FD_limit

Increased limit of concurrent FDs.

25 hours agoIncreased limit of concurrent FDs.
Jiri Vymazal [Thu, 19 Apr 2018 12:57:16 +0000 (14:57 +0200)]
Increased limit of concurrent FDs.

This is for solving situations when dealing with many files and
also to keep aligned with systemd value (because of journal
integration).

29 hours agoMerge pull request #2653 from rgerhards/fmhash-fix
Rainer Gerhards [Thu, 19 Apr 2018 08:50:22 +0000 (10:50 +0200)]
Merge pull request #2653 from rgerhards/fmhash-fix

fmhash: fix invalid table end entry

31 hours agofmhash: fix invalid table end entry
Rainer Gerhards [Wed, 18 Apr 2018 12:36:51 +0000 (14:36 +0200)]
fmhash: fix invalid table end entry

3 days agomaintain ChangeLog
Rainer Gerhards [Tue, 17 Apr 2018 13:32:03 +0000 (15:32 +0200)]
maintain ChangeLog

3 days agoMerge pull request #2465 from CodeHarsh/master
Rainer Gerhards [Tue, 17 Apr 2018 13:29:09 +0000 (15:29 +0200)]
Merge pull request #2465 from CodeHarsh/master

adding hash64 and hash64mod functions support in rainerscript

3 days agoMerge pull request #2650 from jgerhards/errmsg-rsyslogd
Rainer Gerhards [Tue, 17 Apr 2018 13:27:51 +0000 (15:27 +0200)]
Merge pull request #2650 from jgerhards/errmsg-rsyslogd

rsyslogd: use new errmsg interface

3 days agorsyslogd: use new errmsg interface
Jan Gerhards [Tue, 17 Apr 2018 10:51:49 +0000 (12:51 +0200)]
rsyslogd: use new errmsg interface

see also https://github.com/rsyslog/rsyslog/issues/1684

3 days agomaintain ChangeLog
Rainer Gerhards [Tue, 17 Apr 2018 07:31:13 +0000 (09:31 +0200)]
maintain ChangeLog

3 days agoMerge pull request #2635 from richm/mmk8s-fixes
Rainer Gerhards [Tue, 17 Apr 2018 07:28:25 +0000 (09:28 +0200)]
Merge pull request #2635 from richm/mmk8s-fixes

Several fixes for mmkubernetes

4 days agommjsonparse: add test for $-sign in container name
PascalWithopf [Mon, 16 Apr 2018 07:18:40 +0000 (09:18 +0200)]
mmjsonparse: add test for $-sign in container name

4 days agomodified test for invalid container name
PascalWithopf [Fri, 13 Apr 2018 14:03:56 +0000 (16:03 +0200)]
modified test for invalid container name

test does now check for error messages

4 days agoimpstats bugfix: segfault if bound to non-existing ruleset
Rainer Gerhards [Fri, 13 Apr 2018 13:09:18 +0000 (15:09 +0200)]
impstats bugfix: segfault if bound to non-existing ruleset

segfault happens during shutdown; up until unload of impstats,
rsyslog works correctly, except that no pstats are emitted. This
can be considered to be expected, because the error message
indicates the default ruleset is used instead. This is what
now actually happens.

closes https://github.com/rsyslog/rsyslog/issues/2645

4 days agommjsonparse bugfix: invalid container name was not detected
Rainer Gerhards [Fri, 13 Apr 2018 12:33:21 +0000 (14:33 +0200)]
mmjsonparse bugfix: invalid container name was not detected

in debug builds, this will trigger an assertion. In production
builds, an rsyslog internal error is logged, but rsyslog
continues to run.

closes https://github.com/rsyslog/rsyslog/issues/2584

4 days agoadd test for invalid container name in mmjsonparse
PascalWithopf [Fri, 13 Apr 2018 10:48:50 +0000 (12:48 +0200)]
add test for invalid container name in mmjsonparse

see also https://github.com/rsyslog/rsyslog/issues/2584

4 days agonsdsel_gtls: use new errmsg interface
Jan Gerhards [Fri, 13 Apr 2018 07:55:36 +0000 (09:55 +0200)]
nsdsel_gtls: use new errmsg interface

see also https://github.com/rsyslog/rsyslog/issues/1684

5 days agoomprog: refactor tests, fix child closing issues
Joan Sala [Mon, 2 Apr 2018 21:17:27 +0000 (23:17 +0200)]
omprog: refactor tests, fix child closing issues

Refactor omprog tests. Fix sync issues in these tests by
using the feedback mode (confirmMessages=on) to synchronize
the test with the external program. Closes #2403 (I hope)

Fix omprog not properly closing child process when
signalOnClose=on. Needed for the new tests. Closes #2599

Fix omprog not waiting for the child process to terminate
when signalOnClose=off. Needed for the new tests. Closes #2600

Close all fds before executing the child even when valgrind
is enabled (--enable-valgrind). Needed for the new tests.

Fix memory leak when the xxxTransactionMark parameters were
used.

6 days agommkubernetes: fix lnrules, add defaults, add test
Rich Megginson [Fri, 6 Apr 2018 03:57:17 +0000 (21:57 -0600)]
mmkubernetes: fix lnrules, add defaults, add test

Fix lnrules for CONTAINER_NAME

Add pkg check for lognorm >= 2.0.3 so we can set the macro
to enable ln_loadSamplesFromString

Add some reasonable default values for parameters, such as
kubernetesurl https://kubernetes.default.svc.cluster.local:443

Clean up sample.conf configuration file

Add test for mmkubernetes, including mock kubernetes service

6 days agomaintain ChangeLog
Rainer Gerhards [Fri, 13 Apr 2018 15:45:40 +0000 (17:45 +0200)]
maintain ChangeLog

6 days agoMerge pull request #2622 from rgerhards/all-warnings
Rainer Gerhards [Fri, 13 Apr 2018 15:44:53 +0000 (17:44 +0200)]
Merge pull request #2622 from rgerhards/all-warnings

QA: re-enable some compiler warnigs AX_COMPILER_FLAGS disables

6 days agomaintain ChangeLog
Rainer Gerhards [Fri, 13 Apr 2018 14:49:20 +0000 (16:49 +0200)]
maintain ChangeLog

6 days agoMerge pull request #2631 from allanpark/Issue_2517_lmsig_ksils12_fix_build_problem
Rainer Gerhards [Fri, 13 Apr 2018 14:39:00 +0000 (16:39 +0200)]
Merge pull request #2631 from allanpark/Issue_2517_lmsig_ksils12_fix_build_problem

lmsig_ksils12: fixing issues 2517 and 2621

6 days agoMerge pull request #2643 from jgerhards/errmsg-omusrmsg
Rainer Gerhards [Fri, 13 Apr 2018 14:27:02 +0000 (16:27 +0200)]
Merge pull request #2643 from jgerhards/errmsg-omusrmsg

omusrmsg: use new errmsg interface

7 days agoFixed (hopefully last) bugs reported by clang
Allan Park [Fri, 13 Apr 2018 11:32:37 +0000 (14:32 +0300)]
Fixed (hopefully last) bugs reported by clang

7 days agoomusrmsg: use new errmsg interface
Jan Gerhards [Fri, 13 Apr 2018 10:00:32 +0000 (12:00 +0200)]
omusrmsg: use new errmsg interface

see also https://github.com/rsyslog/rsyslog/issues/1684

7 days agoMerge pull request #2642 from jgerhards/errsg-nsdsel_gtls
Rainer Gerhards [Fri, 13 Apr 2018 09:50:32 +0000 (11:50 +0200)]
Merge pull request #2642 from jgerhards/errsg-nsdsel_gtls

nsdsel_gtls: use new errmsg interface

7 days agoMerge pull request #2639 from PascalWithopf/codestyle_leading_space
Rainer Gerhards [Fri, 13 Apr 2018 09:46:25 +0000 (11:46 +0200)]
Merge pull request #2639 from PascalWithopf/codestyle_leading_space

codestyle: check files that have correct codestyle

7 days agonsdsel_gtls: use new errmsg interface
Jan Gerhards [Fri, 13 Apr 2018 07:55:36 +0000 (09:55 +0200)]
nsdsel_gtls: use new errmsg interface

see also https://github.com/rsyslog/rsyslog/issues/1684

7 days agoMerge pull request #2638 from jgerhards/errmsg-lmsig
Rainer Gerhards [Fri, 13 Apr 2018 07:27:14 +0000 (09:27 +0200)]
Merge pull request #2638 from jgerhards/errmsg-lmsig

lmsig_ksi-ls12: use new errmsg interface

7 days agocodestyle: check files that have correct codestyle
PascalWithopf [Thu, 12 Apr 2018 09:18:35 +0000 (11:18 +0200)]
codestyle: check files that have correct codestyle

files which have the correct style are checked so that no
style errors are created with new pull requests.

8 days agolmsig_ksi-ls12: use new errmsg interface
Jan Gerhards [Thu, 12 Apr 2018 09:46:20 +0000 (11:46 +0200)]
lmsig_ksi-ls12: use new errmsg interface

see also https://github.com/rsyslog/rsyslog/issues/1684

8 days agoFixing warnings in lmsig_ksils12 reported by clang static analyzer
Allan Park [Thu, 12 Apr 2018 08:23:51 +0000 (11:23 +0300)]
Fixing warnings in lmsig_ksils12 reported by clang static analyzer

8 days agoMerge branch 'master' of https://github.com/rsyslog/rsyslog into Issue_2517_lmsig_ksi...
Allan Park [Thu, 12 Apr 2018 08:02:34 +0000 (11:02 +0300)]
Merge branch 'master' of https://github.com/rsyslog/rsyslog into Issue_2517_lmsig_ksils12_fix_build_problem

10 days agoMerge pull request #2634 from jgerhards/removeDebug
Rainer Gerhards [Tue, 10 Apr 2018 13:07:26 +0000 (15:07 +0200)]
Merge pull request #2634 from jgerhards/removeDebug

remove unnecessary debug output

10 days agofix some __attribute__((unused)) and add missing ones
Rainer Gerhards [Mon, 9 Apr 2018 14:10:51 +0000 (16:10 +0200)]
fix some __attribute__((unused)) and add missing ones

as it looks, some compiler versions (e.g. gcc 7) seem to be rather
picky on the position where this attribute is applied. So this
commit moves them to the position where they are properly detected.

We also add missing attributes. Some are missing due to conditional
compilation what we did not detect in our regular development
environments. This now comes up as we have enabled the corresponding
warning globally, and so they now also show up on those platforms.

10 days agoremove unnecessary debug output
Jan Gerhards [Tue, 10 Apr 2018 08:31:24 +0000 (10:31 +0200)]
remove unnecessary debug output

was used while implementing function modules, but were
not removed due to oversight.

10 days agoMerge branch 'Issue_2517_lmsig_ksils12_fix_build_problem' of https://github.com/allan...
Allan Park [Tue, 10 Apr 2018 07:15:39 +0000 (10:15 +0300)]
Merge branch 'Issue_2517_lmsig_ksils12_fix_build_problem' of https://github.com/allanpark/rsyslog into Issue_2517_lmsig_ksils12_fix_build_problem

10 days agolmsig_ksils12: fixing issues 2517 and 2621
Allan Park [Mon, 9 Apr 2018 12:04:15 +0000 (15:04 +0300)]
lmsig_ksils12: fixing issues 2517 and 2621

11 days agolmsig_ksils12: fixing issues 2517 and 2621
Allan Park [Mon, 9 Apr 2018 12:04:15 +0000 (15:04 +0300)]
lmsig_ksils12: fixing issues 2517 and 2621

11 days agoQA: re-enable some compiler warnigs AX_COMPILER_FLAGS disables
Rainer Gerhards [Thu, 5 Apr 2018 10:27:20 +0000 (10:27 +0000)]
QA: re-enable some compiler warnigs AX_COMPILER_FLAGS disables

We do not know exactly why AX_COMPILER_FLAGS turns these off, but we
consider them useful and would like to have them turned on.

11 days agoMerge pull request #2630 from rgerhards/new-testbench-url
Rainer Gerhards [Mon, 9 Apr 2018 10:43:37 +0000 (12:43 +0200)]
Merge pull request #2630 from rgerhards/new-testbench-url

testbench: switch external testbench URL

11 days agomaintain ChangeLog
Rainer Gerhards [Mon, 9 Apr 2018 09:47:47 +0000 (11:47 +0200)]
maintain ChangeLog

11 days agoMerge pull request #2561 from mgraff/master
Rainer Gerhards [Mon, 9 Apr 2018 09:44:34 +0000 (11:44 +0200)]
Merge pull request #2561 from mgraff/master

imptcp: increase UNIX socket backlog for performance under heavy load

11 days agotestbench: switch external testbench URL
Rainer Gerhards [Mon, 9 Apr 2018 09:09:48 +0000 (11:09 +0200)]
testbench: switch external testbench URL

this becomes necessary as the main site switches to https

12 days agoci fix
Harshvardhan Shrivastava [Sat, 7 Apr 2018 14:59:07 +0000 (20:29 +0530)]
ci fix

12 days agofixing indentation and removing unused make flag
Harshvardhan Shrivastava [Sat, 7 Apr 2018 14:54:00 +0000 (20:24 +0530)]
fixing indentation and removing unused make flag

2 weeks agomaintain ChangeLog
Rainer Gerhards [Fri, 6 Apr 2018 10:52:22 +0000 (12:52 +0200)]
maintain ChangeLog

2 weeks agoMerge pull request #2617 from PascalWithopf/rainerscript-function-tests
Rainer Gerhards [Fri, 6 Apr 2018 10:51:24 +0000 (12:51 +0200)]
Merge pull request #2617 from PascalWithopf/rainerscript-function-tests

add tests for rainerscript functions

2 weeks agoadd second parameter for cmp in tests
PascalWithopf [Thu, 5 Apr 2018 09:22:38 +0000 (11:22 +0200)]
add second parameter for cmp in tests

correct usage of cmp

2 weeks agoMerge pull request #2623 from jgerhards/unusedAttr
Rainer Gerhards [Thu, 5 Apr 2018 16:11:52 +0000 (18:11 +0200)]
Merge pull request #2623 from jgerhards/unusedAttr

rainerscript: mark unused parameters as such

2 weeks agorainerscript: mark unused parameters as such
Jan Gerhards [Thu, 5 Apr 2018 11:24:34 +0000 (13:24 +0200)]
rainerscript: mark unused parameters as such

2 weeks agoadd tests for rainerscript functions
PascalWithopf [Wed, 4 Apr 2018 09:05:07 +0000 (11:05 +0200)]
add tests for rainerscript functions

Tests for cnum(), int2hex() and substring() created.

2 weeks agoimptcp: add a configuration parameter to control socket backlog size
Maxime Graff [Thu, 5 Apr 2018 06:23:14 +0000 (08:23 +0200)]
imptcp: add a configuration parameter to control socket backlog size

2 weeks agofix devel version number
Rainer Gerhards [Wed, 4 Apr 2018 09:22:14 +0000 (11:22 +0200)]
fix devel version number

when bumping version, I forgot to add the .master suffix, which is
important for daily packet building, among others.

2 weeks agoMerge pull request #2614 from rgerhards/i2613
Rainer Gerhards [Wed, 4 Apr 2018 08:42:30 +0000 (10:42 +0200)]
Merge pull request #2614 from rgerhards/i2613

fmhttps bugfix: missing configure check for libcurl

2 weeks agoMerge pull request #2616 from rsyslog/revert-2209-unlimited-select
Rainer Gerhards [Wed, 4 Apr 2018 06:53:14 +0000 (08:53 +0200)]
Merge pull request #2616 from rsyslog/revert-2209-unlimited-select

Revert "build system: enable --unlimited-select by default"

2 weeks agoRevert "build system: enable --unlimited-select by default"
Rainer Gerhards [Wed, 4 Apr 2018 06:52:55 +0000 (08:52 +0200)]
Revert "build system: enable --unlimited-select by default"

2 weeks agoMerge pull request #2209 from rgerhards/unlimited-select
Rainer Gerhards [Wed, 4 Apr 2018 06:52:46 +0000 (08:52 +0200)]
Merge pull request #2209 from rgerhards/unlimited-select

build system: enable --unlimited-select by default

2 weeks agomaintain ChangeLog
Rainer Gerhards [Wed, 4 Apr 2018 06:38:02 +0000 (08:38 +0200)]
maintain ChangeLog

2 weeks agoMerge pull request #2609 from rgerhards/i2417
Rainer Gerhards [Wed, 4 Apr 2018 06:36:45 +0000 (08:36 +0200)]
Merge pull request #2609 from rgerhards/i2417

omfile bugfix: segfault when empty filename is given

2 weeks agoMerge pull request #2604 from rgerhards/followup-2569
Rainer Gerhards [Wed, 4 Apr 2018 06:34:03 +0000 (08:34 +0200)]
Merge pull request #2604 from rgerhards/followup-2569

fix issues with atomic operations

2 weeks agofmhttps bugfix: missing configure check for libcurl
Rainer Gerhards [Wed, 4 Apr 2018 06:30:29 +0000 (08:30 +0200)]
fmhttps bugfix: missing configure check for libcurl

closes https://github.com/rsyslog/rsyslog/issues/2613

2 weeks agoomfile bugfix: segfault when empty filename is given
Rainer Gerhards [Tue, 3 Apr 2018 10:26:52 +0000 (12:26 +0200)]
omfile bugfix: segfault when empty filename is given

closes https://github.com/rsyslog/rsyslog/issues/2417

2 weeks agobump version number for next dev cycle
Rainer Gerhards [Tue, 3 Apr 2018 10:07:01 +0000 (12:07 +0200)]
bump version number for next dev cycle

2 weeks agoprepare for 8.34.0 release v8-stable
Rainer Gerhards [Tue, 3 Apr 2018 09:50:06 +0000 (11:50 +0200)]
prepare for 8.34.0 release

2 weeks agoMerge branch 'master' into v8-stable
Rainer Gerhards [Tue, 3 Apr 2018 09:46:25 +0000 (11:46 +0200)]
Merge branch 'master' into v8-stable

2 weeks agomaintain ChangeLog
Rainer Gerhards [Tue, 3 Apr 2018 09:44:38 +0000 (11:44 +0200)]
maintain ChangeLog

2 weeks agoMerge pull request #2607 from rgerhards/merge2509
Rainer Gerhards [Tue, 3 Apr 2018 09:39:48 +0000 (11:39 +0200)]
Merge pull request #2607 from rgerhards/merge2509

Merge #2509

2 weeks agoMerge pull request #2606 from rgerhards/omfile-hardened
Rainer Gerhards [Tue, 3 Apr 2018 08:52:28 +0000 (10:52 +0200)]
Merge pull request #2606 from rgerhards/omfile-hardened

merge #2490 as experimental module

2 weeks agoMerge branch 'master' of https://github.com/jduerstock/rsyslog into merge2509
Rainer Gerhards [Tue, 3 Apr 2018 07:20:33 +0000 (09:20 +0200)]
Merge branch 'master' of https://github.com/jduerstock/rsyslog into merge2509

2 weeks agoChangeLog: fix incomplete sentence
Rainer Gerhards [Tue, 3 Apr 2018 07:19:42 +0000 (09:19 +0200)]
ChangeLog: fix incomplete sentence

2 weeks agomaintain ChangeLog
Rainer Gerhards [Tue, 3 Apr 2018 07:13:46 +0000 (09:13 +0200)]
maintain ChangeLog

2 weeks agoMerge pull request #2367 from loiklo/imtcp-keepalive
Rainer Gerhards [Tue, 3 Apr 2018 07:04:48 +0000 (09:04 +0200)]
Merge pull request #2367 from loiklo/imtcp-keepalive

Fix tcp keepalive settings assignment

2 weeks agoMerge pull request #2565 from rgerhards/fix-journal-tests
Rainer Gerhards [Tue, 3 Apr 2018 07:00:09 +0000 (09:00 +0200)]
Merge pull request #2565 from rgerhards/fix-journal-tests

testbench bugfix: journal tests did not actually check for success

2 weeks agoomfile-hardened: add hardening
Mikko Kortelainen [Tue, 3 Apr 2018 06:36:47 +0000 (08:36 +0200)]
omfile-hardened: add hardening

replaces and closes https://github.com/rsyslog/rsyslog/pull/2490

2 weeks agoMerge pull request #40 from janmejay/followup-2569
Rainer Gerhards [Tue, 3 Apr 2018 06:41:25 +0000 (08:41 +0200)]
Merge pull request #40 from janmejay/followup-2569

Create support for unsigned 32-bit atomic arithmetic

2 weeks agoCreate support for unsigned 32-bit atomic arithmetic and migrate existing dynstats...
Janmejay Singh [Mon, 2 Apr 2018 19:05:12 +0000 (00:35 +0530)]
Create support for unsigned 32-bit atomic arithmetic and migrate existing dynstats usage to it

2 weeks agocreate contrib module omfile-hardened
Rainer Gerhards [Mon, 2 Apr 2018 09:14:35 +0000 (11:14 +0200)]
create contrib module omfile-hardened

This is in preparation for Mikko Kortelainen's experiemental contribution.

see also https://github.com/rsyslog/rsyslog/pull/2490#issuecomment-377545898

2 weeks agotestbench bugfix: journal tests did not actually check for success
Rainer Gerhards [Mon, 19 Mar 2018 14:31:52 +0000 (15:31 +0100)]
testbench bugfix: journal tests did not actually check for success

For some unknown reason, the check if data really was forwarded from
the journal was missing.

see also https://github.com/rsyslog/rsyslog/issues/2564

2 weeks agomaintain ChangeLog
Rainer Gerhards [Sun, 1 Apr 2018 16:18:10 +0000 (18:18 +0200)]
maintain ChangeLog

2 weeks agoMerge pull request #2601 from jsiwrk/bug/omprog_fd_leak
Rainer Gerhards [Sun, 1 Apr 2018 16:14:57 +0000 (18:14 +0200)]
Merge pull request #2601 from jsiwrk/bug/omprog_fd_leak

omprog: corrected fd leak with confirmMessages=on

2 weeks agoomfile: fix non 100% correct preprocessor directives
Rainer Gerhards [Sun, 1 Apr 2018 16:10:18 +0000 (18:10 +0200)]
omfile: fix non 100% correct preprocessor directives

can be considered cosmetic, but we really want a clean compile

2 weeks agoomkafka: use "atomic mutex macros"
Rainer Gerhards [Sun, 1 Apr 2018 16:06:19 +0000 (18:06 +0200)]
omkafka: use "atomic mutex macros"

commit 87c8f478ebd0111c9c8d521020acffa42a4508c9 fixed missing mutex
definition, but did not do so via the macros originally intended for
this purpose. It still was very useful, as the patch made omkafka
compile on systems without atomic operations. And did so without
causing any real overhead.

Nevertheless this commit now adjust to use the rsyslog-core intended
way of doing things.

2 weeks agotestbench: --disable-atomic-operations did not work
Rainer Gerhards [Sun, 1 Apr 2018 15:58:34 +0000 (17:58 +0200)]
testbench: --disable-atomic-operations did not work

... which also resulted in problems with atomic instruction code not
being detected.

2 weeks agoMerge pull request #2602 from rgerhards/ci-freebsd-imfile
Rainer Gerhards [Sun, 1 Apr 2018 16:13:02 +0000 (18:13 +0200)]
Merge pull request #2602 from rgerhards/ci-freebsd-imfile

testbench: address failure on FreeBSD

2 weeks agomaintain ChangeLog
Rainer Gerhards [Sun, 1 Apr 2018 12:41:08 +0000 (14:41 +0200)]
maintain ChangeLog

2 weeks agoMerge pull request #2569 from bruce87en/master
Rainer Gerhards [Sun, 1 Apr 2018 12:35:56 +0000 (14:35 +0200)]
Merge pull request #2569 from bruce87en/master

omkafka: fix 'instanceData' has no member named 'mutCurrPartition'

2 weeks agoMerge pull request #2603 from rgerhards/cid188771
Rainer Gerhards [Sun, 1 Apr 2018 12:11:38 +0000 (14:11 +0200)]
Merge pull request #2603 from rgerhards/cid188771

imfile: fix ressource leak in just-refactored code

2 weeks agoimfile: fix ressource leak in just-refactored code
Rainer Gerhards [Sun, 1 Apr 2018 09:06:51 +0000 (11:06 +0200)]
imfile: fix ressource leak in just-refactored code

Coverity Scan detected a file handle leak. This was introduced in the
refactoring done in the past couple of days. Was NOT present in any
released code, so is nothing to really care about.

fixes Coverity Scan ID 188771

2 weeks agoMerge pull request #2593 from rgerhards/i2529-bis
Rainer Gerhards [Sun, 1 Apr 2018 09:56:25 +0000 (11:56 +0200)]
Merge pull request #2593 from rgerhards/i2529-bis

imfile: re-enable support for readind old-style state files

2 weeks agotestbench: address failure on FreeBSD
Rainer Gerhards [Sun, 1 Apr 2018 08:48:05 +0000 (10:48 +0200)]
testbench: address failure on FreeBSD

test imfile-endregex-timeout-with-shutdown-polling.sh fails, most probably
due to bad timing.

2 weeks agoMerge pull request #2596 from rgerhards/cid185415
Rainer Gerhards [Sun, 1 Apr 2018 08:33:24 +0000 (10:33 +0200)]
Merge pull request #2596 from rgerhards/cid185415

"fix" some Coverity Scan cosmetic issues

2 weeks agoomprog: corrected fd leak with confirmMessages=on
Joan Sala [Sat, 31 Mar 2018 21:57:33 +0000 (23:57 +0200)]
omprog: corrected fd leak with confirmMessages=on

2 weeks agoadding valgrind and making hash return typedef
Harshvardhan Shrivastava [Sat, 31 Mar 2018 11:06:12 +0000 (16:36 +0530)]
adding valgrind and making hash return typedef

2 weeks agoimfile: if inotify mode is selected on solaris, use FEN instead
Rainer Gerhards [Thu, 29 Mar 2018 09:31:36 +0000 (11:31 +0200)]
imfile: if inotify mode is selected on solaris, use FEN instead

both provide equal functionality, so it only makes sense to
select the analogous mode.

2 weeks agoimfile: re-enable support for reading old-style state files
Rainer Gerhards [Wed, 28 Mar 2018 07:04:10 +0000 (09:04 +0200)]
imfile: re-enable support for reading old-style state files

see also https://github.com/rsyslog/rsyslog/issues/2231#issuecomment-376862280