OpenSearch/distribution/packages
David Roberts 2608012422
Add temporary directory cleanup workarounds (#32615)
On some Linux distributions tmpfiles.d cleans files and
directories under /tmp if they haven't been accessed for
10 days.

This can cause problems for ML as ML is currently the only
component that uses the temp directory more than a few
seconds after startup. If you didn't open an ML job for
10 days and then tried to open one then the temp directory
would have been deleted.

This commit prevents the problem occurring in the case of
Elasticsearch being managed by systemd, as systemd private
temp directories are not subject to periodic cleanup (by
default).

Additionally there are now some docs to warn people about
the risk and suggest a manual mitigation for .tar.gz users.
2018-08-07 16:59:56 +01:00
..
deb Build: Consolidate archives and packages configuration (#28760) 2018-02-21 17:46:40 -08:00
oss-deb Build: Split distributions into oss and default 2018-04-20 15:33:57 -07:00
oss-rpm Build: Split distributions into oss and default 2018-04-20 15:33:57 -07:00
rpm Build: Consolidate archives and packages configuration (#28760) 2018-02-21 17:46:40 -08:00
src Add temporary directory cleanup workarounds (#32615) 2018-08-07 16:59:56 +01:00
build.gradle specify subdirs of lib, bin, modules in package (#32253) 2018-07-23 11:28:24 -07:00