/var/run/sphinxsearch/ is not created on boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sphinxsearch (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
1)
#lsb_release -rd
Description: Ubuntu 16.04.2 LTS
Release: 16.04
2)
# apt-cache policy sphinxsearch
sphinxsearch:
Installed: 2.2.11-
Candidate: 2.2.11-
Version table:
*** 2.2.11-
500 http://
100 /var/lib/
2.2.9-1build1 500
500 http://
3)
After a reboot the /var/run/
4)
My understanding is that with the adoption of systemd temporary files and dirs should be created using config files in /etc/tmpfiles.d, /run/tmpfiles.d, or /usr/lib/
I understand that the default service script is creating the dir but in my case I don't use the default service because I have other custom config files, so I start sphinx like this for example:
#/usr/bin/searchd -c /etc/sphinxsear
If I create the config file and reboot it works as expected:
#cat /usr/lib/
#Type Path Mode UID GID Age Argument
d /var/run/