From 3fa498dba2e67c1c97f25b093ec6c36e55023259 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 2 Jan 2023 16:48:51 +0100 Subject: [PATCH] update TODO (cherry picked from commit 6fee784964b2763bd4307181335a433078ba977c) Related: RHEL-6090 --- TODO | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/TODO b/TODO index 66c008bff3..8c67f93f35 100644 --- a/TODO +++ b/TODO @@ -700,17 +700,9 @@ Features: and synthesize initrd from it, and measure it. Signing is not necessary, as microcode does that on its own. Pass as first initrd to kernel. -* Add a new service type very similar to Type=notify, that goes one step - further and extends the protocol to cover reloads. Specifically, SIGHUP will - become the official way to reload, and daemon has to respond with sd_notify() - to report when it starts reloading, and when it is complete reloading. Care - must be taken to remove races from this model. I.e. PID 1 needs to take - CLOCK_MONOTONIC, then send SIGHUP, then wait for at least one RELOADING=1 - message that comes with a newer timestamp, then wait for a READY=1 message. - while we are at it, also maybe extend the logic to require handling of some - specific SIGRT signal for setting debug log level, that carries the level via - the sigqueue() data parameter. With that we extended with minimal logic the - service runtime logic quite substantially. +* Maybe extend the service protocol to support handling of some specific SIGRT + signal for setting service log level, that carries the level via the + sigqueue() data parameter. Enable this via unit file setting. * firstboot: maybe just default to C.UTF-8 locale if nothing is set, so that we don't query this unnecessarily in entirely uninitialized @@ -1738,7 +1730,6 @@ Features: * unit files: - allow port=0 in .socket units - maybe introduce ExecRestartPre= - - add ReloadSignal= for configuring a reload signal to use - implement Register= switch in .socket units to enable registration in Avahi, RPC and other socket registration services. - allow Type=simple with PIDFile=