https://bugzilla.redhat.com/show_bug.cgi?id=1296308
Bug ID: 1296308 Summary: elasticsearch on update silently replace configs Product: Fedora Version: 23 Component: elasticsearch Assignee: jvanek@redhat.com Reporter: pahan@hubbitus.info QA Contact: extras-qa@fedoraproject.org CC: bobjensen@gmail.com, java-sig-commits@lists.fedoraproject.org, jvanek@redhat.com, zbyszek@in.waw.pl
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...