Bug 1551735 - sphinx: strange directories under /usr/lib/tmpfiles.d/
Summary: sphinx: strange directories under /usr/lib/tmpfiles.d/
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sphinx
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Cotton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-05 20:59 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2019-02-23 02:07 UTC (History)
2 users (show)

Fixed In Version: sphinx-2.2.11-11.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-23 02:07:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Zbigniew Jędrzejewski-Szmek 2018-03-05 20:59:18 UTC
Description of problem:
$ rpm -ql sphinx|grep tmpfiles.d/.*/sphinx
/usr/lib/tmpfiles.d/lib/sphinx
/usr/lib/tmpfiles.d/log/sphinx
/usr/lib/tmpfiles.d/run/sphinx

Version-Release number of selected component (if applicable):
sphinx-2.2.11-5.fc27.x86_64

Comment 1 Jan Kurik 2018-08-14 10:12:16 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 2 Orion Poplawski 2019-02-14 21:32:10 UTC
Looks like this was caused by some strange stray commit - perhaps the result of a search/replace gone awry:

commit 63ce93378acea60afe6e39b1a7f3b4b6739f536d
Author: gbcox <gbcox>
Date:   Tue Jul 26 12:47:57 2016 -0700

    Upstream 2.2.11; remove mysqld.service rhbz#1288815

diff --git a/sphinx.spec b/sphinx.spec
index 403f50c..6e680ac 100644
--- a/sphinx.spec
+++ b/sphinx.spec
@@ -1,6 +1,6 @@
 %global sphinx_user sphinx
 %global sphinx_group sphinx
-%global sphinx_home %{_localstatedir}/lib/sphinx
+%global sphinx_home %{_tmpfilesdir}/lib/sphinx

 # rpmbuild < 4.6 support
 %if ! 0%{?__isa_bits}
@@ -145,35 +145,35 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p -c"
 install -p -D -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/searchd.service

 # Create /var/log/sphinx
-mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/sphinx
+mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}/log/sphinx
.....


I've reverted that change and pushing updates.

Comment 3 Fedora Update System 2019-02-14 22:42:43 UTC
sphinx-2.2.11-11.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-fa9cc57659

Comment 4 Fedora Update System 2019-02-14 22:42:46 UTC
sphinx-2.2.11-11.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0282ed0a0b

Comment 5 Fedora Update System 2019-02-15 01:31:24 UTC
sphinx-2.2.11-11.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-fa9cc57659

Comment 6 Fedora Update System 2019-02-15 02:57:26 UTC
sphinx-2.2.11-11.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-0282ed0a0b

Comment 7 Fedora Update System 2019-02-23 02:07:14 UTC
sphinx-2.2.11-11.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.