summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: nested if/prifilt conditions did not work properlyRainer Gerhards2013-04-041-4/+17
| | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=415
* Merge branch 'v6-stable' into v7-stableRainer Gerhards2013-03-222-23/+44
|\
| * Merge branch 'v5-stable' into v6-stableRainer Gerhards2013-03-222-23/+44
| |\
| | * yet another update of the systemd files we need to carry...Rainer Gerhards2013-03-221-21/+42
| | |
| | * build-sys: Fix "update-systemd" targetMichael Biebl2013-03-221-2/+2
| | | | | | | | | | | | The urls have changed.
* | | Merge branch 'v6-stable' into v7-stableRainer Gerhards2013-03-211-37/+135
|\| |
| * | Merge branch 'v5-stable' into v6-stableRainer Gerhards2013-03-211-37/+135
| |\|
| | * update systemd files to match current systemd sourceRainer Gerhards2013-03-211-37/+135
| | |
* | | Merge branch 'v6-stable' into tmpRainer Gerhards2013-03-202-14/+16
|\| |
| * | Merge branch 'v5-stable' into v6-stableRainer Gerhards2013-03-201-13/+15
| |\|
| | * bugfix: get rid of potential endless loop in doGetGID()Tomas Heinrich2013-03-201-13/+15
| | |
| * | Merge branch 'v5-stable' into v6-stableRainer Gerhards2013-03-122-2/+4
| |\| | | | | | | | | | | | | | | | Conflicts: action.c queue.c (some code moved from action.c --> queue.c)
* | | debug system improvement & bug fix for init system status (see below)Rainer Gerhards2013-03-152-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - rsyslogd startup information is now properly conveyed back to init when privileges are beging dropped Actually, we have moved termination of the parent in front of the priv drop. So it shall work now in all cases. See code comments in commit for more details. - If forking, the parent now waits for a maximum of 60 seconds for termination by the child - improved debugging support in forked (auto-backgrounding) mode The rsyslog debug log file is now continued to be written across the fork.
* | | Merge branch 'v5-stable' into v7-stableRainer Gerhards2013-01-141-1/+3
|\ \ \ | | |/ | |/|
| * | bugfix: decrement string lengthTomas Heinrich2013-01-141-1/+3
| | |
* | | fix typo from last patch, prevented compile on non-solarisRainer Gerhards2013-01-091-2/+2
| | |
* | | Use compatibility library if getifaddrs(3) not availableMartin Carpenter2013-01-091-0/+4
| | |
* | | Check that sysinfo(2) can return uptimeMartin Carpenter2013-01-091-1/+6
| | |
* | | Add LOG_AUDIT facility for eg SolarisMartin Carpenter2013-01-091-0/+3
| | |
* | | bugfix: timeval2syslogTime cause problems on some platformsDavid Hill2013-01-081-1/+3
| | | | | | | | | | | | | | | ...due to invalid assumption on structure data types. closes: http://bugzilla.adiscon.com/show_bug.cgi?id=394
* | | bugfix: very large memory consumption (and probably out of memory)Rainer Gerhards2013-01-071-0/+2
| | | | | | | | | | | | | | | ...when FromPos was specified in template, but ToPos not. Thanks to Radu Gheorghe for alerting us of this bug.
* | | bugfix: on termination, actions were incorrectly calledRainer Gerhards2012-12-201-7/+18
| | | | | | | | | | | | | | | | | | | | | The problem was that incomplete fiter evaluation was done *during the shutdown phase*. This affected only the LAST batches being processed. No problem existed during the regular run. Could usually only happen on very busy systems, which were still busy during shutdown.
* | | Merge branch 'v6-stable' into v7-stableRainer Gerhards2012-12-131-1/+1
|\ \ \ | | |/ | |/|
| * | Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-12-131-1/+1
| |\| | | | | | | | | | | | | Conflicts: ChangeLog
| | * bugfix: invalid DST handling under SolarisScott Severtson2012-12-131-1/+1
| | |
* | | Merge branch 'v6-stable-newmsglock' into v7-stable-newmsglockRainer Gerhards2012-12-062-149/+9
|\| | | | | | | | | | | | | | Conflicts: tools/syslogd.c
| * | bugfix: some message properties could be garbled due to race conditionRainer Gerhards2012-12-062-149/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This happened only on very high volume systems, if the same message was being processed by two different actions. This was a regression caused by the new config processor, which did no longer properly enable msg locking in multithreaded cases. The bugfix is actually a refactoring of the msg locking code - we no longer do unlocked operations, as the use case for it has mostly gone away. It is potentially possible only at very low-end systems, and there the small additional overhead of doing the locking does not really hurt. Instead, the removal of that capability can actually slightly improve performance in common cases, as the code path is smaller and requires slightly less memory writes. That probably outperforms the extra locking overhead (which in the low-end case always happens in user space, without need for kernel support as we can always directly aquire the lock - there is no contention at all).
* | | fix missing functionality: ruleset(){} could not specify ruleset queueRainer Gerhards2012-11-304-10/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "queue.xxx" parameter set was not supported, and legacy ruleset config statements did not work (by intention). The fix introduces the "queue.xxx" parameter set. It has some regression potential, but only for the new functionality. Note that using that interface it is possible to specify duplicate queue file names, which will cause trouble. This will be solved in v7.3, because there is a too-large regression potential for the v7.2 stable branch.
* | | silence compiler warningsRainer Gerhards2012-11-303-0/+14
| | | | | | | | | | | | | | | the changes do not affect actual code execution, just keep the compile log clean.
* | | silence some primarily cosmetic compiler warning messagesRainer Gerhards2012-11-281-2/+6
| | |
* | | bugfix: modules not (yet) supporting new conf format were not properly ↵Rainer Gerhards2012-11-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | registered This lead to a "module not found" error message instead of the to-be-expected "module does not support new style" error message. That invalid error message could be quite misleading and actually stop people from addressing the real problem (aka "go nuts" ;))
* | | refactor stream.h; fix some issues with last patchRainer Gerhards2012-11-152-25/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most importantly, the last patch for imfile contained a number of glitches, which are fixed by this commit (a memory leak under unusual conditions, partial message loss when rsyslog was terminated in the interim & mixing file data to the wrong files when multiple monitors were used [due to static variable]). The commit is actually a re-write of the patch, based on its core idea. Also some other minor cleanup was done.
* | | bugfix: imfile discarded some file partsMilan Bartos2012-11-151-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | File lines that were incomplete (LF missing) *at the time imfile polled the file* were partially discarded. That part of the line that was read without the LF was discarded, and the rest of the line was submitted in the next polling cycle. This is now changed so that the partial content is saved until the complete line is read. Note that the patch affects only read mode 0.
* | | bugfix: potential segfault at startup with property-based filterRainer Gerhards2012-11-141-1/+3
| | | | | | | | | | | | | | | | | | | | | If the property name was followed by a space before the comma, rsyslogd aborted on startup. Note that no segfault could happen if the initial startup went well (this was a problem with the config parser). closes: http://bugzilla.adiscon.com/show_bug.cgi?id=381
* | | silence compiler warnings & some cleanupRainer Gerhards2012-11-142-2/+3
| | |
* | | bugfix: make rsyslog compile on kfreebsd againGuillem Jover2012-11-141-2/+2
| | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=380
* | | enabled to build without libuuid, at loss of uuid functionalityRainer Gerhards2012-11-091-1/+9
| | | | | | | | | | | | | | | | | | this enables smoother builds on older systems that do not support libuuid. Loss of functionality should usually not matter too much as uuid support has only recently been added and is very seldom used.
* | | testbench: complex1.sh testcase failed on slower machinesRainer Gerhards2012-10-291-0/+1
| | | | | | | | | | | | ... due to too small timeout for enqueue processing --> messages got lost
* | | Improve syntax error messages by outputting the error tokenRainer Gerhards2012-10-271-1/+2
| | |
* | | cleanupRainer Gerhards2012-10-241-2/+0
| | |
* | | Merge branch 'v6-stable' into v7-stableRainer Gerhards2012-10-221-3/+3
|\| | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac doc/manual.html template.c
| * | preparing for 6.6.0v6.6.0Rainer Gerhards2012-10-221-1/+1
| | |
| * | Merge branch 'v6-stable' into v6-betaRainer Gerhards2012-10-191-2/+2
| |\ \
| * | | re-enabled commented-out serialization support in debug handlerRainer Gerhards2012-10-111-3/+3
| | | |
* | | | prepare for 7.20 stable release & minor thingsv7.2.0Rainer Gerhards2012-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The most important real code chane is the initialization of the epoll control set. This should just be cosmetic (valgrind warnings), as all data we actually use already was properly initialized.
* | | | Merge branch 'v6-stable' into betaRainer Gerhards2012-10-191-2/+2
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-10-191-2/+2
| |\ \ \ | | | |/ | | |/| | | | | | | | | Conflicts: runtime/nsdpoll_ptcp.c
| | * | fix epoll-enabled code to use correct data member for pointersRainer Gerhards2012-10-191-2/+2
| | | |
* | | | Fix crash when date properties are used without a templateMiloslav Trmač2012-10-111-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | E.g. in > set $!time = $timereported; > set $!time_rcvd = $timegenerated; pTpe is set to NULL by the caller. (Is "default" the correct format to use?) Signed-off-by: Miloslav Trmač <mitr@redhat.com>
* | | | added deprecated note to omrulesetRainer Gerhards2012-10-111-0/+1
| | | |