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

Bug 514922

Summary: app-misc/sphinx - New enhanced runscript
Product: Gentoo Linux Reporter: Thomas Deutschmann (RETIRED) <whissi>
Component: Current packagesAssignee: Hans de Graaff <graaff>
Status: CONFIRMED ---    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=599510
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 472916, 514852, 514858    
Attachments: New enhanced runscript
confd for new enhanced runscript

Description Thomas Deutschmann (RETIRED) gentoo-dev 2014-06-24 13:30:57 UTC
Hi,

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
*ping*