Skip to content
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

Ensure LIBFFI_TMPDIR is exported by init script #80794

Merged
merged 1 commit into from Nov 17, 2021

Conversation

pugnascotia
Copy link
Contributor

Change the init.d script that our packages include to explicitly export
LIBFFI_TMPDIR if a value is defined. It turned out that if you
configured a value in /etc/sysconfig/elasticsearch, that value was
visible to the elasticsearch script but not the Elasticsearch Java
process. Explicitly exporting the variable fixes this problem.

Change the init.d script that our packages include to explicitly export
LIBFFI_TMPDIR if a value is defined. It turned out that if you
configured a value in `/etc/sysconfig/elasticsearch`, that value was
visible to the `elasticsearch` script but not the Elasticsearch Java
process. Explicitly exporting the variable fixes this problem.
@pugnascotia pugnascotia added >bug :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts v7.16.0 labels Nov 17, 2021
@elasticmachine elasticmachine added the Team:Delivery Meta label for Delivery team label Nov 17, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DaveCTurner
Copy link
Contributor

Failure does not look at all related. @elasticmachine please run elasticsearch-ci/bwc

Copy link
Contributor

@mark-vieira mark-vieira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pugnascotia pugnascotia merged commit 7ab138c into elastic:7.16 Nov 17, 2021
@pugnascotia pugnascotia deleted the fix-libffi-on-centos6-7.16 branch November 17, 2021 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts Team:Delivery Meta label for Delivery team v7.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants