Bug 1296308

Summary: elasticsearch on update silently replace configs
Product: [Fedora] Fedora Reporter: Pavel Alexeev <pahan>
Component: elasticsearchAssignee: jiri vanek <jvanek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: bobjensen, java-sig-commits, jvanek, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: elasticsearch-1.7.1-3.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-19 23:27:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pavel Alexeev 2016-01-06 21:01:29 UTC
Description of problem:
In spec you are mark as %config(noreplace)
%config(noreplace) %{_sharedstatedir}/%{name}/conf/%{name}.yml
%config(noreplace) %{_sharedstatedir}/%{name}/conf/logging.yml

which actual just symlinks, instead files %{_sysconfdir}/%{name} sould be marked as configs.

May be even better approach just drop /var/lib/elasticsearch/conf and point it to /etc...

Comment 1 Fedora Update System 2016-01-10 19:54:33 UTC
elasticsearch-1.7.1-3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1885bffc8c

Comment 2 Fedora Update System 2016-01-11 13:52:49 UTC
elasticsearch-1.7.1-3.fc23 has been pushed to the Fedora 23 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-2016-1885bffc8c

Comment 3 Fedora Update System 2016-01-19 23:27:45 UTC
elasticsearch-1.7.1-3.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.