[collectd-changes] collectd, the system statistics collection daemon: Changes to 'collectd-4.6'

Florian Forster octo at verplant.org
Sat Feb 28 10:39:08 CET 2009


 src/collectd-unixsock.pod |    8 ++++----
 src/common.c              |   41 ++++++++++++++++++++++++++---------------
 src/dns.c                 |    2 +-
 3 files changed, 31 insertions(+), 20 deletions(-)

New commits:
commit 6e419a825c50f9c97471aba7d50521bfc7e19828
Merge: e1e33fa276c657f0f0f91f60155a99017fbef72b b0608a28c996eae0dd407886154f6e8797b3545c
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Feb 28 10:35:04 2009 +0100

    Merge branch 'collectd-4.5' into collectd-4.6

commit b0608a28c996eae0dd407886154f6e8797b3545c
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Feb 28 10:29:08 2009 +0100

    dns plugin: Don't pass a NULL pointer to `pcap_open_live'.
    
    Although the documentation states clearly, that passing a NULL pointer
    as device is okay and handled like "any", doing so will crash the daemon
    on some systems, most notably *BSDs but Linux users have reported this
    behavior, too.
    
    This patch passes "any" when the pointer it NULL, which reportedly
    resulted in a different behavior, but still crashing the daemon. We'll
    keep trying ;)

commit da70cd0f24be40b2d76a9dd88ff8264b52c989bd
Author: Sebastian Harl <sh at tokkee.org>
Date:   Tue Feb 24 11:27:22 2009 +0100

    src/common.c: Fixed a race condition in check_create_dir().
    
    Between checking for the existence of a directory using stat() and creating
    the directory using mkdir(), another thread might have already created the
    directory thus causing mkdir() to fail with errno == EEXIST. This case is now
    handled sanely, no longer causing the function (and thus some write callback)
    to fail in this case.
    
    Most likely, this only happens during startup when creating the data
    directories - later, no two threads should try to create the same directory.
    
    Interestingly enough, I frequently encountered this issue on a single core
    machine.

commit a0655e74b5a60232463f71ae266bf143fe30364f
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sun Feb 22 21:02:05 2009 +0100

    collectd-unixsock(5): Slightly improved the description.




More information about the collectd-changes mailing list