Merge pull request #15 from fpoussin/crossbuild
[oweals/dinit.git] / NEWS
1 == Version 0.5.2:
2
3 This is a bug-fix release for several minor issues which have been found in the preceding
4 release (0.5.1).
5
6  * Fix logging failure after log buffer becomes full.
7  * Fix readiness-fd notification not immediately updating service states.
8  * Fix use of old settings in sample configuration for Linux.
9  * Re-create control socket file node if it "disappears". Should solve issues if root filesystem
10    is mounted read-write on boot.
11  * Fix potential issue with service launch failure for services using a fixed notification fd. 
12
13 == Version 0.5.1:
14
15 This is a bug-fix release for several issues of varying severity which have been found in the
16 preceding release.
17
18  * Improved logging behaviour when a service runs "on console" for a very short time.
19  * Fix for crash due to SIGALRM on OpenBSD.
20  * Fixes for compiling with Musl C library.
21  * Fix dinitctl "enable" and "disable" commands when path to service directory is absolute.
22  * "termsignal" setting renamed "term-signal" and now supports "KILL" signal. "termsignal"
23    is still supported for compatibility with existing service descriptions.
24  * Other minor fixes.
25
26 == Version 0.5.0:
27
28 This version adds S6-compatible readiness notification support, and adds support for updating
29 the "utmp" database when services start/stop (this functionality should be avoided if possible
30 since the "utmp" database is mostly an historical artifact, and system support is often prone
31 to issues which allow unprivileged users to prevent updates and deny or delay logins; however,
32 utilities such as "who" may depend on the database being updated appropriately). 
33
34 Other changes:
35  * Add "-u" command line option to force running dinit as a user instance.
36  * Add a "chain-to" service property to better support recovery services.
37  * Add a "shares-console" service option to allow running services "on the console" without having
38    them own it exclusively.
39  * Add "inittab-id" and "inittab-line" service settings for utmp support.
40  * Minor bugfixes.
41
42 == Version 0.4.0:
43
44 This version focuses on being more "distribution friendly". It adds mechanisms to add and remove
45 dependencies, either temporarily or persistently, between services without manual editing of
46 service description files.
47
48 Changes:
49  * A new service description directive, "waits-for.d", allows specifying a directory for which the
50    contents (filenames) are read as dependencies. This provides a convenient way to add and remove
51    dependencies to service descriptions without editing the textual service description file. 
52  * dinitctl has new commands, "add-dep" and "rm-dep", to add or remove a dependency between
53    services. The dependency is not persisted and won't survive a restart. Check the man page for
54    details.
55  * dinitctl has new commands, "enable" and "disable". These permanently enable/disable
56    a service for some target ("boot" by default) by creating/destroying a symbolic link
57    in the waits-for.d directory specified in the service description (and create/remove
58    waits-for dependency dynamically). Check the man page for details.
59  * A code style guide has been added (in the "doc" directory).
60  * More tests, minor bugfixes.