Moved the OTP MIBs that were included in the application to
the new application OTP_MIBs. The OTP MIBs had no real connection
to SASL and it is desirable that the core of Erlang/OTP is not
dependent on SNMP.
Own Id: OTP-4686
Renamed unused variables so that they begin with an underscore (_).
The lists specifying preloaded and mandatory modules have been
corrected. Boot scripts should be re-generated.
(*** POTENTIAL INCOMPATIBILITY ***)
Added an environment parameter utc_log. If set to
true, all dates in textual log outputs are displayed in
Universal Coordinated Time with the string UTC appended.
sasl_error_logger_type in
application resource file (sasl.app) corrected to
errlog_type.systools_make uses xref for cross
reference checks. The format of the warnings for undefined
functions has been changed.rb no longer ignores faulty
events - it prints the raw terms instead. It also presents
user-generated error_report and info_report
events more nicely.OTP-3998: systools:make_relup/3,4 now generates upgrade
instructions for the applications in start order, instead of in reversed
start order.
OTP-4121: systools:make_script/1,2 now keeps the order
of the release resource file (.rel) also for included
applications.
Own Id: OTP-4123 (OTP-4124)
Aux Id: Seq 5270
code:replace_path/2,
the code:lib_dir/1 function would fail on the new
application name. This has been corrected.release_handler when
install_release fails.add_application and remove_application were broken.restart_application has been added.restart_emulator, has been added to systools:make_relup(). The presence of this options ensures that a complete reboot of the system is done when the system is upgraded or downgraded.behaviour_info/[0,1] have been removed from the module systools.release_handler:install_release/2 takes two more options: code_change_timout overrides the default timeout used while waiting for a module to perform code change; suspend_timeout overrides the timeout supplied by the high-level instruction update or by the low-level instruction suspend. Valid values are integers greater than zero, infinity and default.add_application and remove_application were broken.restart_application has been added.restart_emulator, has been added to systools:make_relup(). The presence of this options ensures that a complete reboot of the system is done when the system is upgraded or downgraded.behaviour_info/[0,1] have been removed from the module systools.release_handler:install_release/2 takes two more options: code_change_timout overrides the default timeout used while waiting for a module to perform code change; suspend_timeout overrides the timeout supplied by the high-level instruction update or by the low-level instruction suspend. Valid values are integers greater than zero, infinity and default.gen_server, gen_event or gen_fsm was compiled, warnings were given for absent call-back functions, except for code_change. Now, a warning is given for absent code_change as well.release_handler:create_RELEASES/4 now handles the new syntax with other restart type than permanent in the .rel file.code_change instruction is extended with explicit support for downgrades.update instruction is extended with information needed for downgrades.local_content property. systools:make_script rb handles unknown reports.erlNodeWallClock counter in OTP-MIB is now a real Counter32 objects; i.e. wraps to 0 when 2^32 is reached.systools:make_script does not sort applications when it is not necessary. The order specified in the .rel file is maintained.sync_nodes could hang forever if one node tried to sync before the other node was ready.appup(4), rel(4), relup(4) and script(4).
systools:make_tar is now a compressed tar file (.tar.gz) on all platforms. systools and release_handler use the new compress functions in erl_tar..rel file. Previously, all applications were started as permanent applications.systools_make.systools:make_script creates the boot script according to new requirements of kernel servers.included_applications, in application resource files (.app). This attribute is used to group a number of applications together. Included applications are not started automatically by the system (they are only loaded), thus this have to be handled by the including application.
Release.rel, can override the included_applications attribute in order to exclude some of the specified (in the .app file) applications.
systools functions with a wildcard. The only supported wildcard is *. * is expanded to the regular expression [^/]*. If a wildcard is the only character between two directory separators it is treated as a place holder for exactly one directory level, i.e. the regular expression [^/]+.
systools functions. A variable name replaces the specified prefix in the generated boot script and tar file.variables option to systools:make_script and systools:make_tar. Use the -boot_var Var Dir command line flag in order to start a system with variables in the boot script.
no_module_tests option excludes the source code tests (parse for version and validity tests of object code) in systools:make_script and systools:make_tar. This option is always set for systools:make_relup. (Speeds up the generation).
systools can generate boot script and tar files for another target Erlang emulator than the current emulator. Use the machine option.
.appup files are only read when absolutely necessary by systools:make_relup.
start_erl script shall not be modified/edited. This script now reads configuration data generated by the release_handler.
start script (used for embedded systems) shall be located in <ERL_INSTALL_DIR>/bin is removed. It is now configurable through the SASL configuration parameter start_prg.
release_handler.
release_handler:
set_unpacked/2set_removed/1install_file/2release_handler now handles diskless nodes (and/or nodes with read-only filesystems).
sys.config is now mandatory, and must be present in all releases.
exref and {exref, [AppName]} added to systools making it possible to perform a simple cross reference check of function calls. Only modules belonging to applications specified in the .rel file are checked.
systools:make_tar) are only compressed on unix systems.
var_tar to systools:make_tar.
rb, rb:show/0 that shows all reports.relup file by systools:make_relup/3 is now parsable by Erlang. The function now also accept an Description parameter for release name lists.systools:make_relup now correctly handles new and obsolete applications in the appup scripts.release_handler_1 has now been included in sasl.app file..rel file does not need to be kernel first.
rb:grep/1.release_handler:remove_release/1 handles non-existing files. When it was called and a file to be removed didn't exist, the release handler process crashed.
...
{modules, [Module | {Module, Vsn}]}
...
Own Id: OTP-1116
systools:make_script, systools:make_relup and systools:make_tar.
overload, an overload regulation process.
errlog_type = error | progress | all to supress logging of certain error report types. Default is all.