Skip to content

Commit 438d6b4

Browse files
committed
Document fix of regression from Finit v3.2
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
1 parent 712f68f commit 438d6b4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

ChangeLog.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,23 @@ All relevant changes are documented in this file.
307307
reload, halt, poweroff, suspend. Also, prevent `SIGHUP` and `SIGUSR1`
308308
signals when in shutdown or reboot
309309
* Fix #352: separate runlevel S from runlevel 0
310+
* Fix #355: regression in v3.2 stopping a process and its group
311+
312+
In Finit v3.2 a regression was introduced that affects the way Finit
313+
stops a supervised process and its process group.
314+
315+
Instead of sending SIGTERM to the process, and thus delegating the
316+
responsibility to that process to inform any children it may have, as
317+
of commit 91a9c83 Finit sends SIGTERM to the entire process group.
318+
For SIGKILL this is fine, SIGKILL only runs as cleanup and as a last
319+
ditch effort if the process doesn't respond to SIGTERM.
320+
321+
This regression, introduced in v3.2, directly affects services like
322+
`avahi-autoipd` that have forked off children that it needs to tell to
323+
exit cleanly before it returns. With the patch in question these
324+
children are never allowed to complete, which in turn causes lingering
325+
169.254 link-local addresses on interfaces.
326+
310327
* Fix bootmisc plugin: octal permission on `/run/lock` and `/var/lock`
311328

312329
* Ensure `initctl cond get` support the flux state (exit code 255)

0 commit comments

Comments
 (0)