FS#31157 - [collectd] Missing dependency information of iptables for cpu plugin
Attached to Project:
Community Packages
Opened by Tomasz Jędrzejewski (Zyx) - Thursday, 16 August 2012, 16:36 GMT
Last edited by Gaetan Bisson (vesath) - Friday, 17 August 2012, 06:46 GMT
Opened by Tomasz Jędrzejewski (Zyx) - Thursday, 16 August 2012, 16:36 GMT
Last edited by Gaetan Bisson (vesath) - Friday, 17 August 2012, 06:46 GMT
|
Details
If 'iptables' package is not installed, 'collectd' daemon
fails to run with the default configuration. The problem
lies in the 'cpu' plugin which is enabled by default, but it
actually depends on 'libiptc.so.0' library provided by
iptables. The package information is also missing a note
that this package is required by 'cpu' plugin.
Two possible solutions: - mark 'iptables' as a required dependency, (probably not very good, if we are not interested in 'cpu' plugin) - disable 'cpu' plugin in the default configuration of collectd and add information to the package that it 'iptables' package is required to enable it. Info from 'ld': [root@eniac | 18:30 ]# ld /usr/lib/collectd/cpu.so ld: warning: libiptc.so.0, needed by /usr/lib/collectd/cpu.so, not found (try using -rpath or -rpath-link) |
This task depends upon
Closed by Gaetan Bisson (vesath)
Friday, 17 August 2012, 06:46 GMT
Reason for closing: Fixed
Additional comments about closing: in SVN
Friday, 17 August 2012, 06:46 GMT
Reason for closing: Fixed
Additional comments about closing: in SVN
So I'll just add iptables as hard dependency; anyhow, I suspect only very few people use collectd without caring for CPU statistics.