Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
Comment by Gaetan Bisson (vesath) - Friday, 17 August 2012, 06:44 GMT
The configuration file is shipped directly from upstream; I prefer to leave it as is.

So I'll just add iptables as hard dependency; anyhow, I suspect only very few people use collectd without caring for CPU statistics.

Loading...