Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Improve logging when /tmp is noexec #35064

Closed
samjones3 opened this issue Oct 29, 2018 · 2 comments
Closed

Suggestion: Improve logging when /tmp is noexec #35064

samjones3 opened this issue Oct 29, 2018 · 2 comments
Labels
:Core/Infra/Core Core issues without another label team-discuss

Comments

@samjones3
Copy link

Centos 7.5
ES 6.4.2
JVM 1.8, current as of October 26, 2018

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):

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

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.

@rjernst rjernst added the :Core/Infra/Core Core issues without another label label Oct 29, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@jasontedor
Copy link
Member

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

You can suggest it, but the bootstrap checks come after native code that relies on jna.tmpdir being executable executes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Core Core issues without another label team-discuss
Projects
None yet
Development

No branches or pull requests

4 participants