# Suggestion: Improve logging when /tmp is noexec

**URL:** <https://discuss.elastic.co/t/suggestion-improve-logging-when-tmp-is-noexec/154502>\
**Category:** Elasticsearch\
**Created:** [October 29, 2018, 8:02pm UTC](https://discuss.elastic.co/t/suggestion-improve-logging-when-tmp-is-noexec/154502 "2018-10-29T20:02:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jose\_Ramierez](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@Jose\_Ramierez](https://discuss.elastic.co/u/Jose_Ramierez)\
**Post date:** [October 29, 2018, 8:02pm UTC](https://discuss.elastic.co/t/suggestion-improve-logging-when-tmp-is-noexec/154502/1 "2018-10-29T20:02:35Z")

</div>

Centos 7.5  
ES 6.4.2

I just spent some hrs chasing bootstrap issues that were all caused by /tmp being noexec

Can I suggest that a bootstrap test for this be explicitly added, so that it gets fixed FIRST?

Issues that /tmp as noexec caused (when I flipped the machine to non localhost):

1. bootstrap.memory\_lock -- could not be set to true. Got all these errors when I set it to true, but the root issue was /tmp being noexec

2. system call filter -- bootstrap fail, found myself setting "bootstrap.system\_call\_filter: false" to get system running. It came up (well, came up further), but turns out... this bootstrap fail was an artifact of /tmp being noexec

Fixed /tmp, and I am rocking, with all bootstrap checks and no funny configs.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 29, 2018, 8:34pm UTC](https://discuss.elastic.co/t/suggestion-improve-logging-when-tmp-is-noexec/154502/2 "2018-10-29T20:34:53Z")

</div>

Thanks for the feedback!  
Would you be open to creating a feature request [here](https://github.com/elastic/elasticsearch/issues/new) with this? That's the best place to get active feedback on these types of requests 🙂

---

<div class="post-metadata">

**Author:** ![Jose\_Ramierez](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@Jose\_Ramierez](https://discuss.elastic.co/u/Jose_Ramierez)\
**Post date:** [October 29, 2018, 10:19pm UTC](https://discuss.elastic.co/t/suggestion-improve-logging-when-tmp-is-noexec/154502/3 "2018-10-29T22:19:50Z")

</div>

Done, #35064

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 26, 2018, 10:19pm UTC](https://discuss.elastic.co/t/suggestion-improve-logging-when-tmp-is-noexec/154502/4 "2018-11-26T22:19:50Z")

</div>

Closed on November 26, 2018, 10:19pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
