voxpupuli / puppet-elasticsearch

Elasticsearch Puppet module
Apache License 2.0
404 stars 476 forks source link

AccessControllException - Debian9 #1043

Open codekronik opened 5 years ago

codekronik commented 5 years ago

Bug description

As is out of the box the installation of Elasticsearch 6.8.1 is unsuccessful. It passes however the service never successfully starts. The issue is the following exception:
Caused by: java.security.AccessControlException: access denied ("java.io.FilePermission" "/etc/elasticsearch/es-01/scripts" "read")

This bug was already reported once in this issue: https://github.com/elastic/puppet-elasticsearch/issues/900

Temporary solution:
Removing the /etc/elasticsearch/es-01/scripts symlink created by pupped and creating the actual directory:

rm /etc/elasticsearch/es-01/scripts
mkdir /etc/elasticsearch/es-01/scripts
chown elasticsearch:elasticsearch /etc/elasticsearch/es-01/scripts

After this the service starts successfully.

tylerjl commented 5 years ago

@codekronik what version of the module are you using? This was removed in b8a0369 (version 6.3.0).