[erlang-bugs] Check sys.config in release_handler

Siri Hansen erlangsiri@REDACTED
Wed Dec 21 14:59:20 CET 2011


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.
Regards
/siri

2011/9/14 Siri Hansen <erlangsiri@REDACTED>

> Hi Andrew - Thanks for reporting this. I'll look into it.
> Regards
> /siri
>
> 2011/9/14 Andrew Gopienko <gopienko@REDACTED>
>
>> If sys.config in release-upgrade-tarball contains non term data you won't
>> see any errors when will do release upgrade
>> (release_handler:unpack_release, release_handler:install_release,
>> release_handler:make_permanent).
>> But sys.config successfully be copied in releases/VSN and at next restart
>> the node won't be launched.
>> You will get something like that
>>
>> Crash dump was written to: erl_crash.dump
>> could not start kernel pid (application_controller) (error in config file
>> "/.../releases/VSN/sys.config" (1): bad term)
>>
>>
>> Andrew Gopienko
>> Threeline LLC
>>
>>
>> _______________________________________________
>> erlang-bugs mailing list
>> erlang-bugs@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-bugs
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20111221/cdbbd587/attachment.htm>


More information about the erlang-bugs mailing list