Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 393115 - dev-db/redis: replace or remove opts in init script
Summary: dev-db/redis: replace or remove opts in init script
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Johan Bergström
Depends on:
Blocks: init.d-depr-opts
  Show dependency tree
Reported: 2011-12-04 12:18 UTC by Sven Schwyn (svoop)
Modified: 2011-12-26 21:25 UTC (History)
3 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Sven Schwyn (svoop) 2011-12-04 12:18:37 UTC
Init scripts should migrate from opts to extra_commands or extra_started_commands. Since opts in init scripts now triggers a deprecation warning, the following line in files/redis.initd should be dealt with:

opts="start stop restart"

I believe this line is obsolete since these three commands are default anyway.
Comment 1 Johan Bergström 2011-12-04 12:38:43 UTC
Thanks for the report.

I just removed opts from my init script and it seems to work well.
Comment 2 Johan Bergström 2011-12-26 21:25:32 UTC
Fixored ~3w ago.