You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# User can specify an sname without @hostname
# This will fail when creating remote shell
# So here we check for @ and add @hostname if missing
case "${NAME}" in
*@*) ;; # Nothing to do
*) NAME=${NAME}@$(relx_get_nodename);; # Add @hostname
esac
# Export the variable so that it's available in the 'eval' calls
export NAME
# create a variable of just the hostname part of the nodename
RELX_HOSTNAME=$(echo "${NAME}" | cut -d'@' -f2)
test -z "$PIPE_DIR" && PIPE_BASE_DIR='/tmp/erl_pipes/'
PIPE_DIR="${PIPE_DIR:-/tmp/erl_pipes/$NAME/}"
cd "$ROOTDIR"
The text was updated successfully, but these errors were encountered:
If I'm reading the output right it seems there is a bug in the script, it is not properly exit'ing when relx_get_nodename fails, but instead setting the nodename to be the error message?
But the other issue looks like it can't read the beam files? You are trying to run the release as root?
When using
-sname node0
without hostname in vm.args and run relbin under sudo,script's fun
relx_get_nodename
fails with inconsistent CWD:line 700:
The text was updated successfully, but these errors were encountered: