-
Notifications
You must be signed in to change notification settings - Fork 25.5k
Description
Elasticsearch version (bin/elasticsearch --version
):
Version: 6.5.0, Build: default/deb/816e6f6/2018-11-09T18:58:36.352602Z, JVM: 1.8.0_181
Plugins installed: []
JVM version (java -version
):
JVM: 1.8.0_181
OS version (uname -a
if on a Unix-like system):
Linux 4.4.0-131-generic #157-Ubuntu SMP Thu Jul 12 15:51:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux (16.04.5 LTS (Xenial Xerus))
Description of the problem including expected versus actual behavior:
With integrating the x-pack into the elasticsearch debian package the conf files were moved from the x-pack plugin into the .deb package. Obvious these files are not included in the dpkg conffiles, which leads to override the files with every upgrade.
- role_mapping.yml
- roles.yml
- users
- users_roles
This behavior occurs since elasticsearch > 6.3.0
expected behavior:
asking for overriding edited configfiles.
actual behavior:
overriding files without asking.
Steps to reproduce:
- apt install elasticsearch=6.3.0
- edit /etc/elasticsearch/role_mapping.yml
- apt install elasticsearch
- check /etc/elasticsearch/role_mapping.yml