Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Apr 2021 05:11:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        elastic@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 254776] textproc/elasticsearch7 fails to start when clear_tmp_enable="YES"
Message-ID:  <bug-254776-37421-e46KZ1I8hQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254776-37421@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254776-37421@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-elastic (Nobod=
y)
<elastic@FreeBSD.org> for maintainer-feedback:
Bug 254776: textproc/elasticsearch7 fails to start when clear_tmp_enable=3D=
"YES"
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254776



--- Description ---
When tmp is cleared as part of startup, elasticsearch fails as it starts be=
fore
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 w=
ill
be removed in a future release
warning: no-jdk distributions that do not bundle a JDK are deprecated and w=
ill
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] d=
oes
not exist or is not accessible

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254776-37421-e46KZ1I8hQ>