Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307493 - net-analyzer/flow-tools-0.68.5 should use --sysconfdir=/etc/flow-tools
Summary: net-analyzer/flow-tools-0.68.5 should use --sysconfdir=/etc/flow-tools
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-02 14:43 UTC by Marcin Mirosław
Modified: 2010-03-02 19:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2010-03-02 14:43:28 UTC
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
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-03-02 16:09:51 UTC
That's odd. 0.68.5 appears to ignore the --localstatedir=/etc/flow-tools configure option.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-03-02 16:13:55 UTC
Oh I see. It should use sysconfdir there. I wonder how that got mixed up. :)
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-03-02 16:52:45 UTC
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.
Comment 4 Marcin Mirosław 2010-03-02 19:22:37 UTC
Thank you for quick fix!