Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 409223

Summary: app-admin/collectd-5.0.3 version bump
Product: Gentoo Linux Reporter: Bruno <bonbons>
Component: New packagesAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED OBSOLETE    
Severity: normal CC: bugs
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Upstream commit 3835b23a2576a239f463b09edadf0dcde5d26f2d, replaces collectd-4.10.1-libiptc.patch
Look for struct iptc_handle instead of (gone) iptc_handle_t
Prevent (kernel)log spamming with >=3.3 kernel by netlink plugin

Description Bruno 2012-03-21 20:14:13 UTC
collectd-5.0.3 was released back in February.

To compile (with my set of use flags) I needed a few patches changes:
- [iptables] collectd-4.10.1-libiptc.patch
  does not apply anymore, to be replaced by upstream (but not released yet)
  commit 3835b23a2576a239f463b09edadf0dcde5d26f2d
- [iptables] new collectd-5.0.3-iptc_handle.patch
  needed at least with net-firewall/iptables-1.4.12.1 which does not have
  typedefs for iptc_handle_t but just has struct iptc_handle
- [netlink] collectd-4.10.3-netlink-attr-padding.patch
  starting with 3.3 kernel collectd's netlink plugin produces 3 lines of
  kernel log at each interval:
    netlink: 12 bytes leftover after parsing attributes.
  change netlink call to fix this.
  Note: this should eventually also be applied to 5.0.2 so early 3.3 kernel
  adopters don't get their (kernel)log spammed!


Reproducible: Always
Comment 1 Bruno 2012-03-21 20:16:04 UTC
Created attachment 306225 [details, diff]
Upstream commit 3835b23a2576a239f463b09edadf0dcde5d26f2d, replaces collectd-4.10.1-libiptc.patch
Comment 2 Bruno 2012-03-21 20:16:43 UTC
Created attachment 306227 [details, diff]
Look for struct iptc_handle instead of (gone) iptc_handle_t
Comment 3 Bruno 2012-03-21 20:18:00 UTC
Created attachment 306231 [details, diff]
Prevent (kernel)log spamming with >=3.3 kernel by netlink plugin
Comment 4 Bruno 2012-03-21 21:30:29 UTC
Ignore attachment #306227 [details, diff], it's not needed and was mis-guided on my part due to the configure failure du to commit 3835b23a2576a239f463b09edadf0dcde5d26f2d present in collect master branch but not in -5.0.3!
Comment 5 Johan Bergström 2012-03-22 03:02:07 UTC
Thanks a lot for the patches. I'll have a look at it and report back.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2012-04-08 20:40:12 UTC
We're skipping directly to 5.1.0 ...

The libiptc patch should be obsolete then.

Please submit the kernel-3.3 patch upstream; we'll add it as soon as it is accepted into git master.