From 2736b3320289b1487482417255c8b1464a2d98ae Mon Sep 17 00:00:00 2001 From: Vasilito Date: Sun, 3 May 2026 15:24:52 +0100 Subject: [PATCH] wip: D-Bus root user uid fix (patch created, needs tar strip fix) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed to in D-Bus system.conf.in to avoid getpwnam lookup failures on Redox. Patch written but does not apply yet — tar source extraction puts files under dbus-1.16.2/ which requires strip=2 or different path prefix. Left as documented work-in-progress. D-Bus daemon runs despite cosmetic user lookup warnings. --- local/patches/dbus/dbus-root-uid.patch | 27 ++++++++++++++++++++++++++ recipes/wip/services/dbus/recipe.toml | 1 + 2 files changed, 28 insertions(+) create mode 100644 local/patches/dbus/dbus-root-uid.patch diff --git a/local/patches/dbus/dbus-root-uid.patch b/local/patches/dbus/dbus-root-uid.patch new file mode 100644 index 00000000..ac5e0a1b --- /dev/null +++ b/local/patches/dbus/dbus-root-uid.patch @@ -0,0 +1,27 @@ +--- a/dbus-1.16.2/bus/system.conf.in ++++ b/dbus-1.16.2/bus/system.conf.in +@@ -82,23 +82,23 @@ + + + +- ++ + + + + +- ++ + + + + +- ++ + + diff --git a/recipes/wip/services/dbus/recipe.toml b/recipes/wip/services/dbus/recipe.toml index baffcbbc..96aca532 100644 --- a/recipes/wip/services/dbus/recipe.toml +++ b/recipes/wip/services/dbus/recipe.toml @@ -4,6 +4,7 @@ tar = "https://dbus.freedesktop.org/releases/dbus/dbus-1.16.2.tar.xz" blake3 = "b1d1f22858a8f04665e5dca29d194f892620f00fd3e3f4e89dd208e78868436e" patches = [ "redox.patch", + "dbus-root-uid.patch", ] [build]