[collectd-changes] collectd, the system statistics collection daemon: Changes to 'collectd-5.6'
Florian Forster
octo at verplant.org
Fri May 12 12:42:26 CEST 2017
configure.ac | 98 ++++++++++++++++++++++++++++++++++++--
contrib/redhat/collectd.spec | 16 +++++--
contrib/systemd.collectd.service | 1 +
src/Makefile.am | 3 +-
src/bind.c | 31 +++++++++++-
src/collectd.conf.pod | 76 ++++++++++++++++++++++++++++-
src/curl_json.c | 2 +-
src/daemon/collectd.c | 2 +-
src/daemon/common.c | 20 ++++++--
src/daemon/common.h | 2 +-
src/daemon/utils_match.c | 9 +++-
src/log_logstash.c | 8 +---
src/logfile.c | 8 +---
src/mqtt.c | 6 +++
src/network.c | 20 ++++----
src/smart.c | 22 +++++++++
16 files changed, 284 insertions(+), 40 deletions(-)
New commits:
commit c3e2a69bd600fa4c4a9d4603094f39ea81c11116
Author: Florian Forster <octo at collectd.org>
Date: Sun May 7 20:34:09 2017 +0200
bind plugin: Use timegm() to convert to time_t if available.
FreeBSD doesn't provide the "extern long timezone", presumably because
it's "only" an XSI extension, leading to a portability issue with the
previous approach.
timegm() is a non-standard function available in GNU's and BSD's libc
which is doing exactly what we need. The previous code is left as a
fallback.
Fixes: #1268
commit 938d6380a94cd898a28c5ad1a37c19e7bd47db4c
Author: Ed Ravin <commitme at eravin.users.panix.com>
Date: Fri May 5 22:53:59 2017 -0400
fix BIND timezone parsing issue
commit c086254824501c0550156e6824b4aa38af8e8139
Author: Florian Forster <octo at collectd.org>
Date: Sun May 7 12:06:47 2017 +0200
collectd.conf(5): Add section documenting the ignorelist functionality.
Fixes: #2267
commit f6be4f9b49b949b379326c3d7002476e6ce4f211
Author: Pavel Rochnyack <pavel2000 at ngs.ru>
Date: Mon Apr 3 11:57:09 2017 +0600
network plugin: Fix endless loop DOS in parse_packet()
When correct 'Signature part' is received by Collectd, configured without
AuthFile option, condition for endless loop occurs due to missing increase
of pointer to next unprocessed part.
This is a forward-port of #2233.
Fixes: CVE-2017-7401
Closes: #2174
Signed-off-by: Florian Forster <octo at collectd.org>
commit 294aa61f5e961b9a9bec1e27e810a10142017db8
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Sun Mar 5 18:30:23 2017 +0100
collectd.spec: Don't enable XFS support on RHEL6
It is missing for i386.
If there's strong interest in having support for xfs in the df plugin in
RHEL6 we can do some macro magic to only BuildRequire xfsprogs-devel if
were not on rhel6 i386, but this was the easiest fix and unblocks our
package builds.
commit f78d014f19d2852a986fcdbef69638e32b4dad6b
Merge: 6cb7fdc 3160f66
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Sun Mar 5 17:14:18 2017 +0100
Merge pull request #2204 from collectd/check-for-cap-is-supported
Check for the CAP_IS_SUPPORTED macro
commit 3160f66c76385312f5ab9e584bcbb6ce76f526c0
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Sun Mar 5 16:46:47 2017 +0100
Check for the CAP_IS_SUPPORTED macro
On EPEL6:
src/daemon/common.c: In function 'check_capability':
src/daemon/common.c:1571: error: implicit declaration of function 'CAP_IS_SUPPORTED'
make[1]: *** [src/daemon/common.lo] Error 1
commit 6cb7fdcc48e913ee293f27a6f16a3acc0c1bab05
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Fri Feb 24 17:42:59 2017 +0100
look for cap_get_proc instead of cap_get_bound
a2ddc38 switched the capability check from cap_get_bound() to
cap_get_proc()
commit a2ddc387687433291c36e7bc8a2f3a5ea88fd0a9
Merge: 9dd91dc f1b6145
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Fri Feb 24 17:40:41 2017 +0100
Merge pull request #2151 from mfournier/check_capability-rewrite-fix
daemon/common.c: Fix check_capability() by using cap_get_proc()
commit 9dd91dce20c5d4691f8e8170723ec4731acb76f9
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Wed Jan 25 08:10:48 2017 +0100
smart: log warning if CAP_SYS_RAWIO is missing
Related to #2143
commit 92e19cb238c23c63599e035fd07b9c09a8bef2e3
Merge: 25a2a0a e1c1ac1
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Fri Feb 24 16:52:17 2017 +0100
Merge pull request #2192 from maryamtahhan/bugfix_regex_memleak
fix for memory leak in utils_match.c
commit e1c1ac10e1ace7757632ff4f872127cb7afeb4f9
Author: Krzysztof Matczak <krzysztofx.matczak at intel.com>
Date: Fri Feb 24 09:38:14 2017 +0000
fix for memory leak in utils_match.c
Change-Id: I058afae8c0a99115bda70e125840fc6bd224b358
Signed-off-by: Krzysztof Matczak <krzysztofx.matczak at intel.com>
commit 25a2a0a9204610245b245656c91ad326725ef72d
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Wed Jan 11 13:39:27 2017 +0100
log_logstash: send log messages to STDERR by default
See also dec394e08
commit 9b10e3c0af0d0f5be3b1603946fd336b7d930b1b
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Tue Jan 10 22:58:21 2017 +0100
src/daemon/collectd.c: do not refer to syslog in error message
... as the message the user would be looking for can be found on
stderr/stdout or in any configured logfile.
commit 9cb3abd9449a7f909c3434ec2ff0939939371269
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Tue Jan 10 22:23:55 2017 +0100
logfile: send log messages to STDERR by default
This prevents early startup log messages from going unnoticed if the
default logfile isn't writeable.
Fixes: #2057
commit bf4dcf7d2be115582c420bc1b379d594b9132f5a
Author: Ruben Kerkhof <ruben at rubenkerkhof.com>
Date: Wed Feb 22 09:59:02 2017 +0100
collectd.spec: enable XFS support in df plugin
Fixes #2178
commit 33c0e7174035b80b32c025be10a056a590dada7a
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Sat Jan 28 11:47:38 2017 +0100
notify_email: don't explicitly link against libssl and libcrypto
libesmtp takes care of this.
Pointed out by https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852924
commit f1b6145ce2bf1bc5061c4aafcf63e90bdc6b8b5c
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Wed Jan 25 07:37:41 2017 +0100
daemon/common.c: Fix check_capability() by using cap_get_proc()
Rewrite this function, as 58acba67f made it a no-op.
commit 6969c629641e681069d17c117829779191b8896d
Author: Denys Fedoryshchenko <denys at visp.net.lb>
Date: Fri Jan 6 03:36:16 2017 +0200
mqtt plugin: Fix invalid symbols in topic name.
commit 98bfe15ca31dc5deaf29b9fbcdfb5a4241ea677c
Author: Denys Fedoryshchenko <denys at visp.net.lb>
Date: Fri Jan 6 03:36:16 2017 +0200
mqtt plugin: Fix resource leak.
Fixes: #2123
commit 3d964c1be299eb1a078051e913478c2767ffe946
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Tue Jan 10 21:39:22 2017 +0100
chrony: add missing build flag
This is a backport of 211bd4843.
commit d25dc3518776ed93b2f1e2ca469cf874b24df8b1
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Tue Jan 10 08:34:08 2017 +0100
collectd.spec: ensure write_riemann build deps are installed
commit d9e13d4d5a04cf35bf4c0cd0a826af7dbb212c90
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Mon Jan 9 19:53:52 2017 +0100
collectd.spec: fixes to previous commit
commit 170849a14fc0c09d98deeff4f6ef636656b1797e
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Mon Jan 9 18:06:19 2017 +0100
collectd.spec: re-enable write_riemann on EL7, as build dep is now available in EPEL7
commit e7f68a40cf0db99a51afc1029c0697c661a7c4aa
Author: Marc Fournier <marc.fournier at camptocamp.com>
Date: Wed Jan 4 01:05:49 2017 +0100
curl_json: use configured interval as default timeout value
When no timeout is specified, the default timeout should be set to the
configured interval, not the default timeout (which is -1, no timeout).
This bug got introduced in bce14a848.
More information about the collectd-changes
mailing list