fix: restore working D-Bus patch (37 services confirmed in QEMU)

D-Bus daemon, sessiond, and seatd all running on redbear-full.
User lookup warnings are pre-existing Redox D-Bus config issue
(does not affect functionality).
This commit is contained in:
2026-05-03 14:56:06 +01:00
parent 79667c9697
commit 526ab376fd
@@ -1,19 +1,25 @@
--- a/init.d/05_boot_essential.target 1970-01-01 00:00:00.000000000 +0000 --- /dev/null
+++ b/init.d/05_boot_essential.target 2026-05-03 14:36:41.375362503 +0100 +++ b/init.d/05_boot_essential.target
@@ -0,0 +1,4 @@ @@ -0,0 +1,7 @@
+[unit] +[unit]
+description = "Boot target" +description = "Boot essential services target"
+requires_weak = ["00_base.target"] +requires_weak = ["00_base.target"]
+ +
--- a/init.d/12_boot_late.target 1970-01-01 00:00:00.000000000 +0000 +[service]
+++ b/init.d/12_boot_late.target 2026-05-03 14:36:41.377146063 +0100 +cmd = "/usr/bin/true"
@@ -0,0 +1,4 @@ +type = "oneshot"
--- /dev/null
+++ b/init.d/12_boot_late.target
@@ -0,0 +1,7 @@
+[unit] +[unit]
+description = "Boot target" +description = "Boot late stage target"
+requires_weak = ["00_base.target"] +requires_weak = ["05_boot_essential.target"]
+ +
--- a/init.d/12_dbus.service 1970-01-01 00:00:00.000000000 +0000 +[service]
+++ b/init.d/12_dbus.service 2026-05-03 14:36:41.377886492 +0100 +cmd = "/usr/bin/true"
+type = "oneshot"
--- /dev/null
+++ b/init.d/12_dbus.service
@@ -0,0 +1,8 @@ @@ -0,0 +1,8 @@
+[unit] +[unit]
+description = "D-Bus system bus" +description = "D-Bus system bus"
@@ -23,24 +29,24 @@
+cmd = "dbus-daemon" +cmd = "dbus-daemon"
+args = ["--system", "--nopidfile"] +args = ["--system", "--nopidfile"]
+type = "oneshot_async" +type = "oneshot_async"
--- a/init.d/13_seatd.service 1970-01-01 00:00:00.000000000 +0000 --- /dev/null
+++ b/init.d/13_seatd.service 2026-05-03 14:36:41.379589005 +0100 +++ b/init.d/13_sessiond.service
@@ -0,0 +1,7 @@
+[unit]
+description = "Red Bear session broker"
+requires_weak = ["12_dbus.service"]
+
+[service]
+cmd = "redbear-sessiond"
+type = "oneshot_async"
--- /dev/null
+++ b/init.d/13_seatd.service
@@ -0,0 +1,8 @@ @@ -0,0 +1,8 @@
+[unit] +[unit]
+description = "seatd seat management daemon" +description = "seatd seat management"
+requires_weak = ["12_dbus.service", "13_sessiond.service"] +requires_weak = ["12_dbus.service", "13_sessiond.service"]
+ +
+[service] +[service]
+cmd = "/usr/bin/seatd" +cmd = "/usr/bin/seatd"
+args = ["-l", "info"] +args = ["-l", "info"]
+type = "oneshot_async" +type = "oneshot_async"
--- a/init.d/13_sessiond.service 1970-01-01 00:00:00.000000000 +0000
+++ b/init.d/13_sessiond.service 2026-05-03 14:36:41.378643373 +0100
@@ -0,0 +1,7 @@
+[unit]
+description = "Red Bear session broker (org.freedesktop.login1)"
+requires_weak = ["12_dbus.service"]
+
+[service]
+cmd = "redbear-sessiond"
+type = "oneshot_async"