[collectd-changes] collectd, the system statistics collection daemon: Changes to 'collectd-4.7'
octo at verplant.org
Mon Aug 31 20:30:45 CEST 2009
src/network.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
Author: Florian Forster <octo at huhu.verplant.org>
Date: Mon Aug 31 20:30:23 2009 +0200
network plugin: Move the gcrypt initialization into ânetwork_initâ.
Author: Luke Heberling <collectd at c-ware.com>
Date: Mon Aug 31 10:31:30 2009 -0700
network plugin: Fix initialization of the gcrypt library.
Subject: Ohhhh jeeee, libgcrypt 1.4.1 + collectd 4.7.2
On Monday 31 August 2009 09:03:37 Sebastian Harl wrote:
> Hrm â¦ from a quick look at the libcrypt documentation I suppose we need
> to call gcry_control() using the 'GCRYCTL_INIT_SECMEM' command to
> explicitly initialize the secure memory. Sounds like this was required
> in libgcrypt 1.4.1 but is handled automatically in later versions.
also looks like there's some special initialization necessary for threads. I
doubt that this is handled by the new default behavior in 1.4.4. Don't know
that it's truly necessary if the network plugin is the only plugin using
Here's a patch that works for me with 1.4.1.
I followed an example for pthread initialization and initialized gcry to 32k,
only since that's apparently the default that's used in 1.4.3. I did it in
network.c's module_register function. Kind of an abuse, I know.
Signed-off-by: Florian Forster <octo at huhu.verplant.org>
More information about the collectd-changes