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

Bug 458942

Summary: net-analyzer/flow-tools printing warning on start about use of '-c' parameter
Product: Gentoo Linux Reporter: Reuben Farrelly <reuben-gentoo-bugzilla>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 377843    

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!