Skip to content

dpkg: missing entries in conffiles #35691

@Alufolie303

Description

@Alufolie303

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:

  1. apt install elasticsearch=6.3.0
  2. edit /etc/elasticsearch/role_mapping.yml
  3. apt install elasticsearch
  4. check /etc/elasticsearch/role_mapping.yml

Metadata

Metadata

Labels

:Delivery/PackagingRPM and deb packaging, tar and zip archives, shell and batch scripts>bugTeam:DeliveryMeta label for Delivery teamv6.5.2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions