summaryrefslogtreecommitdiff
path: root/textproc/elasticsearch7/files/pkg-message.in
blob: 2182e1a8789b7ae2a2aa61ba2c2024426aa7e62f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[
{ type: install
  message: <<EOM
Please see %%ETCDIR%% for sample versions of
elasticsearch.yml and logging.yml.

ElasticSearch requires memory locking of large amounts of RAM.
You may need to set:

sysctl security.bsd.unprivileged_mlock=1

When running within a jail, it's highly advisable to set:

enforce_statfs = 1

for the jail running elasticsearch instance.

!!! PLUGINS NOTICE !!!

ElasticSearch plugins should only be installed via the elasticsearch-plugin
included with this software. As we strive to provide a minimum semblance
of security, the files installed by the package are owned by root:wheel.
This is different than upstream which expects all of the files to be
owned by the user and for you to execute the elasticsearch-plugin script
as said user.

You will encounter permissions errors with configuration files and
directories created by plugins which you will have to manually correct.
This is the price we have to pay to protect ourselves in the face of
a poorly designed security model.

e.g., after installing X-Pack you will have to correct:

%%ETCDIR%%/elasticsearch.keystore file to be owned by elasticsearch:elasticsearch
%%ETCDIR%%/x-pack directory/files to be owned by elasticsearch:elasticsearch

!!! PLUGINS NOTICE !!!
EOM
}
]