X-Git-Url: https://git.librecmc.org/?p=oweals%2Fdinit.git;a=blobdiff_plain;f=NEWS;h=5b9aea9b34c1515f27ecfe8a74f58bb485f2b001;hp=99ef1a5be49b76185d417d6946d1725d309e51bc;hb=HEAD;hpb=638258c4f55503e1b54c26688efcc2b5a314c253 diff --git a/NEWS b/NEWS index 99ef1a5..5b9aea9 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,103 @@ +== Version 0.8.2 + +This is a bug-fix release. + +* Fixed group not being set correctly when "run-as" or "socket-uid" were used. +* Fixed "dinitctl rm-dep" command +* Fixed bug preventing shutdown when auto-restart services were configured +* Fixed smooth recovery of bgprocess services + +== Version 0.8.1 + +This is a bug-fix release. + +* Fixed crash on service load error. +* Fixed an unchecked allocation leading to possible unexpected termination. +* Fixed a slow memory leak (in the bundled Dasynq library). +* Fixed --help option for "dinitcheck" not working. +* Fixed badly formatted error message from process launch failure. +* Fixed issue where log file would not always be flushed on exit. +* Fixed "dinitcheck" crashing if service description could not be found. + +== Version 0.8.0 + +This release includes major usability features. + +* New command "dinitcheck" checks service descriptions for errors (without attempting to load + or start the service). Checks the named service(s) and any dependencies. +* Service descriptions can now be reloaded, using "dinitctl reload ". This works + for services which are started, with some restrictions, and for services which are stopped, + and allows dependencies to be altered. +* dinitctl now defaults to the system process socket location when run as root. This means that + using '-s' is no longer necessary (it is still supported for backwards compatibility). A new + '-u' option can be used to communicate with the user daemon, if there is one. + +== Version 0.7.0 + +This release adds a minor feature, and includes a re-work of some base functionality +(which should not affect most use cases). + + * dinitctl "restart" command added. Re-starts an already-running service without affecting + activation or dependency links. + * dinitctl "stop" command now requires a `--force` option if dependents of the specified + service would also need to stop. + * dinitctl "wake" command now reconnects dependency links from dependents of the specified + service, and can only be used if at least one such dependent is started. + +== Version 0.6.1: + +This is a bug-fix release with several minor fixes: + + * Resource limits were not properly being set. + * Prevent early termination when standard input is closed or set to a device which cannot + be watched for input. + * Control protocol fix, possibly not affecting any real usage. + +== Version 0.6.0: + +This release adds a number of minor features: + + * Better behaviour when boot fails. User can choose an action from reboot, resume boot process, + start the "recovery" service, or power-off. + * New service settings for limiting resources at the process level: "rlimit-nofile", + "rlimit-core", "rlimit-data", "rlimit-addrspace". Both hard and soft limits can be set. + See dinit-service(5) for details. + * New "env-file" setting allows per-setting environment to be specified via a file. The file + is re-read each time the service process is started. + * Added a "--quiet" option to suppress console output from Dinit. + * Dinit when run as a user daemon no longer logs via syslog. Logging to file can still be + enabled via the "-l"/"--log-file" option. + * Added a "--socket-path"/"-p" option to dinitctl, to specify the socket path for communication + with the dinit daemon. + +A number of minor bugfixes and other improvements are also implemented. An integration test +framework has been added with a small number of tests, to complement the existing unit tests. + +== Version 0.5.2: + +This is a bug-fix release for several minor issues which have been found in the preceding +release (0.5.1). + + * Fix logging failure after log buffer becomes full. + * Fix readiness-fd notification not immediately updating service states. + * Fix use of old settings in sample configuration for Linux. + * Re-create control socket file node if it "disappears". Should solve issues if root filesystem + is mounted read-write on boot. + * Fix potential issue with service launch failure for services using a fixed notification fd. + +== Version 0.5.1: + +This is a bug-fix release for several issues of varying severity which have been found in the +preceding release. + + * Improved logging behaviour when a service runs "on console" for a very short time. + * Fix for crash due to SIGALRM on OpenBSD. + * Fixes for compiling with Musl C library. + * Fix dinitctl "enable" and "disable" commands when path to service directory is absolute. + * "termsignal" setting renamed "term-signal" and now supports "KILL" signal. "termsignal" + is still supported for compatibility with existing service descriptions. + * Other minor fixes. + == Version 0.5.0: This version adds S6-compatible readiness notification support, and adds support for updating