Skip to content

Commit

Permalink
Specify that this does not impact 1.x
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
smortex committed Sep 20, 2023
1 parent f6153c5 commit 81a632f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/pkg/build_templates/opensearch/deb/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 81a632f

Please sign in to comment.