From 81a632fada1a5e8f242f44d50b8e719fd4f78fae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Wed, 20 Sep 2023 10:52:53 -1000 Subject: [PATCH] Specify that this does not impact 1.x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This will not be backported to 1.x packages, but since 1.x and 2.x currently share the tooling, add information so that users are not confused. As users of 1.x are expected to switch to a newer version at some point, include the informational message for them to prepare the sooner. Signed-off-by: Romain Tartière --- .../build_templates/opensearch-dashboards/deb/debian/postinst | 2 +- .../opensearch-dashboards/rpm/opensearch-dashboards.rpm.spec | 2 +- scripts/pkg/build_templates/opensearch/deb/debian/postinst | 2 +- scripts/pkg/build_templates/opensearch/rpm/opensearch.rpm.spec | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/pkg/build_templates/opensearch-dashboards/deb/debian/postinst b/scripts/pkg/build_templates/opensearch-dashboards/deb/debian/postinst index b39171a5f6..d69cb7ba8c 100755 --- a/scripts/pkg/build_templates/opensearch-dashboards/deb/debian/postinst +++ b/scripts/pkg/build_templates/opensearch-dashboards/deb/debian/postinst @@ -36,7 +36,7 @@ echo " sudo systemctl enable opensearch-dashboards.service" echo "### You can start opensearch-dashboards service by executing" echo " sudo systemctl start opensearch-dashboards.service" echo "### Upcoming breaking change in packaging" -echo " We are planing to tighten the permissions of installed files in a future version of the opensearch-dashboards package." +echo " We are planing to tighten the permissions of installed files in a future version of the 2.x or above opensearch-dashboards package." echo " If you setup tooling that needs read access to the OpenSearch Dashboards configuration files, we invite you to add the user running these tools to the 'opensearch-dashboards' group." echo " More info: https://github.com/opensearch-project/opensearch-build/pull/4043" diff --git a/scripts/pkg/build_templates/opensearch-dashboards/rpm/opensearch-dashboards.rpm.spec b/scripts/pkg/build_templates/opensearch-dashboards/rpm/opensearch-dashboards.rpm.spec index 62f06c01b5..c4fbb25859 100644 --- a/scripts/pkg/build_templates/opensearch-dashboards/rpm/opensearch-dashboards.rpm.spec +++ b/scripts/pkg/build_templates/opensearch-dashboards/rpm/opensearch-dashboards.rpm.spec @@ -90,7 +90,7 @@ echo " sudo systemctl enable opensearch-dashboards.service" echo "### You can start opensearch-dashboards service by executing" echo " sudo systemctl start opensearch-dashboards.service" echo "### Upcoming breaking change in packaging" -echo " We are planing to tighten the permissions of installed files in a future version of the opensearch-dashboards package." +echo " We are planing to tighten the permissions of installed files in a future version of the 2.x or above opensearch-dashboards package." echo " If you setup tooling that needs read access to the OpenSearch Dashboards configuration files, we invite you to add the user running these tools to the 'opensearch-dashboards' group." echo " More info: https://github.com/opensearch-project/opensearch-build/pull/4043" exit 0 diff --git a/scripts/pkg/build_templates/opensearch/deb/debian/postinst b/scripts/pkg/build_templates/opensearch/deb/debian/postinst index 4f77d7369b..55898e760a 100755 --- a/scripts/pkg/build_templates/opensearch/deb/debian/postinst +++ b/scripts/pkg/build_templates/opensearch/deb/debian/postinst @@ -70,7 +70,7 @@ if [ -d ${product_dir}/plugins/opensearch-security ]; then echo " See demo certs creation log in ${log_dir}/install_demo_configuration.log" fi echo "### Upcoming breaking change in packaging" -echo " We are planing to tighten the permissions of installed files in a future version of the opensearch package." +echo " We are planing to tighten the permissions of installed files in a future version of the 2.x or above opensearch package." echo " If you setup tooling that needs read access to the OpenSearch configuration files, we invite you to add the user running these tools to the 'opensearch' group." echo " More info: https://github.com/opensearch-project/opensearch-build/pull/4043" exit 0 diff --git a/scripts/pkg/build_templates/opensearch/rpm/opensearch.rpm.spec b/scripts/pkg/build_templates/opensearch/rpm/opensearch.rpm.spec index 4cd7ce911d..22d46fcade 100644 --- a/scripts/pkg/build_templates/opensearch/rpm/opensearch.rpm.spec +++ b/scripts/pkg/build_templates/opensearch/rpm/opensearch.rpm.spec @@ -133,7 +133,7 @@ if [ -d %{product_dir}/plugins/opensearch-security ]; then echo " See demo certs creation log in %{log_dir}/install_demo_configuration.log" fi echo "### Upcoming breaking change in packaging" -echo " We are planing to tighten the permissions of installed files in a future version of the opensearch package." +echo " We are planing to tighten the permissions of installed files in a future version of the 2.x or above opensearch package." echo " If you setup tooling that needs read access to the OpenSearch configuration files, we invite you to add the user running these tools to the 'opensearch' group." echo " More info: https://github.com/opensearch-project/opensearch-build/pull/4043" exit 0