-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] opensearch-2.12.0-linux-x64.rpm hangs on prein script #4528
Comments
[Triage - attendees 1 2 3] |
The file in question is located here: https://github.com/opensearch-project/opensearch-build/blob/main/scripts/pkg/build_templates/opensearch/rpm/opensearch.rpm.spec |
Tagging @peterzhuamazon to take a look at this issue. |
This behavior does not happen on docker with systemd configured. Adding @DarshitChanpura @derek-ho to double check on this and potentially apply the suggested patch by @guildin. Thanks! |
I will remove the prein script changes in rpm, just like deb, so that deb and rpm are consistent here. @DarshitChanpura @derek-ho Thanks. |
sounds good. I agree, let's keep it consistent. |
Please fix this for branch 1.x also |
Describe the bug
opensearch package installation hangs while executing preinst script.
The following code in PREIN:
can't be used while executing
yum install
, because yum is already running and another instance of yum will be stucked like:The following section:
can be refactored like:
rpm scriptlets reference: https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/
Related component
Build
To Reproduce
yum install opensearch
Expected behavior
yum install opensearch able to complete installation
Additional Details
Host/Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: