From 37457575fbb2d5541daada241bc1f84d4950451f Mon Sep 17 00:00:00 2001 From: Davin McCall Date: Sun, 14 Jul 2019 05:48:32 +0100 Subject: [PATCH] Update version, NEWS, TODO. --- NEWS | 20 ++++++++++++++++++++ README.md | 2 +- TODO | 21 +++++++-------------- src/version.conf | 4 ++-- 4 files changed, 30 insertions(+), 17 deletions(-) diff --git a/NEWS b/NEWS index 0aff951..19fa450 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,23 @@ +== 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 diff --git a/README.md b/README.md index c165eb1..f36e368 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Dinit -v0.5.2 (pre-release) +v0.6.0 (development release) This is the README for Dinit, the service manager and init system. It is intended to provide an overview; For full documentation please check the manual pages. diff --git a/TODO b/TODO index 28319d8..0650afc 100644 --- a/TODO +++ b/TODO @@ -1,21 +1,13 @@ -For version 0.6.0: ------------------- -* Refuse to start new services during shutdown [DONE]. -* On service failure (all services stop when no restart issued), allow user to - interrupt/ctrl+alt+del when they are prompted to press enter, to allow halt/rebooting instead of - re-launching the boot service. [DONE][ even better, you can now choose from several options! ] -* Basic resource limits setting. [DONE, mostly. OpenBSD compilation issues, others need testing]. -* Per-service environment. [DONE]. -* shares_console processes should not be set as foreground process group [DONE] -* Process start failure: track where in the launch process we get failure (i.e. we send errno over a pipe, - we should send a state value as well). - For version 0.7.0: ------------------ * dinitctl: Warn when stopping a service would cause a dependent to stop. Require a force flag to proceed. * dinitctl: implement "restart" command. * provide a way to check configuration for errors (maybe a dinitctl command) - - eg. check a service and all dependencies + - eg. check a service and all dependencies. +* report process launch failure reason (stage & errno) via dinitctl. +* "chain-to" can result in an unbreakable loop if the chain is circular. Chained services should not be + started during shutdown to prevent this (also avoids a race condition where the chained service is left + running when everything else has shutdown). For version 1.0: ---------------- @@ -28,7 +20,8 @@ For version 1.0: about services we are waiting on (or, do this when prompted via ^C or C-A-D). * Documentation must be complete (see section below). * Proper support for socket activation? -* Be able to boot and shutdown Linux and FreeBSD. +* Chaining of service process input/output? +* Be able to boot and shutdown Linux and FreeBSD (or OpenBSD). For later: ---------- diff --git a/src/version.conf b/src/version.conf index 0e2b5d2..b884ce9 100644 --- a/src/version.conf +++ b/src/version.conf @@ -1,4 +1,4 @@ # Included from Makefiles. -VERSION=0.5.2 -MONTH=June +VERSION=0.6.0 +MONTH=July YEAR=2019 -- 2.25.1