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

Bug 599510

Summary: app-misc/sphinx-2.2.11 - missing systemd unit file
Product: Gentoo Linux Reporter: Darko Luketic <info>
Component: Current packagesAssignee: Hans de Graaff <graaff>
Status: UNCONFIRMED ---    
Severity: normal CC: bugs, steffen.weber, systemd
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=514922
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 448882    
Attachments: searchd.service

Description Darko Luketic 2016-11-11 18:18:49 UTC
Created attachment 453042 [details]
searchd.service

app-misc/sphinx-2.2.11 has no searchd.service
and also doesn't create a sphinx user

Using this service requires the following:
- creating a 'sphinx' system user
- creating /run/sphinx and chown sphinx /run/sphinx
This serivce file assumes /etc/sphinx/sphinx.conf being the default config file location and that the pid file is placed in /run/sphinx/searchd.pid

Suggestions for improvment:
add a searchd-indexer.service or .timer
Comment 1 Darko Luketic 2016-11-11 18:21:33 UTC
There's an open bug https://bugs.gentoo.org/show_bug.cgi?id=514852
from 2014 for a user to be added instead of running sphinx as root