From owner-freebsd-elastic@freebsd.org Mon Apr 5 05:11:42 2021 Return-Path: Delivered-To: freebsd-elastic@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B1BAB5C1E87 for ; Mon, 5 Apr 2021 05:11:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FDJfk4GPtz3FVv for ; Mon, 5 Apr 2021 05:11:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 91E565C1F16; Mon, 5 Apr 2021 05:11:42 +0000 (UTC) Delivered-To: elastic@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 919495C1ACE for ; Mon, 5 Apr 2021 05:11:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FDJfk3Tl8z3FVt for ; Mon, 5 Apr 2021 05:11:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 696B41302B for ; Mon, 5 Apr 2021 05:11:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1355BgOg037033 for ; Mon, 5 Apr 2021 05:11:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1355BgQ6037032 for elastic@FreeBSD.org; Mon, 5 Apr 2021 05:11:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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" Date: Mon, 05 Apr 2021 05:11:42 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: elastic@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-elastic@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Support of ElasticSearch-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2021 05:11:42 -0000 Bugzilla Automation has asked freebsd-elastic (Nobod= y) 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