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

Force java.io.tmpdir = /tmp for native executable #4327

Merged
merged 1 commit into from
Oct 3, 2019

Conversation

oztimpower
Copy link
Contributor

The only writeable folder for Amazon Lambda is /tmp.

vert.x upon startup attempts to create [tmpdir]/vertx-cache, which for the native executable is pointing to a readonly folder (/var/tmp) and not /tmp.

By modifying the bootstrap script it will force the native executable to use the correct java.io.tmpdir=/tmp, and the vertx-cache folder can be created.

…e to address vertx-cache folder creation problem
@stuartwdouglas
Copy link
Member

Should this be done for the JVM part of the script as well?

@geoand
Copy link
Contributor

geoand commented Oct 2, 2019

@cescoffier you were looking into this IIRC?

@cescoffier
Copy link
Member

@geoand yes it's a more general issue where we may have to pass the tmp directory in a lots of deployment.

@cescoffier cescoffier merged commit edc9cea into quarkusio:master Oct 3, 2019
@gsmet gsmet changed the title Issue #4254 Force java.io.tmpdir = /tmp for native executable Force java.io.tmpdir = /tmp for native executable Oct 8, 2019
@gsmet gsmet added this to the 0.24.0 milestone Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants