Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 514922 - app-misc/sphinx - New enhanced runscript
Summary: app-misc/sphinx - New enhanced runscript
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hans de Graaff
Keywords: PATCH
Depends on:
Blocks: 472916 514852 514858
  Show dependency tree
Reported: 2014-06-24 13:30 UTC by Thomas Deutschmann (RETIRED)
Modified: 2016-11-11 19:08 UTC (History)
0 users

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

New enhanced runscript (searchd.initd,3.73 KB, text/plain)
2014-06-24 13:32 UTC, Thomas Deutschmann (RETIRED)
confd for new enhanced runscript (searchd.confd,592 bytes, text/plain)
2014-06-24 13:33 UTC, Thomas Deutschmann (RETIRED)

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2014-06-24 13:30:57 UTC

I created a new enhanced runscript for app-misc/sphinx. The new runscript fixes bug 514858, bug 514852 and bug 472916.

- The new runscript supports multiple instances

- The new runscript supports specifying a custom user/group to run searchd

- The new runscript stops searchd using the searchd's stopwait parameter to ensure that all pending changes are saved... see the man page for more details

- The new runscript uses searchd's status parameter to determine the service status

- The new runscript is quiet per default. This is important when you are using many indexes/sources because searchd will print information for each index/source on start.
But we capture the start output so we are still able show any error messages to the user when needed, e.g. when searchd fails to start/stop.

Reproducible: Always
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2014-06-24 13:32:37 UTC
Created attachment 379580 [details]
New enhanced runscript
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2014-06-24 13:33:06 UTC
Created attachment 379582 [details]
confd for new enhanced runscript
Comment 3 Hans de Graaff gentoo-dev Security 2014-07-04 06:40:09 UTC
Thanks for the new script. I'll need to review this and hope to find time for that in the next few weeks.
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2016-08-14 20:28:21 UTC