| Summary: | net-analyzer/flow-tools-0.68.5 should use --sysconfdir=/etc/flow-tools | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Marcin Mirosław <bug> |
| Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | jer |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
That's odd. 0.68.5 appears to ignore the --localstatedir=/etc/flow-tools configure option. Oh I see. It should use sysconfdir there. I wonder how that got mixed up. :) Thanks for reporting! It appears that the 0.68-r* ebuilds wrongly set --localstatedir=/etc/flow-tools (or maybe rightly so for the job at hand, but it's the wrong argument in autotools to use) instead of --sysconfdir=... Apparently that works for those ebuilds but not for 0.68.5. I have hopefully corrected this in 0.68.5-r1. Thank you for quick fix! |
Now files used by flow-tools are installed in two dirs ('cfg','sym') in /etc: equery f flow-tools|grep /etc /etc /etc/cfg /etc/cfg/filter.cfg /etc/cfg/map.cfg /etc/cfg/mask.cfg /etc/cfg/stat.cfg /etc/cfg/tag.cfg /etc/cfg/xlate.cfg /etc/conf.d /etc/conf.d/flowcapture /etc/init.d /etc/init.d/flowcapture /etc/sym /etc/sym/asn.sym /etc/sym/ip-prot.sym /etc/sym/ip-type.sym /etc/sym/tag.sym /etc/sym/tcp-port.sym Imho it would be more clear when all those dirs would be placed under /etc/flow-tools . Reproducible: Always