[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:43 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254776

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

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

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


More information about the freebsd-elastic mailing list