Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196787 - app-admin/sysstat-7.0.4-r2: does not allow options passed via /etc/conf
Summary: app-admin/sysstat-7.0.4-r2: does not allow options passed via /etc/conf
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-23 11:19 UTC by tucksonjack@gmail.com
Modified: 2007-10-23 20:51 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 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).