3 This is a bug-fix release.
5 * Fixed group not being set correctly when "run-as" or "socket-uid" were used.
6 * Fixed "dinitctl rm-dep" command
7 * Fixed bug preventing shutdown when auto-restart services were configured
8 * Fixed smooth recovery of bgprocess services
12 This is a bug-fix release.
14 * Fixed crash on service load error.
15 * Fixed an unchecked allocation leading to possible unexpected termination.
16 * Fixed a slow memory leak (in the bundled Dasynq library).
17 * Fixed --help option for "dinitcheck" not working.
18 * Fixed badly formatted error message from process launch failure.
19 * Fixed issue where log file would not always be flushed on exit.
20 * Fixed "dinitcheck" crashing if service description could not be found.
24 This release includes major usability features.
26 * New command "dinitcheck" checks service descriptions for errors (without attempting to load
27 or start the service). Checks the named service(s) and any dependencies.
28 * Service descriptions can now be reloaded, using "dinitctl reload <service-name>". This works
29 for services which are started, with some restrictions, and for services which are stopped,
30 and allows dependencies to be altered.
31 * dinitctl now defaults to the system process socket location when run as root. This means that
32 using '-s' is no longer necessary (it is still supported for backwards compatibility). A new
33 '-u' option can be used to communicate with the user daemon, if there is one.
37 This release adds a minor feature, and includes a re-work of some base functionality
38 (which should not affect most use cases).
40 * dinitctl "restart" command added. Re-starts an already-running service without affecting
41 activation or dependency links.
42 * dinitctl "stop" command now requires a `--force` option if dependents of the specified
43 service would also need to stop.
44 * dinitctl "wake" command now reconnects dependency links from dependents of the specified
45 service, and can only be used if at least one such dependent is started.
49 This is a bug-fix release with several minor fixes:
51 * Resource limits were not properly being set.
52 * Prevent early termination when standard input is closed or set to a device which cannot
54 * Control protocol fix, possibly not affecting any real usage.
58 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.
73 A number of minor bugfixes and other improvements are also implemented. An integration test
74 framework has been added with a small number of tests, to complement the existing unit tests.
78 This is a bug-fix release for several minor issues which have been found in the preceding
81 * Fix logging failure after log buffer becomes full.
82 * Fix readiness-fd notification not immediately updating service states.
83 * Fix use of old settings in sample configuration for Linux.
84 * Re-create control socket file node if it "disappears". Should solve issues if root filesystem
85 is mounted read-write on boot.
86 * Fix potential issue with service launch failure for services using a fixed notification fd.
90 This is a bug-fix release for several issues of varying severity which have been found in the
93 * Improved logging behaviour when a service runs "on console" for a very short time.
94 * Fix for crash due to SIGALRM on OpenBSD.
95 * Fixes for compiling with Musl C library.
96 * Fix dinitctl "enable" and "disable" commands when path to service directory is absolute.
97 * "termsignal" setting renamed "term-signal" and now supports "KILL" signal. "termsignal"
98 is still supported for compatibility with existing service descriptions.
103 This version adds S6-compatible readiness notification support, and adds support for updating
104 the "utmp" database when services start/stop (this functionality should be avoided if possible
105 since the "utmp" database is mostly an historical artifact, and system support is often prone
106 to issues which allow unprivileged users to prevent updates and deny or delay logins; however,
107 utilities such as "who" may depend on the database being updated appropriately).
110 * Add "-u" command line option to force running dinit as a user instance.
111 * Add a "chain-to" service property to better support recovery services.
112 * Add a "shares-console" service option to allow running services "on the console" without having
113 them own it exclusively.
114 * Add "inittab-id" and "inittab-line" service settings for utmp support.
119 This version focuses on being more "distribution friendly". It adds mechanisms to add and remove
120 dependencies, either temporarily or persistently, between services without manual editing of
121 service description files.
124 * A new service description directive, "waits-for.d", allows specifying a directory for which the
125 contents (filenames) are read as dependencies. This provides a convenient way to add and remove
126 dependencies to service descriptions without editing the textual service description file.
127 * dinitctl has new commands, "add-dep" and "rm-dep", to add or remove a dependency between
128 services. The dependency is not persisted and won't survive a restart. Check the man page for
130 * dinitctl has new commands, "enable" and "disable". These permanently enable/disable
131 a service for some target ("boot" by default) by creating/destroying a symbolic link
132 in the waits-for.d directory specified in the service description (and create/remove
133 waits-for dependency dynamically). Check the man page for details.
134 * A code style guide has been added (in the "doc" directory).
135 * More tests, minor bugfixes.