Your message dated Sat, 19 May 2012 12:04:26 +0000
with message-id <e1svioy-000757...@franck.debian.org>
and subject line Bug#619123: fixed in collectd 4.10.7-1
has caused the Debian Bug report #619123,
regarding collectd hanging / consuming CPU in endless loop if 
/var/lib/collectd/rrd is an unresolvable symlink
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
619123: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619123
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: collectd
Version: 4.10.1-1+squeeze2
Severity: serious


collectd is hanging in an endless loop (consuming CPU time) if
/var/lib/collectd/rrd is a symlink, pointing to a mountpoint that's
not available:

# strace -f -p $PID_OF_COLLECTD
[...]
[pid  1033] mkdir("/var/lib/collectd/rrd", 0755) = -1 EEXIST (File exists)
[pid  1033] stat("/var/lib/collectd/rrd", 0x7f7f08f28440) = -1 ENOENT (No such 
file or directory)
[pid  1033] mkdir("/var/lib/collectd/rrd", 0755) = -1 EEXIST (File exists)
[pid  1033] stat("/var/lib/collectd/rrd", 0x7f7f08f28440) = -1 ENOENT (No such 
file or directory)
[pid  1033] mkdir("/var/lib/collectd/rrd", 0755) = -1 EEXIST (File exists)
[pid  1033] stat("/var/lib/collectd/rrd", 0x7f7f08f28440) = -1 ENOENT (No such 
file or directory)
[pid  1033] mkdir("/var/lib/collectd/rrd", 0755) = -1 EEXIST (File exists)
[pid  1033] stat("/var/lib/collectd/rrd", 0x7f7f08f28440) = -1 ENOENT (No such 
file or directory)
[pid  1033] mkdir("/var/lib/collectd/rrd", 0755) = -1 EEXIST (File exists)
[pid  1033] stat("/var/lib/collectd/rrd", 0x7f7f08f28440) = -1 ENOENT (No such 
file or directory)
[pid  1033] mkdir("/var/lib/collectd/rrd", 0755) = -1 EEXIST (File exists)
[...]
# ls -la /var/lib/collectd/rrd
lrwxrwxrwx 1 root root 18 Mar 16 14:12 /var/lib/collectd/rrd -> 
/mnt/glusterfs/rrd

/mnt/glusterfs isn't available in this situation because the
underlying glusterfs share isn't available.

The directory check in check_create_dir() needs an additional check
for symlinks.

regards,
-mika-



--- End Message ---
--- Begin Message ---
Source: collectd
Source-Version: 4.10.7-1

We believe that the bug you reported is fixed in the latest version of
collectd, which is due to be installed in the Debian FTP archive:

collectd-core_4.10.7-1_amd64.deb
  to main/c/collectd/collectd-core_4.10.7-1_amd64.deb
collectd-dbg_4.10.7-1_amd64.deb
  to main/c/collectd/collectd-dbg_4.10.7-1_amd64.deb
collectd-dev_4.10.7-1_all.deb
  to main/c/collectd/collectd-dev_4.10.7-1_all.deb
collectd-utils_4.10.7-1_amd64.deb
  to main/c/collectd/collectd-utils_4.10.7-1_amd64.deb
collectd_4.10.7-1.diff.gz
  to main/c/collectd/collectd_4.10.7-1.diff.gz
collectd_4.10.7-1.dsc
  to main/c/collectd/collectd_4.10.7-1.dsc
collectd_4.10.7-1_amd64.deb
  to main/c/collectd/collectd_4.10.7-1_amd64.deb
collectd_4.10.7.orig.tar.gz
  to main/c/collectd/collectd_4.10.7.orig.tar.gz
libcollectdclient-dev_4.10.7-1_amd64.deb
  to main/c/collectd/libcollectdclient-dev_4.10.7-1_amd64.deb
