-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
bugIssue is reported as a bugIssue is reported as a bugteam:VMAssigned to OTP team VMAssigned to OTP team VM
Description
Describe the bug
The start script fails to start an embedded system.
To Reproduce
$ kubectl run -t -i erlang --image=erlang -- bash
root@erlang:/# /usr/local/lib/erlang/bin/start
root@erlang:/# run_erl[14]: errno=2 'No such file or directory'
Can't access log directory '/usr/local/lib/erlang/log'Expected behavior
The provided start script should be a working example of starting an embedded system.
Affected versions
All? Tested with erlang:latest (28.1.0.0) and erlang:24.
Additional context
The first problem above is that an installation does not create the $ROOTDIR/log directory.
An additional problem is that even if that directory did exist it may not be writable and would not be an expected location for log files.
A solution may be to replace $ROOTDIR/log with /var/log.
Metadata
Metadata
Assignees
Labels
bugIssue is reported as a bugIssue is reported as a bugteam:VMAssigned to OTP team VMAssigned to OTP team VM