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

full tmp dir prevents server from reading server.env during startup #4132

Closed
jkleinlercher opened this issue Jun 27, 2018 · 0 comments · Fixed by #5286
Closed

full tmp dir prevents server from reading server.env during startup #4132

jkleinlercher opened this issue Jun 27, 2018 · 0 comments · Fixed by #5286
Assignees
Labels
in:Kernel/Bootstrap Needs member attention release bug This bug is present in a released version of Open Liberty release-18.0.0.4

Comments

@jkleinlercher
Copy link

If /tmp directory is full and you want to start a server, the server starts but with wrong environment vars. during startup you see exceptions like this:

wlp/bin/server: line 161: cannot create temp file for here document: No space left on device

According to the return code server started successfully which is almost true (according to messages.log) and "server status" command also says "server is running". However, the server initializes without the given server.env which could result in a wrong behaviour of the application. Think what happens if you put db-connection-urls / usernames etc. in the server.env and they aren't available. In the worst case the application switches to some default "developer environment" behaviour in production ...

You could easily recreate this problem just with a full /tmp directory.

@aguibert aguibert added release bug This bug is present in a released version of Open Liberty in:Kernel/Bootstrap labels Jun 27, 2018
@hibell hibell self-assigned this Aug 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in:Kernel/Bootstrap Needs member attention release bug This bug is present in a released version of Open Liberty release-18.0.0.4
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants