NEWS 4.5 KB

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