From 22e43aa51d69eaf0b4efd351a5ed3c0813dde52a Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Tue, 19 Mar 2024 20:33:50 +0000 Subject: [PATCH] Update 2.13.0 deb/rpm package permission change notice Signed-off-by: Peter Zhu --- .../current/opensearch-dashboards/deb/debian/postinst | 4 ++-- .../opensearch-dashboards/rpm/opensearch-dashboards.rpm.spec | 4 ++-- .../build_templates/current/opensearch/deb/debian/postinst | 4 ++-- .../current/opensearch/rpm/opensearch.rpm.spec | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/pkg/build_templates/current/opensearch-dashboards/deb/debian/postinst b/scripts/pkg/build_templates/current/opensearch-dashboards/deb/debian/postinst index 17356af06c..fabe746d2f 100755 --- a/scripts/pkg/build_templates/current/opensearch-dashboards/deb/debian/postinst +++ b/scripts/pkg/build_templates/current/opensearch-dashboards/deb/debian/postinst @@ -44,8 +44,8 @@ else echo " sudo systemctl start opensearch-dashboards.service" fi -echo "### Upcoming breaking change in packaging" -echo " In a future release of OpenSearch Dashboards, we plan to change the permissions associated with access to installed files" +echo "### Breaking change in packaging since 2.13.0" +echo " In 2.13.0 and later releases of OpenSearch Dashboards, we have changed the permissions associated with access to installed files" echo " If you are configuring tools that require read access to the OpenSearch Dashboards configuration files, we recommend you add the user that runs these tools to the 'opensearch-dashboards' group" echo " For more information, see https://github.com/opensearch-project/opensearch-build/pull/4043" diff --git a/scripts/pkg/build_templates/current/opensearch-dashboards/rpm/opensearch-dashboards.rpm.spec b/scripts/pkg/build_templates/current/opensearch-dashboards/rpm/opensearch-dashboards.rpm.spec index 417e4c95dc..4f8bf687c0 100644 --- a/scripts/pkg/build_templates/current/opensearch-dashboards/rpm/opensearch-dashboards.rpm.spec +++ b/scripts/pkg/build_templates/current/opensearch-dashboards/rpm/opensearch-dashboards.rpm.spec @@ -98,8 +98,8 @@ echo " sudo systemctl daemon-reload" 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 " In a future release of OpenSearch Dashboards, we plan to change the permissions associated with access to installed files" +echo "### Breaking change in packaging since 2.13.0" +echo " In 2.13.0 and later releases of OpenSearch Dashboards, we have changed the permissions associated with access to installed files" echo " If you are configuring tools that require read access to the OpenSearch Dashboards configuration files, we recommend you add the user that runs these tools to the 'opensearch-dashboards' group" echo " For more information, see https://github.com/opensearch-project/opensearch-build/pull/4043" exit 0 diff --git a/scripts/pkg/build_templates/current/opensearch/deb/debian/postinst b/scripts/pkg/build_templates/current/opensearch/deb/debian/postinst index cf1dab2b36..2cec14f4f8 100755 --- a/scripts/pkg/build_templates/current/opensearch/deb/debian/postinst +++ b/scripts/pkg/build_templates/current/opensearch/deb/debian/postinst @@ -87,8 +87,8 @@ else fi fi -echo "### Upcoming breaking change in packaging" -echo " In a future release of OpenSearch, we plan to change the permissions associated with access to installed files" +echo "### Breaking change in packaging since 2.13.0" +echo " In 2.13.0 and later releases of OpenSearch, we have changed the permissions associated with access to installed files" echo " If you are configuring tools that require read access to the OpenSearch configuration files, we recommend you add the user that runs these tools to the 'opensearch' group" echo " For more information, see https://github.com/opensearch-project/opensearch-build/pull/4043" exit 0 diff --git a/scripts/pkg/build_templates/current/opensearch/rpm/opensearch.rpm.spec b/scripts/pkg/build_templates/current/opensearch/rpm/opensearch.rpm.spec index bf2f084c56..37b0a53e90 100644 --- a/scripts/pkg/build_templates/current/opensearch/rpm/opensearch.rpm.spec +++ b/scripts/pkg/build_templates/current/opensearch/rpm/opensearch.rpm.spec @@ -140,8 +140,8 @@ if [ -d %{product_dir}/plugins/opensearch-security ]; then echo "### Create opensearch demo certificates in %{config_dir}/" echo " See demo certs creation log in %{log_dir}/install_demo_configuration.log" fi -echo "### Upcoming breaking change in packaging" -echo " In a future release of OpenSearch, we plan to change the permissions associated with access to installed files" +echo "### Breaking change in packaging since 2.13.0" +echo " In 2.13.0 and later releases of OpenSearch, we have changed the permissions associated with access to installed files" echo " If you are configuring tools that require read access to the OpenSearch configuration files, we recommend you add the user that runs these tools to the 'opensearch' group" echo " For more information, see https://github.com/opensearch-project/opensearch-build/pull/4043" exit 0