From c3ba15045b4336d3520dbeb068b68eafdf54e6c3 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Mon, 27 Mar 2023 14:27:52 +0200 Subject: [PATCH] plugins: let dbus start as soon as possible Some services (openresolv) tries to talk to it very early, so lets get dbus up and running as soon as possible. Signed-off-by: Joachim Wiberg --- plugins/dbus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/dbus.c b/plugins/dbus.c index a7feae36..16485feb 100644 --- a/plugins/dbus.c +++ b/plugins/dbus.c @@ -149,11 +149,11 @@ static void setup(void *arg) * Note: dbus drops privs after starting up. */ if (pidfn) { - snprintf(line, sizeof(line), "[123456789] cgroup.system name:dbus pid:!%s %s %s -- %s", + snprintf(line, sizeof(line), "[S123456789] cgroup.system name:dbus pid:!%s %s %s -- %s", pidfn, cmd, DBUS_ARGS, DBUS_DESC); free(pidfn); } else - snprintf(line, sizeof(line), "[123456789] cgroup.system name:dbus %s %s -- %s", + snprintf(line, sizeof(line), "[S123456789] cgroup.system name:dbus %s %s -- %s", cmd, DBUS_ARGS, DBUS_DESC); if (service_register(SVC_TYPE_SERVICE, line, global_rlimit, NULL))