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