anchor.diff:                  false ->
                       ?RLX_ERROR({config_does_not_exist, ConfigPath});
                   true ->
  -                    copy_or_symlink_config_file(State, ConfigPath, RelSysConfPath)
  +                    %% validate sys.config is valid Erlang terms
  +                    case file:consult(ConfigPath) of
  +                        {ok, _} ->
  +                            copy_or_symlink_config_file(State, ConfigPath, RelSysConfPath);
  +                        {error, Reason} ->
  +                            ?RLX_ERROR({sys_config_parse_error, ConfigPath, Reason})
  +                    end
               end
       end.
   
  
positive.code: format_error({config_does_not_exist, Path}) ->
      io_lib:format("The config file specified for this release (~s) does not exist!",
                    [Path]);
  format_error({specified_erts_does_not_exist, ErtsVersion}) ->
      io_lib:format("Specified version of erts (~s) does not exist",
                    [ErtsVersion]);
  
negative.code:     ReleasesDir = filename:join(OutputDir, "releases"),
      generate_start_erl_data_file(Release, ReleasesDir),
      copy_or_generate_vmargs_file(State, Release, RelDir),
      case copy_or_generate_sys_config_file(State, RelDir) of
          ok ->
              include_erts(State, Release, OutputDir, RelDir);
          E ->
              E
      end.
  
  include_nodetool(BinDir) ->
      NodeToolFile = nodetool_contents(),
  