Elasticsearch is started using a bash script which by default can write files to /tmp directory. This is because <<< in bash is implemented using temporary files (creates /tmp/sh-thd.random string) https://itectec.com/ubuntu/ubuntu-whats-the-difference-between/
This can be reconfigured by changing TMP and TEMP environment variables.
or we should refactor the script to avoid using << or <<<
The text was updated successfully, but these errors were encountered:
I found this by searching the "good first issue" tag.
It looks like Elasticsearch is started and the environment variables are set with these two scripts, is that right?
distribution/src/bin/elasticsearch
distribution/src/bin/elasticsearch-env
Is elastisearch-env the correct place to set the TMP and TEMP environment variables?
What directory would be the right place for the temporary files to be created?
Elasticsearch is started using a bash script which by default can write files to /tmp directory. This is because <<< in bash is implemented using temporary files (creates /tmp/sh-thd.random string) https://itectec.com/ubuntu/ubuntu-whats-the-difference-between/
This can be reconfigured by changing TMP and TEMP environment variables.
or we should refactor the script to avoid using << or <<<
The text was updated successfully, but these errors were encountered: