NEWS 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. == Version 0.9.1
  2. This is a bug-fix release.
  3. * Fix a service getting stuck in the "stopping" state, if a dependent is
  4. set to auto-restart ("restart = true").
  5. == Version 0.9.0
  6. This release includes some new functionality and a rework of the chain-load
  7. mechanism.
  8. * The service specified via the "chain-to" setting will now only be started
  9. if the initiating service completes successfully, i.e. if it terminates
  10. normally (with an exit code of 0) and only if it is not manually stopped.
  11. * New option "--container" (-o) inhibits system management functions (such
  12. as machine shutdown/restart) that are normally enabled when dinit runs as
  13. process ID 1. A complementary "--system-mgr" (-m) option enables system
  14. management (even when not running as PID 1).
  15. * Fixed pinned-started services stopping when released by a dependent
  16. service, instead of remaining in the started state, and some other bugs
  17. related to pinning. Some issues may remain to be fixed in a later release.
  18. == Version 0.8.2
  19. This is a bug-fix release.
  20. * Fixed group not being set correctly when "run-as" or "socket-uid" were used.
  21. * Fixed "dinitctl rm-dep" command
  22. * Fixed bug preventing shutdown when auto-restart services were configured
  23. * Fixed smooth recovery of bgprocess services
  24. == Version 0.8.1
  25. This is a bug-fix release.
  26. * Fixed crash on service load error.
  27. * Fixed an unchecked allocation leading to possible unexpected termination.
  28. * Fixed a slow memory leak (in the bundled Dasynq library).
  29. * Fixed --help option for "dinitcheck" not working.
  30. * Fixed badly formatted error message from process launch failure.
  31. * Fixed issue where log file would not always be flushed on exit.
  32. * Fixed "dinitcheck" crashing if service description could not be found.
  33. == Version 0.8.0
  34. This release includes major usability features.
  35. * New command "dinitcheck" checks service descriptions for errors (without attempting to load
  36. or start the service). Checks the named service(s) and any dependencies.
  37. * Service descriptions can now be reloaded, using "dinitctl reload <service-name>". This works
  38. for services which are started, with some restrictions, and for services which are stopped,
  39. and allows dependencies to be altered.
  40. * dinitctl now defaults to the system process socket location when run as root. This means that
  41. using '-s' is no longer necessary (it is still supported for backwards compatibility). A new
  42. '-u' option can be used to communicate with the user daemon, if there is one.
  43. == Version 0.7.0
  44. This release adds a minor feature, and includes a re-work of some base functionality
  45. (which should not affect most use cases).
  46. * dinitctl "restart" command added. Re-starts an already-running service without affecting
  47. activation or dependency links.
  48. * dinitctl "stop" command now requires a `--force` option if dependents of the specified
  49. service would also need to stop.
  50. * dinitctl "wake" command now reconnects dependency links from dependents of the specified
  51. service, and can only be used if at least one such dependent is started.
  52. == Version 0.6.1:
  53. This is a bug-fix release with several minor fixes:
  54. * Resource limits were not properly being set.
  55. * Prevent early termination when standard input is closed or set to a device which cannot
  56. be watched for input.
  57. * Control protocol fix, possibly not affecting any real usage.
  58. == Version 0.6.0:
  59. This release adds a number of minor features:
  60. * Better behaviour when boot fails. User can choose an action from reboot, resume boot process,
  61. start the "recovery" service, or power-off.
  62. * New service settings for limiting resources at the process level: "rlimit-nofile",
  63. "rlimit-core", "rlimit-data", "rlimit-addrspace". Both hard and soft limits can be set.
  64. See dinit-service(5) for details.
  65. * New "env-file" setting allows per-setting environment to be specified via a file. The file
  66. is re-read each time the service process is started.
  67. * Added a "--quiet" option to suppress console output from Dinit.
  68. * Dinit when run as a user daemon no longer logs via syslog. Logging to file can still be
  69. enabled via the "-l"/"--log-file" option.
  70. * Added a "--socket-path"/"-p" option to dinitctl, to specify the socket path for communication
  71. with the dinit daemon.
  72. A number of minor bugfixes and other improvements are also implemented. An integration test
  73. framework has been added with a small number of tests, to complement the existing unit tests.
  74. == Version 0.5.2:
  75. This is a bug-fix release for several minor issues which have been found in the preceding
  76. release (0.5.1).
  77. * Fix logging failure after log buffer becomes full.
  78. * Fix readiness-fd notification not immediately updating service states.
  79. * Fix use of old settings in sample configuration for Linux.
  80. * Re-create control socket file node if it "disappears". Should solve issues if root filesystem
  81. is mounted read-write on boot.
  82. * Fix potential issue with service launch failure for services using a fixed notification fd.
  83. == Version 0.5.1:
  84. This is a bug-fix release for several issues of varying severity which have been found in the
  85. preceding release.
  86. * Improved logging behaviour when a service runs "on console" for a very short time.
  87. * Fix for crash due to SIGALRM on OpenBSD.
  88. * Fixes for compiling with Musl C library.
  89. * Fix dinitctl "enable" and "disable" commands when path to service directory is absolute.
  90. * "termsignal" setting renamed "term-signal" and now supports "KILL" signal. "termsignal"
  91. is still supported for compatibility with existing service descriptions.
  92. * Other minor fixes.
  93. == Version 0.5.0:
  94. This version adds S6-compatible readiness notification support, and adds support for updating
  95. the "utmp" database when services start/stop (this functionality should be avoided if possible
  96. since the "utmp" database is mostly an historical artifact, and system support is often prone
  97. to issues which allow unprivileged users to prevent updates and deny or delay logins; however,
  98. utilities such as "who" may depend on the database being updated appropriately).
  99. Other changes:
  100. * Add "-u" command line option to force running dinit as a user instance.
  101. * Add a "chain-to" service property to better support recovery services.
  102. * Add a "shares-console" service option to allow running services "on the console" without having
  103. them own it exclusively.
  104. * Add "inittab-id" and "inittab-line" service settings for utmp support.
  105. * Minor bugfixes.
  106. == Version 0.4.0:
  107. This version focuses on being more "distribution friendly". It adds mechanisms to add and remove
  108. dependencies, either temporarily or persistently, between services without manual editing of
  109. service description files.
  110. Changes:
  111. * A new service description directive, "waits-for.d", allows specifying a directory for which the
  112. contents (filenames) are read as dependencies. This provides a convenient way to add and remove
  113. dependencies to service descriptions without editing the textual service description file.
  114. * dinitctl has new commands, "add-dep" and "rm-dep", to add or remove a dependency between
  115. services. The dependency is not persisted and won't survive a restart. Check the man page for
  116. details.
  117. * dinitctl has new commands, "enable" and "disable". These permanently enable/disable
  118. a service for some target ("boot" by default) by creating/destroying a symbolic link
  119. in the waits-for.d directory specified in the service description (and create/remove
  120. waits-for dependency dynamically). Check the man page for details.
  121. * A code style guide has been added (in the "doc" directory).
  122. * More tests, minor bugfixes.