Git Product home page Git Product logo

Comments (8)

markelliot avatar markelliot commented on September 22, 2024

Yeah, we can do something different here.

from sls-packaging.

schlosna avatar schlosna commented on September 22, 2024

For Cassandra and ES you also need to set jna.tmpdir (similar to java.io.tmpdir), but might want them to be different, in which case you'd need to also create that a directory that is readable, writable, and executable (and isn't mounted with noexec as some /tmp/ or /var/tmp/ may be).

@tpetracca for SA

https://docs.datastax.com/en/landing_page/doc/landing_page/troubleshooting/DSE/noWriteTmpDir.html and elastic/elasticsearch#18272 for background

from sls-packaging.

quellkot avatar quellkot commented on September 22, 2024

It's not clear to me that gjd should create var/data and var/data/tmp at all?
If we do create them, then do we agree that they should always be empty?

(this was uschi2000/robert with a different account)

from sls-packaging.

schlosna avatar schlosna commented on September 22, 2024

Not sure what the state of SLS spec is, but I'd propose that GJD should create the minimum expected directory structure with appropriate permissioning, to include var/data/ and var/tmp/ (to be consistent with Linux filesystem hierarchy standards http://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/var.html )

from sls-packaging.

uschi2000 avatar uschi2000 commented on September 22, 2024

Hmm. I think it's generally safer to be explicit in your application: if you're expecting to write to var/data then you should make sure the directory exist and optionally create it if not. var is guaranteed to exist as per SLS.

from sls-packaging.

j-baker avatar j-baker commented on September 22, 2024

@uschi2000 you have to choose between either not setting java.io.tmpdir or making sure that the directory you set it to exists. Otherwise when any part of java tries to create a temporary file, it'll crash.

from sls-packaging.

quellkot avatar quellkot commented on September 22, 2024

Ah, yes I forgot about the tmpdir setting. Cool you're right.

On Sun, Sep 11, 2016, 06:13 James Baker [email protected] wrote:

@uschi2000 https://github.com/uschi2000 you have to choose between
either not setting java.io.tmpdir or making sure that the directory you set
it to exists. Otherwise when any part of java tries to create a temporary
file, it'll crash.


You are receiving this because you commented.

Reply to this email directly, view it on GitHub
#114 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AS4-yp5Cmxm7eYdxzUka2fuFcmYGtAkMks5qo_6TgaJpZM4J2r_I
.

from sls-packaging.

uschi2000 avatar uschi2000 commented on September 22, 2024

fixed by #119

from sls-packaging.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.