summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2017-03-02 20:31:12 +0100
committerThomas Deutschmann <whissi@gentoo.org>2017-03-02 20:35:35 +0100
commit85bf8d68cd0ec5fe93d7064c760dad5faebb5670 (patch)
tree7e854514b9f885a20cb5f0b1b137d83e8a73775b /net-analyzer/nagios-core/files
parentdev-libs/libgpg-error: Cleanup old (diff)
downloadgentoo-85bf8d68cd0ec5fe93d7064c760dad5faebb5670.tar.gz
gentoo-85bf8d68cd0ec5fe93d7064c760dad5faebb5670.tar.bz2
gentoo-85bf8d68cd0ec5fe93d7064c760dad5faebb5670.zip
net-analyzer/nagios-core: Rev bump to fix upstream issue #337
Ebuild changes: =============== - Cherry picked commit e03e4fd470 to stop nagios-core from flooding syslog every 15 seconds due to debug leftovers [Upstream Issue #337]. Upstream Issue #337: https://github.com/NagiosEnterprises/nagioscore/issues/337 Acked-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-analyzer/nagios-core/files')
-rw-r--r--net-analyzer/nagios-core/files/nagios-core-4.3.1-fix-upstream-issue-337.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/net-analyzer/nagios-core/files/nagios-core-4.3.1-fix-upstream-issue-337.patch b/net-analyzer/nagios-core/files/nagios-core-4.3.1-fix-upstream-issue-337.patch
new file mode 100644
index 000000000000..d5344a6442cb
--- /dev/null
+++ b/net-analyzer/nagios-core/files/nagios-core-4.3.1-fix-upstream-issue-337.patch
@@ -0,0 +1,21 @@
+From e03e4fd470fbc8d4304d860d7b3b523c5d78373d Mon Sep 17 00:00:00 2001
+From: "John C. Frickson" <jfrickson@nagios.com>
+Date: Thu, 2 Mar 2017 10:24:24 -0600
+Subject: [PATCH] every 15sec /var/log/messages is flooded with "nagios:
+ set_environment_var"
+
+Fix for https://github.com/NagiosEnterprises/nagioscore/issues/337
+diff --git a/base/utils.c b/base/utils.c
+index 733fdef..19e20c7 100644
+--- a/base/utils.c
++++ b/base/utils.c
+@@ -872,9 +872,6 @@ int set_environment_var(char *name, char *value, int set) {
+
+ /* set the environment variable */
+ if(set == TRUE) {
+- log_debug_info(DEBUGL_EVENTS, 0, "set_environment_var '%s'='%s'\n", name, value);
+- syslog(LOG_DAEMON|LOG_INFO, "set_environment_var '%s'='%s'\n", name, value);
+-
+ #ifdef HAVE_SETENV
+ setenv(name, (value == NULL) ? "" : value, 1);
+ #else