Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458942 - net-analyzer/flow-tools printing warning on start about use of '-c' parameter
Summary: net-analyzer/flow-tools printing warning on start about use of '-c' parameter
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: s-s-d-deprecated
  Show dependency tree
 
Reported: 2013-02-24 07:02 UTC by Reuben Farrelly
Modified: 2013-02-26 15:23 UTC (History)
0 users

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 Reuben Farrelly 2013-02-24 07:02:34 UTC
net-analyzer/flow-tools-0.68.5.1-r2 reports this message when started:

Feb 24 17:48:11 tornado /etc/init.d/flowcapture[32481]: WARNING: -c/--chuid is d
eprecated and will be removed in the future, please use -u/--user instead

The daemon does start successfully, but obviously this needs to be updated.

In /etc/init.d/flowcapture we observe this:

        start-stop-daemon --start -c ${USER} --exec /usr/bin/flow-capture \
                --pidfile ${PIDFILE}.${PORT} \
                -- ${FLOW_OPTS} >/dev/null 2>&1
        eend $?

Obviously the '-c' option here and replaced by '-u' to remove the deprecation warning.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-02-26 15:23:05 UTC
Fixed in CVS. Thanks for reporting!