From 59152b557cfdb2d9071d07f9e45dc49e84bdd803 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sun, 7 Jan 2024 15:18:52 +0100 Subject: [PATCH] keventd: remove runlevels 0 and 6 The responsibility of the kernel event daemon is to relay kernel events to Finit. At shutdown and reboot it is too late for more events and the daemon should just shut down with other services. Signed-off-by: Joachim Wiberg --- src/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index b2f41db8..a01adbf5 100644 --- a/src/conf.c +++ b/src/conf.c @@ -1617,7 +1617,7 @@ int conf_init(uev_ctx_t *ctx) * Start kernel event daemon as soon as possible, if enabled */ if (whichp(FINIT_EXECPATH_ "/keventd")) - conf_save_service(SVC_TYPE_SERVICE, "[S0123456789] cgroup.init notify:none " + conf_save_service(SVC_TYPE_SERVICE, "[S12345789] cgroup.init notify:none " FINIT_EXECPATH_ "/keventd -- Finit kernel event daemon", "keventd.conf"); dbg("Allow plugins to register early runlevel 1 run/task/services ...");