OpenSearch/qa/vagrant/src/test/resources/packaging/utils
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
..
modules.bash Make bats tests refuse to start on non-VMs (#24315) 2017-04-26 10:40:35 -04:00
packages.bash Packaging: Set elasticsearch user to have non-existent homedir (#29007) 2018-05-02 14:33:34 -07:00
plugins.bash Remove silent batch mode from install plugin (#29359) 2018-04-03 21:23:01 -04:00
tar.bash [test] include oss tar in packaging tests (#30155) 2018-04-26 06:58:41 -07:00
utils.bash Add temporary directory cleanup workarounds (#32615) 2018-08-07 16:59:56 +01:00