2
0

NEWS 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. == Version 0.7.0
  2. This release adds a minor feature, and includes a re-work of some base functionality
  3. (which should not affect most use cases).
  4. * dinitctl "restart" command added. Re-starts an already-running service without affecting
  5. activation or dependency links.
  6. * dinitctl "stop" command now requires a `--force` option if dependents of the specified
  7. service would also need to stop.
  8. * dinitctl "wake" command now reconnects dependency links from dependents of the specified
  9. service, and can only be used if at least one such dependent is started.
  10. == Version 0.6.1:
  11. This is a bug-fix release with several minor fixes:
  12. * Resource limits were not properly being set.
  13. * Prevent early termination when standard input is closed or set to a device which cannot
  14. be watched for input.
  15. * Control protocol fix, possibly not affecting any real usage.
  16. == Version 0.6.0:
  17. This release adds a number of minor features:
  18. * Better behaviour when boot fails. User can choose an action from reboot, resume boot process,
  19. start the "recovery" service, or power-off.
  20. * New service settings for limiting resources at the process level: "rlimit-nofile",
  21. "rlimit-core", "rlimit-data", "rlimit-addrspace". Both hard and soft limits can be set.
  22. See dinit-service(5) for details.
  23. * New "env-file" setting allows per-setting environment to be specified via a file. The file
  24. is re-read each time the service process is started.
  25. * Added a "--quiet" option to suppress console output from Dinit.
  26. * Dinit when run as a user daemon no longer logs via syslog. Logging to file can still be
  27. enabled via the "-l"/"--log-file" option.
  28. * Added a "--socket-path"/"-p" option to dinitctl, to specify the socket path for communication
  29. with the dinit daemon.
  30. A number of minor bugfixes and other improvements are also implemented. An integration test
  31. framework has been added with a small number of tests, to complement the existing unit tests.
  32. == Version 0.5.2:
  33. This is a bug-fix release for several minor issues which have been found in the preceding
  34. release (0.5.1).
  35. * Fix logging failure after log buffer becomes full.
  36. * Fix readiness-fd notification not immediately updating service states.
  37. * Fix use of old settings in sample configuration for Linux.
  38. * Re-create control socket file node if it "disappears". Should solve issues if root filesystem
  39. is mounted read-write on boot.
  40. * Fix potential issue with service launch failure for services using a fixed notification fd.
  41. == Version 0.5.1:
  42. This is a bug-fix release for several issues of varying severity which have been found in the
  43. preceding release.
  44. * Improved logging behaviour when a service runs "on console" for a very short time.
  45. * Fix for crash due to SIGALRM on OpenBSD.
  46. * Fixes for compiling with Musl C library.
  47. * Fix dinitctl "enable" and "disable" commands when path to service directory is absolute.
  48. * "termsignal" setting renamed "term-signal" and now supports "KILL" signal. "termsignal"
  49. is still supported for compatibility with existing service descriptions.
  50. * Other minor fixes.
  51. == Version 0.5.0:
  52. This version adds S6-compatible readiness notification support, and adds support for updating
  53. the "utmp" database when services start/stop (this functionality should be avoided if possible
  54. since the "utmp" database is mostly an historical artifact, and system support is often prone
  55. to issues which allow unprivileged users to prevent updates and deny or delay logins; however,
  56. utilities such as "who" may depend on the database being updated appropriately).
  57. Other changes:
  58. * Add "-u" command line option to force running dinit as a user instance.
  59. * Add a "chain-to" service property to better support recovery services.
  60. * Add a "shares-console" service option to allow running services "on the console" without having
  61. them own it exclusively.
  62. * Add "inittab-id" and "inittab-line" service settings for utmp support.
  63. * Minor bugfixes.
  64. == Version 0.4.0:
  65. This version focuses on being more "distribution friendly". It adds mechanisms to add and remove
  66. dependencies, either temporarily or persistently, between services without manual editing of
  67. service description files.
  68. Changes:
  69. * A new service description directive, "waits-for.d", allows specifying a directory for which the
  70. contents (filenames) are read as dependencies. This provides a convenient way to add and remove
  71. dependencies to service descriptions without editing the textual service description file.
  72. * dinitctl has new commands, "add-dep" and "rm-dep", to add or remove a dependency between
  73. services. The dependency is not persisted and won't survive a restart. Check the man page for
  74. details.
  75. * dinitctl has new commands, "enable" and "disable". These permanently enable/disable
  76. a service for some target ("boot" by default) by creating/destroying a symbolic link
  77. in the waits-for.d directory specified in the service description (and create/remove
  78. waits-for dependency dynamically). Check the man page for details.
  79. * A code style guide has been added (in the "doc" directory).
  80. * More tests, minor bugfixes.