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

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254776

            Bug ID: 254776
           Summary: textproc/elasticsearch7 fails to start when
                    clear_tmp_enable=3D"YES"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: elastic@FreeBSD.org
          Reporter: freebsd@otoh.org
          Assignee: elastic@FreeBSD.org
             Flags: maintainer-feedback?(elastic@FreeBSD.org)

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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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