summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-11-25 14:53:20 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-25 14:53:20 +0100
commitc21d381030a5b6ae3bc20a9cfb84c4c04b0922ff (patch)
tree02af25a2ce238b6648391d8dcf577e3360398309
parent3fb01ebcc0da98fee5fa5f854fad5d347d3f5649 (diff)
parent3313c4d6682993db5ef89b9d55ce910b63e20835 (diff)
downloadrsyslog-c21d381030a5b6ae3bc20a9cfb84c4c04b0922ff.tar.gz
rsyslog-c21d381030a5b6ae3bc20a9cfb84c4c04b0922ff.tar.xz
rsyslog-c21d381030a5b6ae3bc20a9cfb84c4c04b0922ff.zip
Merge branch 'beta'
Conflicts: ChangeLog
-rw-r--r--ChangeLog25
-rw-r--r--plugins/imgssapi/imgssapi.c2
-rw-r--r--tools/omfile.c2
3 files changed, 29 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7f52bced..7bc4db4a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,8 @@ Version 5.5.1 [DEVEL] (rgerhards), 2009-11-??
epoll netstream drivers. So far, an epoll driver has only been
implemented for plain tcp syslog, the rest will follow once the code
proves well in practice AND there is demand.
+- bugfix: enabling GSSServer crashes rsyslog startup
+ Thanks to Tomas Kubina for the patch [imgssapi]
---------------------------------------------------------------------------
Version 5.5.0 [DEVEL] (rgerhards), 2009-11-18
- moved DNS resolution code out of imudp and into the backend processing
@@ -19,6 +21,12 @@ Version 5.5.0 [DEVEL] (rgerhards), 2009-11-18
This is not done in imudp, as it natively supports epoll().
- doc: improved description of what loadable modules can do
---------------------------------------------------------------------------
+Version 5.3.6 [BETA] (rgerhards), 2009-11-??
+- bugfix: omfile output was only written when buffer was full, not at
+ end of transaction
+- bugfix: enabling GSSServer crashes rsyslog startup
+ Thanks to Tomas Kubina for the patch [imgssapi]
+---------------------------------------------------------------------------
Version 5.3.5 [BETA] (rgerhards), 2009-11-13
- some light performance enhancement by replacing time() call with much
faster (at least under linux) gettimeofday() calls.
@@ -132,6 +140,23 @@ Version 5.3.0 [DEVEL] (rgerhards), 2009-09-14
slightly better performance (just slightly because we called select()
rather infrequently on a busy system)
---------------------------------------------------------------------------
+Version 5.2.2 [v5-stable] (rgerhards), 2009-11-??
+- bugfix: enabling GSSServer crashes rsyslog startup
+ Thanks to Tomas Kubina for the patch [imgssapi]
+---------------------------------------------------------------------------
+Version 5.2.1 [v5-stable] (rgerhards), 2009-11-02
+- bugfix [imported from 4.4.3]: $ActionExecOnlyOnceEveryInterval did
+ not work.
+- bugfix: segfault on startup when -q or -Q option was given
+ [imported from v3-stable]
+---------------------------------------------------------------------------
+Version 5.2.0 [v5-stable] (rgerhards), 2009-11-02
+This is a re-release of version 5.1.6 as stable after we did not get any bug
+reports during the whole beta phase. Still, this first v5-stable may not be
+as stable as one hopes for, I am not sure if we did not get bug reports
+just because nobody tried it. Anyhow, we need to go forward and so we
+have the initial v5-stable.
+---------------------------------------------------------------------------
Version 5.1.6 [v5-beta] (rgerhards), 2009-10-15
- feature imports from v4.5.6
- bugfix: potential race condition when queue worker threads were
diff --git a/plugins/imgssapi/imgssapi.c b/plugins/imgssapi/imgssapi.c
index 1094317e..dd3d67e3 100644
--- a/plugins/imgssapi/imgssapi.c
+++ b/plugins/imgssapi/imgssapi.c
@@ -48,6 +48,7 @@
#include "dirty.h"
#include "cfsysline.h"
#include "module-template.h"
+#include "unicode-helper.h"
#include "net.h"
#include "srUtils.h"
#include "gss-misc.h"
@@ -332,6 +333,7 @@ addGSSListener(void __attribute__((unused)) *pVal, uchar *pNewVal)
CHKiRet(tcpsrv.SetCBOnSessAccept(pOurTcpsrv, onSessAccept));
CHKiRet(tcpsrv.SetCBOnRegularClose(pOurTcpsrv, onRegularClose));
CHKiRet(tcpsrv.SetCBOnErrClose(pOurTcpsrv, onErrClose));
+ CHKiRet(tcpsrv.SetInputName(pOurTcpsrv, UCHAR_CONSTANT("imgssapi")));
tcpsrv.configureTCPListen(pOurTcpsrv, pNewVal);
CHKiRet(tcpsrv.ConstructFinalize(pOurTcpsrv));
}
diff --git a/tools/omfile.c b/tools/omfile.c
index f4945ba0..02bb5cf3 100644
--- a/tools/omfile.c
+++ b/tools/omfile.c
@@ -663,6 +663,8 @@ CODESTARTdoAction
CHKiRet(strm.Flush(pData->pStrm));
}
finalize_it:
+ if(iRet == RS_RET_OK)
+ iRet = RS_RET_DEFER_COMMIT;
ENDdoAction