Changes of Revision 50
[-] | Changed | icinga-mod_gearman.changes |
1
2 ------------------------------------------------------------------- 3 +Mon Jan 14 10:33:06 UTC 2013 - cs@linux-administrator.com 4 + 5 +- added upstream fix icinga-mod_gearman-neb_FD_leak-fix.patch 6 + 7 +------------------------------------------------------------------- 8 Sun Jan 13 16:51:00 UTC 2013 - cs@linux-administrator.com 9 10 - update to release 1.4.2 11 |
||
[-] | Changed | icinga-mod_gearman.spec ^ |
20 1
2 Patch0: mod_gearman-init-worker.patch 3 Patch1: mod_gearman-worker-config.patch 4 Patch2: mod_gearman-logrotate.patch 5 +# upstream fixes 6 +Patch10: icinga-mod_gearman-neb_FD_leak-fix.patch 7 BuildRoot: %{_tmppath}/%{name}-%{version}-root 8 BuildRequires: gcc-c++ gearmand-devel >= 0.14 ncurses-devel sed 9 BuildRequires: %{monitor} 10
11 %patch1 12 %patch2 13 14 +# upstream fixes 15 +%patch10 -p1 16 + 17 %build 18 [ ! -f ./configure ] && ./autogen.sh 19 %configure \ 20 |
||
[+] | Added | icinga-mod_gearman-neb_FD_leak-fix.patch ^ |
@@ -0,0 +1,35 @@ +commit 39af9dd793f37d1de7003f5703838a204090cc65 +Author: Sven Nierlein <sven@nierlein.de> +Date: Mon Jan 14 10:42:42 2013 +0100 + + fixed leaking FDs on reloading neb + +diff --git a/Changes b/Changes +index c82e317..6d1d16d 100644 +--- a/Changes ++++ b/Changes +@@ -1,5 +1,8 @@ + This file documents the revision history for mod_gearman. + ++next: ++ - fixed leaking FDs on reloading neb ++ + 1.4.2 Thu Jan 10 10:56:37 CET 2013 + - force check on orphaned events + - added mini epn +diff --git a/neb_module/mod_gearman.c b/neb_module/mod_gearman.c +index 84eb3f0..33046df 100644 +--- a/neb_module/mod_gearman.c ++++ b/neb_module/mod_gearman.c +@@ -246,6 +246,11 @@ int nebmodule_deinit( int flags, int reason ) { + /* cleanup */ + free_client(&client); + ++ /* close old logfile */ ++ if(mod_gm_opt->logfile_fp != NULL) { ++ fclose(mod_gm_opt->logfile_fp); ++ } ++ + mod_gm_free_opt(mod_gm_opt); + + return NEB_OK; |