Skip to content

Conversation

@jdconrad
Copy link
Contributor

@jdconrad jdconrad commented Aug 2, 2019

This whitelists randomUUID with the understanding that it's possible for /dev/random to cause blocking on *nix systems. Users that need randomUUID should switch their random generator source to /dev/urandom if this is a concern for them.

Setting /dev/urandom can be done in two ways.

  1. Start elasticsearch with the setting -Djava.security.egd=file:/dev/urandom
  2. Modify the java.security file to replace the line securerandom.source=file:/dev/random with securerandom.source=file:/dev/urandom

Addresses:
#39080

@jdconrad jdconrad added >enhancement :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache v8.0.0 v7.4.0 labels Aug 2, 2019
@jdconrad jdconrad requested a review from rjernst August 2, 2019 16:46
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jdconrad
Copy link
Contributor Author

jdconrad commented Aug 2, 2019

@rjernst Thanks for the review! Will commit as soon as CI passes.

@jdconrad jdconrad merged commit 4dbba53 into elastic:master Aug 2, 2019
jdconrad added a commit that referenced this pull request Aug 2, 2019
This whitelists randomUUID with the understanding that it's possible for 
/dev/random to cause blocking on *nix systems. Users that need 
randomUUID should switch their random generator source to /dev/urandom 
if this is a concern for them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Scripting Scripting abstractions, Painless, and Mustache >enhancement v7.4.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants