dbus: notify externals when reconfiguration completes

initctl reload freezes conditions to the old generation and each
owner re-asserts.  Finit's own providers do this in-process; an
external provider whose conditions are generation files, rather than
the oneshot symlinks keventd uses, has no way to know the moment.
Emit Manager1.ConfigReloaded when reconfiguration completes.

keventd needs no subscriber: its conditions are symlinks to the
reconf marker itself, so they read the current generation by
construction and never flux, which the device bus test now pins
down.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2026-08-16 22:03:44 +02:00
1 parent 230c65a080
commit 558c0f8c3b
5 files changed
+23 -1

No files matched your search

+3
View File
@@ -633,6 +633,9 @@ restart:
service_step_all(SVC_TYPE_ANY);
dbg("Reconfiguration done");
#ifdef HAVE_DBUS
dbus_notify_reload();
#endif
sm.state = SM_RUNNING_STATE;
break;
}