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

Bug 196787

Summary: app-admin/sysstat-7.0.4-r2: does not allow options passed via /etc/conf
Product: Gentoo Linux Reporter: tucksonjack <tucksonjack>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description tucksonjack@gmail.com 2007-10-23 11:19:15 UTC
The init script for sysstat does not source anything under /etc/conf, so to edit sadc startup options, the init script must be edited.

This is especially a problem when using the common -d option.

Reproducible: Always
Comment 1 tucksonjack@gmail.com 2007-10-23 11:35:09 UTC
Actually this seems to be a problem package.

-L is in the man page, but missing from the usage options:
Options are:
[ -C <comment> ] [ -d ] [ -F ] [ -I ] [ -V ]

Using -F or -L make sadc fail, i.e.
works:
 /usr/lib/sa/sadc -d - 10
fails:
 /usr/lib/sa/sadc -F -d - 10
 /usr/lib/sa/sadc -L -d - 10
 /usr/lib/sa/sadc -F -L -d - 10

Will file separate bugs if needed.
Comment 2 tucksonjack@gmail.com 2007-10-23 13:52:47 UTC
/etc/init.d/sysstat restart may also broken (it doesn't stop the old sysstat - but this may be due to my change which makes it collect the stats rather than exit immediately).