From 1eb4df5bfd139cf54c39373637d5e61b0d743814 Mon Sep 17 00:00:00 2001 From: vasilito Date: Sun, 28 Jun 2026 16:20:32 +0300 Subject: [PATCH] config: drop unsupported 'before' field from 12_dbus.service The local init fork's Service struct does not have a 'before' field (it supports cmd, args, envs, inherit_envs, type only), and the deny_unknown_fields attribute makes init panic at boot when it parses 'before': init: /etc/init.d/12_dbus.service: unknown field 'before', expected one of 'cmd', 'args', 'envs', 'inherit_envs', 'type' in 'service' The 'before = [13_redbear-sessiond.service]' line was redundant anyway: 13_redbear-sessiond.service already declares requires_weak = ['12_dbus.service'], which orders it after dbus. Fix both redbear-mini.toml and redbear-full.toml. --- config/redbear-full.toml | 1 - config/redbear-mini.toml | 1 - 2 files changed, 2 deletions(-) diff --git a/config/redbear-full.toml b/config/redbear-full.toml index 805ac2b493..07d0b1b947 100644 --- a/config/redbear-full.toml +++ b/config/redbear-full.toml @@ -227,7 +227,6 @@ requires_weak = [ cmd = "/usr/bin/dbus-daemon" args = ["--system", "--nopidfile", "--address=unix:path=/run/dbus/system_bus_socket"] type = "oneshot_async" -before = ["13_redbear-sessiond.service"] """ [[files]] diff --git a/config/redbear-mini.toml b/config/redbear-mini.toml index 09ae2e24a2..837da38d70 100644 --- a/config/redbear-mini.toml +++ b/config/redbear-mini.toml @@ -359,7 +359,6 @@ cmd = "dbus-daemon" args = ["--system", "--nopidfile", "--address=unix:path=/run/dbus/system_bus_socket"] envs = { DBUS_SYSTEM_BUS_ADDRESS = "unix:path=/run/dbus/system_bus_socket" } type = "oneshot_async" -before = ["13_redbear-sessiond.service"] """ [[files]]