erlware / relx

Sane, simple release creation for Erlang
http://erlware.github.io/relx
Apache License 2.0
697 stars 232 forks source link

pass vm_args to escript broken all command when use "-kernel inet_dist_listen_min 46808 inet_dist_listen_max 46808" #681

Open helloyan opened 5 years ago

helloyan commented 5 years ago

it will add "-kernel inet_dist_listen_min 46808 inet_dist_listen_max 46808" to nodetool script, all command went wrong with
Protocol 'inet_tcp': register/listen error: eaddrinuse escript: exception error: no match of right hand side value {error, {{shutdown, {failed_to_start_child,net_kernel, {'EXIT',nodistribution}}}, {child,undefined,net_sup_dynamic, {erl_distribution,start_link, [['cr_maint_9420@dc_master.xxx.com', longnames], false]}, permanent,1000,supervisor, [erl_distribution]}}}

helloyan commented 5 years ago

the last can use relx version was 3.24.4 and rebar3 was 60364fc617b961f619adda56927dca7e8bebeb5a

tsloughter commented 5 years ago

@helloyan is this still a problem? May want to try master. I also plan to make a release that will be included in rebar3