maintainer-feedback requested: [Bug 254776] textproc/elasticsearch7 fails to start when clear_tmp_enable="YES"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 5 05:11:42 UTC 2021


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-elastic (Nobody)
<elastic at FreeBSD.org> for maintainer-feedback:
Bug 254776: textproc/elasticsearch7 fails to start when clear_tmp_enable="YES"
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254776



--- Description ---
When tmp is cleared as part of startup, elasticsearch fails as it starts before
tmp is cleared and the files it creates are cleaned.

A snippet from my jail console log:
Starting elasticsearch.
warning: no-jdk distributions that do not bundle a JDK are deprecated and will
be removed in a future release
warning: no-jdk distributions that do not bundle a JDK are deprecated and will
be removed in a future release
Clearing /tmp.
Updating motd:.
Updating /var/run/os-release done.
Starting cron.

Mon  5 Apr 2021 04:58:08 UTC
ERROR: Temporary file directory [/tmp/elasticsearch-17482280046379505908] does
not exist or is not accessible

FIX: Changing rc.d/elasticsearch to include "cleartmp":
# REQUIRE: NETWORKING SERVERS cleartmp


More information about the freebsd-elastic mailing list