Skip to content

Commit a52cc06

Browse files
committed
Version 0.17.1
1 parent 7f1a0d1 commit a52cc06

File tree

4 files changed

+41
-25
lines changed

4 files changed

+41
-25
lines changed

NEWS

Lines changed: 37 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,42 @@
1-
== Version 0.17.1pre (?)
1+
== Version 0.17.1 (beta releas #2)
22

3-
* TBA...
3+
This is a 2nd beta release to follow up from 0.17.0. The changes are mostly minor; they include
4+
some bug fixes, and some behavioural changes, that are listed below; there are also new options
5+
for controlling logging.
46

5-
== Version 0.17.0
7+
New features:
8+
* The console log level, and primary log facility (syslog or logfile) log level, can now be
9+
specified via the new "--console-level" and "--log-level" options. See the documentation
10+
in the dinit(8) man page.
11+
12+
Changes:
13+
* The log file is opened immediately when starting even as a system manager, if possible. This
14+
can make it easier to debug boot issues.
15+
* The working directory for a service is now the directory containing the service description.
16+
This can simplify specifying configuration files/script locations etc. Implemented by
17+
Daniel Kolesa.
18+
* The env-file (environment) path for a service is now relative to the service directory
19+
containing the service description. Implemented by Daniel Kolesa.
20+
* Failure to open the env-file (environment) specified for a service is now treated as a hard
21+
error (and will prevent a service starting). Implemented by Mobin Aydinfar.
22+
23+
Fixes:
24+
* A service that restarted too often, too quickly but which was a dependency of another service
25+
also set to restart did not trigger the restart limit check; this has been fixed.
26+
* Process services with the smooth-recovery option and with readiness notification did not check
27+
that readiness notification was received after a smooth restart.
28+
* Don't report ECONNRESET errors in control connections. These indicate that the client closed
29+
the connection (possibly by terminating) and do not need to be reported. This prevents a
30+
spurious warning on shutdown.
31+
* Give an error when a service is specified as its own output consumer (avoids crash).
32+
Thanks to Mobin Aydinfar.
33+
* A better effort to make the symlink created during a "dinitctl enable" operation actually point
34+
to the enabled service. (This has no effect on operation).
35+
* Various command line switches which require an additional argument (eg -d, -l) now check that
36+
the argument supplied is now empty.
37+
* configure script improvements/fixes by Mobin Aydinfar, and by Roze061
38+
39+
== Version 0.17.0 (beta release #1)
640

741
Thank you to several new sponsors, as well as existing sponsors, for supporting this release.
842
Current sponsors include github users: brentfrow, brazeon, and q66 (Daniel Kolesa, author of

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Dinit
2-
v0.17.1pre (beta release)
2+
v0.17.1 (beta release)
33

44
This is the README for Dinit, the service manager and init system. It is
55
intended to provide an overview; For full documentation please check the manual pages.

TODO

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
For version 0.17:
2-
-----------------
3-
* [DONE] Limit memory use by control connections. Currently clients have command responses queued without
4-
limit; it would be better to stop accepting new commands once a certain amount of response is
5-
buffered.
6-
* [DONE] Externally triggered services (to represent devices etc). Such services will not reach STARTED
7-
state unless the external trigger occurs (eg "dinitctl trigger servicename", details to be
8-
determined).
9-
* [DONE] process input/output chaining (for logging); "log-type = pipe".
10-
* [DONE] Documentation for "log-type = buffer" and "log-type = pipe".
11-
* [DONE] dinitctl command to signal running service process.
12-
* [DONE] "offline" dinitctl enable/disable - i.e. enable or disable a service when dinit isn't running.
13-
14-
151
For version 1.0 (release requirements):
162
---------------------------------------
173
* Be able to boot and shutdown Linux and FreeBSD (or OpenBSD).
@@ -22,9 +8,6 @@ For version 1.0 (release requirements):
228
For later (post 1.0):
239
---------------------
2410
* jails support
25-
* On linux when running with PID != 1, write PID to /proc/sys/kernel/cad_pid so
26-
that we still receive SIGINT from ctrl+alt+del (must be done after /proc is
27-
mounted, possibly could be left to a service script)
2811
* Proper support for socket activation?
2912
* Perhaps need a way to prevent script services from re-starting.
3013
(eg there's no need to mount filesystems twice; there might be various other
@@ -39,8 +22,7 @@ For later (post 1.0):
3922
* When we take down a service or tty session, it would be ideal if we could kill
4023
the whole process tree, not just the leader process (need cgroups or pid
4124
namespace or other mechanism).
42-
* Allow running services with different resource limits, chroot, cgroups,
43-
namespaces (pid/fs/uid), etc
25+
* Allow running services chroot, in namespaces (pid/fs/uid), etc
4426
* Support chaining service output to another process (logger) input; if the
4527
service dies the file descriptor of its stdout isn't closed and is reassigned
4628
when the service is restarted, so that minimal output is lost. [Done!]

build/version.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Included from Makefiles.
2-
VERSION=0.17.1pre
3-
MONTH=August
2+
VERSION=0.17.1
3+
MONTH=November
44
YEAR=2023

0 commit comments

Comments
 (0)