Hi Andrew - this is just to inform you that an improvement of this behavior has been implemented for the coming R15B01 release. systools now checks that sys.config is readable and consists of erlang terms.<div>Regards</div>
<div>/siri<br><br><div class="gmail_quote">2011/9/14 Siri Hansen <span dir="ltr"><<a href="mailto:erlangsiri@gmail.com">erlangsiri@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Andrew - Thanks for reporting this. I'll look into it.<div>Regards</div><div>/siri<br><br><div class="gmail_quote">2011/9/14 Andrew Gopienko <span dir="ltr"><<a href="mailto:gopienko@gmail.com" target="_blank">gopienko@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><font face="arial, sans-serif"><span style="border-collapse:collapse">If sys.config in release-upgrade-tarball contains non term data you won't see any errors when will do release upgrade</span></font><div>
<font face="arial, sans-serif"><span style="border-collapse:collapse">(release_handler:unpack_release, release_handler:install_release, release_handler:make_permanent).</span></font><div>
<font face="arial, sans-serif"><span style="border-collapse:collapse">But sys.config successfully be copied in releases/VSN and at next restart the node won't be launched.</span></font></div>
<div><font face="arial, sans-serif"><span style="border-collapse:collapse">You will get something like that</span></font></div>
<div><font face="arial, sans-serif"><span style="border-collapse:collapse"><br></span></font></div>
<div><font face="arial, sans-serif"><span style="border-collapse:collapse">Crash dump was written to: erl_crash.dump</span></font></div>
<div><font face="arial, sans-serif"><span style="border-collapse:collapse">could not start kernel pid (application_controller) (error in config file "/.../releases/VSN/sys.config" (1): bad term)</span></font></div>
<div><font face="arial, sans-serif"><span style="border-collapse:collapse"><br></span></font></div><font color="#888888"><div><font face="arial, sans-serif"><span style="border-collapse:collapse"><br></span></font></div>
<div><span style="border-collapse:collapse;font-family:arial,sans-serif">Andrew Gopienko</span></div>
<div><span style="border-collapse:collapse;font-family:arial,sans-serif">Threeline LLC</span></div><div><span style="border-collapse:collapse;font-family:arial,sans-serif"><br>
</span></div>
</font></div>
<br></div></div>_______________________________________________<br>
erlang-bugs mailing list<br>
<a href="mailto:erlang-bugs@erlang.org" target="_blank">erlang-bugs@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-bugs" target="_blank">http://erlang.org/mailman/listinfo/erlang-bugs</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>