Config conf.d/elasticsearch contains LOG_DIR variable (not set by default) that should point ES to directory for log storage. But init.d/elasticsearch always overwrites that variable with /var/log/elasticsearch/${ES_INSTANCE} Here's patch fixing that. Reproducible: Always
Created attachment 529406 [details, diff] patch
Created attachment 529408 [details, diff] patch Once again, typo
Created attachment 529484 [details, diff] patch Third time's a charm…
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=426ed349ab5ba38a3a3a2266a2d5199ad2d206a4 commit 426ed349ab5ba38a3a3a2266a2d5199ad2d206a4 Author: Tomas Mozes <hydrapolic@gmail.com> AuthorDate: 2018-05-24 12:04:07 +0000 Commit: Aaron Bauman <bman@gentoo.org> CommitDate: 2018-05-25 13:14:01 +0000 app-misc/elasticsearch: allow to override LOG_DIR Closes: https://bugs.gentoo.org/654630 Package-Manager: Portage-2.3.38, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/8547 app-misc/elasticsearch/files/elasticsearch.init.3 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Thanks for the report and patch manwe.