libcollectdclient0_4.10.7-1_amd64.deb
  to main/c/collectd/libcollectdclient0_4.10.7-1_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 619...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Harl <tok...@debian.org> (supplier of updated collectd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 17 May 2012 15:55:39 +0200
Source: collectd
Binary: collectd-core collectd collectd-utils collectd-dbg collectd-dev 
libcollectdclient-dev libcollectdclient0
Architecture: source amd64 all
Version: 4.10.7-1
Distribution: unstable
Urgency: low
Maintainer: Sebastian Harl <tok...@debian.org>
Changed-By: Sebastian Harl <tok...@debian.org>
Description: 
 collectd   - statistics collection and monitoring daemon
 collectd-core - statistics collection and monitoring daemon (core system)
 collectd-dbg - statistics collection and monitoring daemon (debugging symbols)
 collectd-dev - statistics collection and monitoring daemon (development files)
 collectd-utils - statistics collection and monitoring daemon (utilities)
 libcollectdclient-dev - client library for collectd's control interface 
(development file
 libcollectdclient0 - client library for collectd's control interface
Closes: 615840 619123 631167 634690 656271 656274 660918 662040 662174 664429 
672739
Changes: 
 collectd (4.10.7-1) unstable; urgency=low
 .
   * New upstream release.
     - Fixed an endless loop in case the datadir is a symlink pointing to a
       non-existent target; thanks to Michael Prokop for reporting this and
       Jonathan Nieder for providing the patch (Closes: #619123).
     - Use bsd/nlist.h rather than the deprecated nlist.h on FreeBSD fixing a
       FTBFS on kfreebsd; thanks to Tobias Frost for reporting this
       (Closes: #664429).
   * debian/patches/:
     - Removed ipvs_h_include.dpatch -- applied upstream.
     - Added rtnl_dump_filter.dpatch, updating the rtnl_dump_filter() signature
       to recent versions of iproute2.
   * debian/rules:
     - Use dpkg-buildflags to determine compiler/linker flags; this also
       enables hardening build flags; thanks to Moritz Muehlenhoff for
       providing the patch (Closes: #656271).
     - Don't force building of the ipvs plugin. The ip_vs.h check has been
       fixed in configure.
     - Use /usr/share/javahelper/java-arch.sh to determine the Java
       architecture directory, thus, making sure armhf and armel are supported
       as well; thanks to peter green for reporting this and providing the
       pointer (Closes: #656274).
     - Work around #673431 (kvm.h requires sys/types.h) by forcing the processes
       plugin on kfreebsd and manually defining HAVE_STRUCT_KINFO_PROC_FREEBSD.
   * debian/README.Debian:
     - Added section 'Cleanup of old data' explaining how to get rid of
       out-dated data files (e.g. RRD files).
   * debian/control:
     - Updated to standards-version 3.9.3 -- no changes.
     - Build depend on javahelper providing java-arch.sh.
     - Use linux-any, kfreebsd-any, etc. rather than hardcoded list of
       non-Linux architectures to make life of porters easier; thanks to Robert
       Millan for reporting this and providing a pointer to the fix
       (Closes: #634690).
     - Explicitly build-depend on libkvm-dev on kfreebsd; this is required by
       the processes, swap and tcpconns plugins.
   * debian/collectd-core.postrm, debian/collectd-core.templates:
     - Prompt the user (debconf priority high) when purging the collected data
       providing an option to opt out. The question defaults to remove the
       data; thanks to Trent W. Buck for reporting and discussing this
       (Closes: #631167).
   * debian/collectd-core.collectd.init.d:
     - Added cpufrequtils to should-start, else collectd does not reliably
       detect all CPUs; thanks to Mathias Bauer for reporting and debugging
       this (Closes: #662040).
     - Use the exit codes specified by LSB in 'status' command; thanks to
       Michael Prokop for reporting this (Closes: #615840).
   * debian/po/:
     - Added Danish debconf template translation; thanks to Joe Dalton
       (Closes: #660918).
     - Added Brazilian Portuguese debconf template translation; thanks to
       Adriano Rafael Gomes (Closes: #662174).
     - Added Polish debconf template translation; thanks to Michał Kułach
       (Closes: #672739).
Checksums-Sha1: 
 6ae21a5dece79867a4e1b9faee2f51fe79ad9590 2613 collectd_4.10.7-1.dsc
 4a8df52eec09aeb8727b5884e8b413a89b1bd578 1596204 collectd_4.10.7.orig.tar.gz
 655955cd27e6e34d22e56b10ba4ab99a2ac151cc 61271 collectd_4.10.7-1.diff.gz
 0875f4fd814c81043e24586f7baf6f526b19f4c6 851870 
collectd-core_4.10.7-1_amd64.deb
 21beae2650de486d4fcaa1a8989a70358510b31e 70418 collectd_4.10.7-1_amd64.deb
 db521e35419948dedb385a324ca514229501f826 73300 
collectd-utils_4.10.7-1_amd64.deb
 97619d98f062d8c3756881f180234beae679904f 1238692 
collectd-dbg_4.10.7-1_amd64.deb
 2dae09af854198762c42f7b52bb159b1f31d000b 65856 
libcollectdclient-dev_4.10.7-1_amd64.deb
 d216a6e5d538781c46ed2259e472d9316999353d 71608 
libcollectdclient0_4.10.7-1_amd64.deb
 9198fc89ab7e5b7d0efdfe77e31b6363d5767cdb 106786 collectd-dev_4.10.7-1_all.deb
Checksums-Sha256: 
 9e22aed9504bc426d008f7133800ce0cdae0b84839cdf0508d308e439a05f1e5 2613 
collectd_4.10.7-1.dsc
 82c6a5c9149a19ec3e265cfb183256edb4405c8f9bdc2054783646604007f0eb 1596204 
collectd_4.10.7.orig.tar.gz
 547f6340dc9bc107cfb2a2f29ea6d312f8ecd40490e000e81b969a9c5862f1d7 61271 
collectd_4.10.7-1.diff.gz
 565b99f47e742c6623841e27e0e6d312ab51166573712914aad100a03de1a2da 851870 
collectd-core_4.10.7-1_amd64.deb
 e1b5600af1d8a564e98e3fc662361de9189b9aa63e35907f9eb99fd59255b23a 70418 
collectd_4.10.7-1_amd64.deb
 ad67103532f6cb81456a64b297fac2850e249564f02c5af5bf1135a9cd759114 73300 
collectd-utils_4.10.7-1_amd64.deb
 fde231f4a9493bbf1c0492c6e162fd9950ea9a6a39562a7a69e78f549193fd9d 1238692 
collectd-dbg_4.10.7-1_amd64.deb
 a1cd10c56de6c71cf697279965db4f60c32f9d79662ce040a5196690d68fd6da 65856 
libcollectdclient-dev_4.10.7-1_amd64.deb
 0675f2bb6731c0e832acb78e30f6f759c395d6522763bb1230de92ddb5bec585 71608 
libcollectdclient0_4.10.7-1_amd64.deb
 2616d5bbaacb51fae71c62516a2139a29fb0f81e87b1042166b310eb07213a84 106786 
collectd-dev_4.10.7-1_all.deb
Files: 
 3dd16775281e3141c21ddc5803bacbf4 2613 utils optional collectd_4.10.7-1.dsc
 262117b87f2ad54e9fc9142f3048e6a6 1596204 utils optional 
collectd_4.10.7.orig.tar.gz
 5d46080ff70dc5505fca1aa0283c4a9b 61271 utils optional collectd_4.10.7-1.diff.gz
 60416497fcf9e62f093445c1990b786b 851870 utils optional 
collectd-core_4.10.7-1_amd64.deb
 1789f4df947562395cf785889f78005b 70418 utils optional 
collectd_4.10.7-1_amd64.deb
 1cbdb62f84e85e712c378eed0d00704f 73300 utils optional 
collectd-utils_4.10.7-1_amd64.deb
 d20c1b832d6b54d921aadc0ae8f320c5 1238692 debug extra 
collectd-dbg_4.10.7-1_amd64.deb
 14bc0ad51e2e6c29ff890c80a51797af 65856 libdevel optional 
libcollectdclient-dev_4.10.7-1_amd64.deb
 8804a61c794dd4f51df794c3884f9999 71608 libs optional 
libcollectdclient0_4.10.7-1_amd64.deb
 11a51c47ca0c3e745b7610b030313ff9 106786 utils optional 
collectd-dev_4.10.7-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk+3hWQACgkQEFEKc4UBx/wN0wCbBJscTbt2Kkg2LZP4TWtVviSC
M3MAn169Upavj7Elg04iWFtR16A/RJ9/
=axY9
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to